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_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[83]
2550 #define SWIGTYPE_p_wxNativeFontInfo swig_types[84]
2551 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNcPaintEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNotifyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPaintDC swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPalette swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPen swig_types[97]
2564 #define SWIGTYPE_p_wxPenList swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPostScriptDC swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrinterDC swig_types[102]
2569 #define SWIGTYPE_p_wxPseudoDC swig_types[103]
2570 #define SWIGTYPE_p_wxPyApp swig_types[104]
2571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[107]
2574 #define SWIGTYPE_p_wxPyImageHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPySizer swig_types[109]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[110]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[111]
2578 #define SWIGTYPE_p_wxRect swig_types[112]
2579 #define SWIGTYPE_p_wxRegion swig_types[113]
2580 #define SWIGTYPE_p_wxRegionIterator swig_types[114]
2581 #define SWIGTYPE_p_wxRendererNative swig_types[115]
2582 #define SWIGTYPE_p_wxRendererVersion swig_types[116]
2583 #define SWIGTYPE_p_wxScreenDC swig_types[117]
2584 #define SWIGTYPE_p_wxScrollEvent swig_types[118]
2585 #define SWIGTYPE_p_wxScrollWinEvent swig_types[119]
2586 #define SWIGTYPE_p_wxSetCursorEvent swig_types[120]
2587 #define SWIGTYPE_p_wxShowEvent swig_types[121]
2588 #define SWIGTYPE_p_wxSize swig_types[122]
2589 #define SWIGTYPE_p_wxSizeEvent swig_types[123]
2590 #define SWIGTYPE_p_wxSizer swig_types[124]
2591 #define SWIGTYPE_p_wxSizerItem swig_types[125]
2592 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[126]
2593 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[127]
2594 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[128]
2595 #define SWIGTYPE_p_wxStockGDI swig_types[129]
2596 #define SWIGTYPE_p_wxString swig_types[130]
2597 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[131]
2598 #define SWIGTYPE_p_wxTIFFHandler swig_types[132]
2599 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[133]
2600 #define SWIGTYPE_p_wxValidator swig_types[134]
2601 #define SWIGTYPE_p_wxWindow swig_types[135]
2602 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[136]
2603 #define SWIGTYPE_p_wxWindowDC swig_types[137]
2604 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[138]
2605 #define SWIGTYPE_p_wxXPMHandler swig_types[139]
2606 static swig_type_info
*swig_types
[141];
2607 static swig_module_info swig_module
= {swig_types
, 140, 0, 0, 0, 0};
2608 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2609 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2611 /* -------- TYPES TABLE (END) -------- */
2613 #if (PY_VERSION_HEX <= 0x02000000)
2614 # if !defined(SWIG_PYTHON_CLASSIC)
2615 # error "This python version requires to use swig with the '-classic' option"
2618 #if (PY_VERSION_HEX <= 0x02020000)
2619 # error "This python version requires to use swig with the '-nomodern' option"
2621 #if (PY_VERSION_HEX <= 0x02020000)
2622 # error "This python version requires to use swig with the '-nomodernargs' option"
2625 # error "This python version requires to use swig with the '-nofastunpack' option"
2628 /*-----------------------------------------------
2629 @(target):= _gdi_.so
2630 ------------------------------------------------*/
2631 #define SWIG_init init_gdi_
2633 #define SWIG_name "_gdi_"
2635 #define SWIGVERSION 0x010329
2638 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2639 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2642 #include <stdexcept>
2646 class PyObject_ptr
{
2651 PyObject_ptr() :_obj(0)
2655 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2660 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2662 if (initial_ref
) Py_XINCREF(_obj
);
2665 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2667 Py_XINCREF(item
._obj
);
2678 operator PyObject
*() const
2683 PyObject
*operator->() const
2692 struct PyObject_var
: PyObject_ptr
{
2693 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2695 PyObject_var
& operator = (PyObject
* obj
)
2705 #include "wx/wxPython/wxPython.h"
2706 #include "wx/wxPython/pyclasses.h"
2709 static const wxString
wxPyEmptyString(wxEmptyString
);
2711 #define SWIG_From_long PyInt_FromLong
2714 SWIGINTERNINLINE PyObject
*
2715 SWIG_From_int (int value
)
2717 return SWIG_From_long (value
);
2723 # define LLONG_MIN LONG_LONG_MIN
2726 # define LLONG_MAX LONG_LONG_MAX
2729 # define ULLONG_MAX ULONG_LONG_MAX
2734 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2736 if (PyNumber_Check(obj
)) {
2737 if (val
) *val
= PyInt_AsLong(obj
);
2740 return SWIG_TypeError
;
2745 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2748 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2749 return SWIG_TypeError
;
2752 *val
= (unsigned long)v
;
2758 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2761 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2762 if (SWIG_IsOK(res
)) {
2763 if ((v
> UCHAR_MAX
)) {
2764 return SWIG_OverflowError
;
2766 if (val
) *val
= static_cast< unsigned char >(v
);
2773 SWIGINTERNINLINE PyObject
*
2774 SWIG_From_unsigned_SS_long (unsigned long value
)
2776 return (value
> LONG_MAX
) ?
2777 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2781 SWIGINTERNINLINE PyObject
*
2782 SWIG_From_unsigned_SS_char (unsigned char value
)
2784 return SWIG_From_unsigned_SS_long (value
);
2787 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2788 wxColour temp
, *obj
= &temp
;
2789 if ( other
== Py_None
) return false;
2790 if ( ! wxColour_helper(other
, &obj
) ) {
2794 return self
->operator==(*obj
);
2796 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2797 wxColour temp
, *obj
= &temp
;
2798 if ( other
== Py_None
) return true;
2799 if ( ! wxColour_helper(other
, &obj
)) {
2803 return self
->operator!=(*obj
);
2805 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2806 PyObject
* rv
= PyTuple_New(3);
2812 green
= self
->Green();
2813 blue
= self
->Blue();
2815 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2816 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2817 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2820 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2821 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2825 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2828 int res
= SWIG_AsVal_long (obj
, &v
);
2829 if (SWIG_IsOK(res
)) {
2830 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2831 return SWIG_OverflowError
;
2833 if (val
) *val
= static_cast< int >(v
);
2839 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2841 int count
= self
->GetDashes(&dashes
);
2842 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2843 PyObject
* retval
= PyList_New(0);
2844 for (int x
=0; x
<count
; x
++) {
2845 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2846 PyList_Append(retval
, pyint
);
2849 wxPyEndBlockThreads(blocked
);
2852 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2853 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 int size
= PyList_Size(pyDashes
);
2855 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2857 // black magic warning! The array of wxDashes needs to exist as
2858 // long as the pen does because wxPen does not copy the array. So
2859 // stick a copy in a Python string object and attach it to _self,
2860 // and then call SetDashes with a pointer to that array. Then
2861 // when the Python pen object is destroyed the array will be
2863 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2864 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2866 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2868 Py_DECREF(strDashes
);
2869 wxPyEndBlockThreads(blocked
);
2871 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2872 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2874 #include <wx/image.h>
2876 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2877 char** cArray
= NULL
;
2880 if (!PyList_Check(listOfStrings
)) {
2881 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2884 count
= PyList_Size(listOfStrings
);
2885 cArray
= new char*[count
];
2887 for(int x
=0; x
<count
; x
++) {
2888 // TODO: Need some validation and error checking here
2889 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2895 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2896 char** cArray
= NULL
;
2899 cArray
= ConvertListOfStrings(listOfStrings
);
2902 bmp
= new wxBitmap(cArray
);
2906 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2909 PyString_AsStringAndSize(bits
, &buf
, &length
);
2910 return new wxBitmap(buf
, width
, height
, depth
);
2912 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2913 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2914 wxSize
size(self
->GetWidth(), self
->GetHeight());
2917 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2918 wxMask
*mask
= new wxMask(*self
, colour
);
2919 self
->SetMask(mask
);
2921 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2922 self
->SetWidth(size
.x
);
2923 self
->SetHeight(size
.y
);
2925 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2926 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2927 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2929 return new wxMask(bitmap
, *wxBLACK
);
2931 return new wxMask(bitmap
, colour
);
2934 #include <wx/iconbndl.h>
2936 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2937 wxIcon
* icon
= new wxIcon();
2938 icon
->CopyFromBitmap(bmp
);
2941 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2942 char** cArray
= NULL
;
2945 cArray
= ConvertListOfStrings(listOfStrings
);
2948 icon
= new wxIcon(cArray
);
2952 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2953 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2955 return new wxIconLocation(*filename
, num
);
2960 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2962 self
->SetIndex(num
);
2967 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2969 return self
->GetIndex();
2974 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2976 wxImage
img(cursorName
, type
);
2977 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2978 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2979 return new wxCursor(img
);
2981 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2984 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2987 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2990 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2991 return self
->operator bool();
2994 #include <wx/fontutil.h>
2995 #include <wx/fontmap.h>
2996 #include <wx/fontenum.h>
3000 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3002 if (obj
== Py_True
) {
3003 if (val
) *val
= true;
3005 } else if (obj
== Py_False
) {
3006 if (val
) *val
= false;
3010 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3011 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3016 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3017 return self
->ToString();
3020 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3021 { wxPyRaiseNotImplemented(); return NULL
; }
3023 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3024 { wxPyRaiseNotImplemented(); return false; }
3027 SWIGINTERNINLINE PyObject
*
3028 SWIG_From_size_t (size_t value
)
3030 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3034 SWIGINTERNINLINE
int
3035 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3038 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3039 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3043 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3044 wxFontEncoding alt_enc
;
3045 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3046 return PyInt_FromLong(alt_enc
);
3052 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3053 wxNativeFontInfo nfi
;
3054 nfi
.FromString(info
);
3055 return new wxFont(nfi
);
3057 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3058 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3060 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3061 return wxFontBase::New(pixelSize
, family
,
3062 style
, weight
, underlined
,
3065 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3066 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3068 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3069 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3071 class wxPyFontEnumerator
: public wxFontEnumerator
{
3073 wxPyFontEnumerator() {}
3074 ~wxPyFontEnumerator() {}
3076 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3077 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3082 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3083 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3086 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3088 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3089 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3090 ret
= wxArrayString2PyList_helper(arr
);
3091 wxPyEndBlockThreads(blocked
);
3094 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3096 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3097 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3098 ret
= wxArrayString2PyList_helper(arr
);
3099 wxPyEndBlockThreads(blocked
);
3105 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3108 loc
= new wxLocale();
3110 loc
= new wxLocale(language
, flags
);
3111 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3112 // for the floating point conversions and such to work right.
3113 #if PY_VERSION_HEX < 0x02040000
3114 setlocale(LC_NUMERIC
, "C");
3118 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3119 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3120 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3121 // for the floating point conversions and such to work right.
3122 #if PY_VERSION_HEX < 0x02040000
3123 setlocale(LC_NUMERIC
, "C");
3127 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3128 bool rc
= self
->Init(language
, flags
);
3129 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3130 // for the floating point conversions and such to work right.
3131 #if PY_VERSION_HEX < 0x02040000
3132 setlocale(LC_NUMERIC
, "C");
3137 #include "wx/wxPython/pydrawxxx.h"
3139 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3141 self
->GetPixel(x
, y
, &col
);
3144 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3146 self
->GetPixel(pt
, &col
);
3151 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3153 if (PyNumber_Check(obj
)) {
3154 if (val
) *val
= PyFloat_AsDouble(obj
);
3157 return SWIG_TypeError
;
3160 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3162 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3165 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3167 self
->GetClippingBox(rect
);
3170 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3172 self
->GetPartialTextExtents(text
, widths
);
3176 #define SWIG_From_double PyFloat_FromDouble
3178 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3179 self
->SetLogicalOrigin(point
.x
, point
.y
);
3181 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3182 self
->SetDeviceOrigin(point
.x
, point
.y
);
3184 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3185 self
->CalcBoundingBox(point
.x
, point
.y
);
3187 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3188 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3190 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3191 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3193 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3194 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3196 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3197 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3199 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3200 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3202 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3203 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3206 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3214 #include <wx/dcbuffer.h>
3217 #include <wx/dcps.h>
3220 #include <wx/metafile.h>
3224 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3225 self
->AddColour(name
, wxColour(red
, green
, blue
));
3228 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3229 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3230 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3231 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3234 #include <wx/effects.h>
3237 #include "wx/renderer.h"
3240 SWIGINTERNINLINE PyObject
*
3241 SWIG_From_bool (bool value
)
3243 return PyBool_FromLong(value
? 1 : 0);
3247 #include "wx/wxPython/pseudodc.h"
3249 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3251 self
->GetIdBounds(id
, rect
);
3257 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3258 PyObject
*resultobj
= 0;
3259 wxGDIObject
*result
= 0 ;
3261 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3263 if (!wxPyCheckForApp()) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (wxGDIObject
*)new wxGDIObject();
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3276 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3277 PyObject
*resultobj
= 0;
3278 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3281 PyObject
*swig_obj
[1] ;
3283 if (!args
) SWIG_fail
;
3285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3286 if (!SWIG_IsOK(res1
)) {
3287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3289 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= SWIG_Py_Void();
3304 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3305 PyObject
*resultobj
= 0;
3306 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3310 PyObject
*swig_obj
[1] ;
3312 if (!args
) SWIG_fail
;
3314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3315 if (!SWIG_IsOK(res1
)) {
3316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3318 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (bool)(arg1
)->IsNull();
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3334 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3337 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3338 return SWIG_Py_Void();
3341 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3342 return SWIG_Python_InitShadowInstance(args
);
3345 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
= 0;
3347 byte arg1
= (byte
) 0 ;
3348 byte arg2
= (byte
) 0 ;
3349 byte arg3
= (byte
) 0 ;
3350 wxColour
*result
= 0 ;
3351 unsigned char val1
;
3353 unsigned char val2
;
3355 unsigned char val3
;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3359 PyObject
* obj2
= 0 ;
3360 char * kwnames
[] = {
3361 (char *) "red",(char *) "green",(char *) "blue", NULL
3364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3366 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3367 if (!SWIG_IsOK(ecode1
)) {
3368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3370 arg1
= static_cast< byte
>(val1
);
3373 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3374 if (!SWIG_IsOK(ecode2
)) {
3375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3377 arg2
= static_cast< byte
>(val2
);
3380 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3381 if (!SWIG_IsOK(ecode3
)) {
3382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3384 arg3
= static_cast< byte
>(val3
);
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3399 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
= 0;
3401 wxString
*arg1
= 0 ;
3402 wxColour
*result
= 0 ;
3403 bool temp1
= false ;
3404 PyObject
* obj0
= 0 ;
3405 char * kwnames
[] = {
3406 (char *) "colorName", NULL
3409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3411 arg1
= wxString_in_helper(obj0
);
3412 if (arg1
== NULL
) SWIG_fail
;
3416 if (!wxPyCheckForApp()) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3437 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
= 0;
3439 unsigned long arg1
;
3440 wxColour
*result
= 0 ;
3441 unsigned long val1
;
3443 PyObject
* obj0
= 0 ;
3444 char * kwnames
[] = {
3445 (char *) "colRGB", NULL
3448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3449 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3450 if (!SWIG_IsOK(ecode1
)) {
3451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3453 arg1
= static_cast< unsigned long >(val1
);
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 result
= (wxColour
*)new wxColour(arg1
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3467 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3468 PyObject
*resultobj
= 0;
3469 wxColour
*arg1
= (wxColour
*) 0 ;
3472 PyObject
*swig_obj
[1] ;
3474 if (!args
) SWIG_fail
;
3476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3477 if (!SWIG_IsOK(res1
)) {
3478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3480 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 resultobj
= SWIG_Py_Void();
3495 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3496 PyObject
*resultobj
= 0;
3497 wxColour
*arg1
= (wxColour
*) 0 ;
3501 PyObject
*swig_obj
[1] ;
3503 if (!args
) SWIG_fail
;
3505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3506 if (!SWIG_IsOK(res1
)) {
3507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3509 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= (byte
)(arg1
)->Red();
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3523 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3524 PyObject
*resultobj
= 0;
3525 wxColour
*arg1
= (wxColour
*) 0 ;
3529 PyObject
*swig_obj
[1] ;
3531 if (!args
) SWIG_fail
;
3533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3534 if (!SWIG_IsOK(res1
)) {
3535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3537 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= (byte
)(arg1
)->Green();
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3551 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3552 PyObject
*resultobj
= 0;
3553 wxColour
*arg1
= (wxColour
*) 0 ;
3557 PyObject
*swig_obj
[1] ;
3559 if (!args
) SWIG_fail
;
3561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3562 if (!SWIG_IsOK(res1
)) {
3563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3565 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (byte
)(arg1
)->Blue();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3579 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3580 PyObject
*resultobj
= 0;
3581 wxColour
*arg1
= (wxColour
*) 0 ;
3585 PyObject
*swig_obj
[1] ;
3587 if (!args
) SWIG_fail
;
3589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3590 if (!SWIG_IsOK(res1
)) {
3591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3593 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= (bool)(arg1
)->Ok();
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3609 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
= 0;
3611 wxColour
*arg1
= (wxColour
*) 0 ;
3617 unsigned char val2
;
3619 unsigned char val3
;
3621 unsigned char val4
;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3625 PyObject
* obj2
= 0 ;
3626 PyObject
* obj3
= 0 ;
3627 char * kwnames
[] = {
3628 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3633 if (!SWIG_IsOK(res1
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3636 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3637 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3638 if (!SWIG_IsOK(ecode2
)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3641 arg2
= static_cast< byte
>(val2
);
3642 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3643 if (!SWIG_IsOK(ecode3
)) {
3644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3646 arg3
= static_cast< byte
>(val3
);
3647 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3648 if (!SWIG_IsOK(ecode4
)) {
3649 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3651 arg4
= static_cast< byte
>(val4
);
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 (arg1
)->Set(arg2
,arg3
,arg4
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_Py_Void();
3665 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
= 0;
3667 wxColour
*arg1
= (wxColour
*) 0 ;
3668 unsigned long arg2
;
3671 unsigned long val2
;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3675 char * kwnames
[] = {
3676 (char *) "self",(char *) "colRGB", NULL
3679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3681 if (!SWIG_IsOK(res1
)) {
3682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3684 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3685 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3686 if (!SWIG_IsOK(ecode2
)) {
3687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3689 arg2
= static_cast< unsigned long >(val2
);
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= SWIG_Py_Void();
3703 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
= 0;
3705 wxColour
*arg1
= (wxColour
*) 0 ;
3706 wxString
*arg2
= 0 ;
3709 bool temp2
= false ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3712 char * kwnames
[] = {
3713 (char *) "self",(char *) "colourName", NULL
3716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3718 if (!SWIG_IsOK(res1
)) {
3719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3721 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3723 arg2
= wxString_in_helper(obj1
);
3724 if (arg2
== NULL
) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 (arg1
)->InitFromName((wxString
const &)*arg2
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= SWIG_Py_Void();
3748 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
= 0;
3750 wxColour
*arg1
= (wxColour
*) 0 ;
3751 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3759 char * kwnames
[] = {
3760 (char *) "self",(char *) "flags", NULL
3763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3765 if (!SWIG_IsOK(res1
)) {
3766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3768 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3771 if (!SWIG_IsOK(ecode2
)) {
3772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3774 arg2
= static_cast< long >(val2
);
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3795 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3796 PyObject
*resultobj
= 0;
3797 wxColour
*arg1
= (wxColour
*) 0 ;
3801 PyObject
*swig_obj
[1] ;
3803 if (!args
) SWIG_fail
;
3805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3806 if (!SWIG_IsOK(res1
)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3809 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_long(static_cast< long >(result
));
3823 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
= 0;
3825 wxColour
*arg1
= (wxColour
*) 0 ;
3826 PyObject
*arg2
= (PyObject
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3832 char * kwnames
[] = {
3833 (char *) "self",(char *) "other", NULL
3836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3838 if (!SWIG_IsOK(res1
)) {
3839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3841 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3844 result
= (bool)wxColour___eq__(arg1
,arg2
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3856 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
= 0;
3858 wxColour
*arg1
= (wxColour
*) 0 ;
3859 PyObject
*arg2
= (PyObject
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3865 char * kwnames
[] = {
3866 (char *) "self",(char *) "other", NULL
3869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3871 if (!SWIG_IsOK(res1
)) {
3872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3874 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3877 result
= (bool)wxColour___ne__(arg1
,arg2
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3889 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3890 PyObject
*resultobj
= 0;
3891 wxColour
*arg1
= (wxColour
*) 0 ;
3892 PyObject
*result
= 0 ;
3895 PyObject
*swig_obj
[1] ;
3897 if (!args
) SWIG_fail
;
3899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3900 if (!SWIG_IsOK(res1
)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3903 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (PyObject
*)wxColour_Get(arg1
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3917 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3918 PyObject
*resultobj
= 0;
3919 wxColour
*arg1
= (wxColour
*) 0 ;
3920 unsigned long result
;
3923 PyObject
*swig_obj
[1] ;
3925 if (!args
) SWIG_fail
;
3927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3928 if (!SWIG_IsOK(res1
)) {
3929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3931 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (unsigned long)wxColour_GetRGB(arg1
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3945 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3948 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3949 return SWIG_Py_Void();
3952 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3953 return SWIG_Python_InitShadowInstance(args
);
3956 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
= 0;
3959 unsigned char *arg2
= (unsigned char *) 0 ;
3960 unsigned char *arg3
= (unsigned char *) 0 ;
3961 unsigned char *arg4
= (unsigned char *) 0 ;
3962 wxPalette
*result
= 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3973 PyObject
* obj2
= 0 ;
3974 PyObject
* obj3
= 0 ;
3975 char * kwnames
[] = {
3976 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3981 if (!SWIG_IsOK(ecode1
)) {
3982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3984 arg1
= static_cast< int >(val1
);
3985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3986 if (!SWIG_IsOK(res2
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3989 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3990 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3991 if (!SWIG_IsOK(res3
)) {
3992 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3994 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3995 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3996 if (!SWIG_IsOK(res4
)) {
3997 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3999 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4001 if (!wxPyCheckForApp()) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4014 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxPalette
*arg1
= (wxPalette
*) 0 ;
4019 PyObject
*swig_obj
[1] ;
4021 if (!args
) SWIG_fail
;
4023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4024 if (!SWIG_IsOK(res1
)) {
4025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4027 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_Py_Void();
4042 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
= 0;
4044 wxPalette
*arg1
= (wxPalette
*) 0 ;
4051 unsigned char val2
;
4053 unsigned char val3
;
4055 unsigned char val4
;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 char * kwnames
[] = {
4062 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4067 if (!SWIG_IsOK(res1
)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4070 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4071 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4072 if (!SWIG_IsOK(ecode2
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4075 arg2
= static_cast< byte
>(val2
);
4076 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4077 if (!SWIG_IsOK(ecode3
)) {
4078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4080 arg3
= static_cast< byte
>(val3
);
4081 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4082 if (!SWIG_IsOK(ecode4
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4085 arg4
= static_cast< byte
>(val4
);
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_From_int(static_cast< int >(result
));
4099 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
= 0;
4101 wxPalette
*arg1
= (wxPalette
*) 0 ;
4103 byte
*arg3
= (byte
*) 0 ;
4104 byte
*arg4
= (byte
*) 0 ;
4105 byte
*arg5
= (byte
*) 0 ;
4112 int res3
= SWIG_TMPOBJ
;
4114 int res4
= SWIG_TMPOBJ
;
4116 int res5
= SWIG_TMPOBJ
;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4119 char * kwnames
[] = {
4120 (char *) "self",(char *) "pixel", NULL
4126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4128 if (!SWIG_IsOK(res1
)) {
4129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4131 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4133 if (!SWIG_IsOK(ecode2
)) {
4134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4136 arg2
= static_cast< int >(val2
);
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4146 if (SWIG_IsTmpObj(res3
)) {
4147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4149 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4152 if (SWIG_IsTmpObj(res4
)) {
4153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4155 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4158 if (SWIG_IsTmpObj(res5
)) {
4159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4161 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4170 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4171 PyObject
*resultobj
= 0;
4172 wxPalette
*arg1
= (wxPalette
*) 0 ;
4176 PyObject
*swig_obj
[1] ;
4178 if (!args
) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4184 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_From_int(static_cast< int >(result
));
4198 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4199 PyObject
*resultobj
= 0;
4200 wxPalette
*arg1
= (wxPalette
*) 0 ;
4204 PyObject
*swig_obj
[1] ;
4206 if (!args
) SWIG_fail
;
4208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4209 if (!SWIG_IsOK(res1
)) {
4210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4212 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (bool)(arg1
)->Ok();
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4228 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4231 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4232 return SWIG_Py_Void();
4235 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4236 return SWIG_Python_InitShadowInstance(args
);
4239 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
= 0;
4241 wxColour
*arg1
= 0 ;
4242 int arg2
= (int) 1 ;
4243 int arg3
= (int) wxSOLID
;
4250 PyObject
* obj0
= 0 ;
4251 PyObject
* obj1
= 0 ;
4252 PyObject
* obj2
= 0 ;
4253 char * kwnames
[] = {
4254 (char *) "colour",(char *) "width",(char *) "style", NULL
4257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4260 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4264 if (!SWIG_IsOK(ecode2
)) {
4265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4267 arg2
= static_cast< int >(val2
);
4270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4271 if (!SWIG_IsOK(ecode3
)) {
4272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4274 arg3
= static_cast< int >(val3
);
4277 if (!wxPyCheckForApp()) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4290 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4291 PyObject
*resultobj
= 0;
4292 wxPen
*arg1
= (wxPen
*) 0 ;
4295 PyObject
*swig_obj
[1] ;
4297 if (!args
) SWIG_fail
;
4299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4300 if (!SWIG_IsOK(res1
)) {
4301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4303 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_Py_Void();
4318 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4319 PyObject
*resultobj
= 0;
4320 wxPen
*arg1
= (wxPen
*) 0 ;
4324 PyObject
*swig_obj
[1] ;
4326 if (!args
) SWIG_fail
;
4328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4329 if (!SWIG_IsOK(res1
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4332 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (int)(arg1
)->GetCap();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_From_int(static_cast< int >(result
));
4346 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4347 PyObject
*resultobj
= 0;
4348 wxPen
*arg1
= (wxPen
*) 0 ;
4352 PyObject
*swig_obj
[1] ;
4354 if (!args
) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4360 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (arg1
)->GetColour();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4374 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4375 PyObject
*resultobj
= 0;
4376 wxPen
*arg1
= (wxPen
*) 0 ;
4380 PyObject
*swig_obj
[1] ;
4382 if (!args
) SWIG_fail
;
4384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4385 if (!SWIG_IsOK(res1
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4388 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (int)(arg1
)->GetJoin();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_From_int(static_cast< int >(result
));
4402 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4403 PyObject
*resultobj
= 0;
4404 wxPen
*arg1
= (wxPen
*) 0 ;
4408 PyObject
*swig_obj
[1] ;
4410 if (!args
) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4416 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)(arg1
)->GetStyle();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int(static_cast< int >(result
));
4430 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4431 PyObject
*resultobj
= 0;
4432 wxPen
*arg1
= (wxPen
*) 0 ;
4436 PyObject
*swig_obj
[1] ;
4438 if (!args
) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4444 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (int)(arg1
)->GetWidth();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_From_int(static_cast< int >(result
));
4458 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4459 PyObject
*resultobj
= 0;
4460 wxPen
*arg1
= (wxPen
*) 0 ;
4464 PyObject
*swig_obj
[1] ;
4466 if (!args
) SWIG_fail
;
4468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4469 if (!SWIG_IsOK(res1
)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4472 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (bool)(arg1
)->Ok();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4488 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= 0;
4490 wxPen
*arg1
= (wxPen
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4498 char * kwnames
[] = {
4499 (char *) "self",(char *) "cap_style", NULL
4502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4504 if (!SWIG_IsOK(res1
)) {
4505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4507 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4509 if (!SWIG_IsOK(ecode2
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4512 arg2
= static_cast< int >(val2
);
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetCap(arg2
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
= 0;
4528 wxPen
*arg1
= (wxPen
*) 0 ;
4529 wxColour
*arg2
= 0 ;
4533 PyObject
* obj0
= 0 ;
4534 PyObject
* obj1
= 0 ;
4535 char * kwnames
[] = {
4536 (char *) "self",(char *) "colour", NULL
4539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4541 if (!SWIG_IsOK(res1
)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4544 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4547 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 (arg1
)->SetColour(*arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_Py_Void();
4562 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxPen
*arg1
= (wxPen
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4572 char * kwnames
[] = {
4573 (char *) "self",(char *) "join_style", NULL
4576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4581 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4583 if (!SWIG_IsOK(ecode2
)) {
4584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4586 arg2
= static_cast< int >(val2
);
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 (arg1
)->SetJoin(arg2
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= SWIG_Py_Void();
4600 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
= 0;
4602 wxPen
*arg1
= (wxPen
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4610 char * kwnames
[] = {
4611 (char *) "self",(char *) "style", NULL
4614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4619 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4621 if (!SWIG_IsOK(ecode2
)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4624 arg2
= static_cast< int >(val2
);
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 (arg1
)->SetStyle(arg2
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_Py_Void();
4638 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4640 wxPen
*arg1
= (wxPen
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4647 PyObject
* obj1
= 0 ;
4648 char * kwnames
[] = {
4649 (char *) "self",(char *) "width", NULL
4652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4654 if (!SWIG_IsOK(res1
)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4657 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4659 if (!SWIG_IsOK(ecode2
)) {
4660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4662 arg2
= static_cast< int >(val2
);
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 (arg1
)->SetWidth(arg2
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= SWIG_Py_Void();
4676 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
= 0;
4678 wxPen
*arg1
= (wxPen
*) 0 ;
4680 wxDash
*arg3
= (wxDash
*) 0 ;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4685 char * kwnames
[] = {
4686 (char *) "self",(char *) "dashes", NULL
4689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4691 if (!SWIG_IsOK(res1
)) {
4692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4694 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4696 arg2
= PyList_Size(obj1
);
4697 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4698 if (arg3
== NULL
) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->SetDashes(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_Py_Void();
4708 if (arg3
) delete [] arg3
;
4713 if (arg3
) delete [] arg3
;
4719 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4720 PyObject
*resultobj
= 0;
4721 wxPen
*arg1
= (wxPen
*) 0 ;
4722 PyObject
*result
= 0 ;
4725 PyObject
*swig_obj
[1] ;
4727 if (!args
) SWIG_fail
;
4729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4730 if (!SWIG_IsOK(res1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4733 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4747 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
= 0;
4749 wxPen
*arg1
= (wxPen
*) 0 ;
4750 PyObject
*arg2
= (PyObject
*) 0 ;
4751 PyObject
*arg3
= (PyObject
*) 0 ;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4763 if (!SWIG_IsOK(res1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4766 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 wxPen__SetDashes(arg1
,arg2
,arg3
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= SWIG_Py_Void();
4782 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4783 PyObject
*resultobj
= 0;
4784 wxPen
*arg1
= (wxPen
*) 0 ;
4788 PyObject
*swig_obj
[1] ;
4790 if (!args
) SWIG_fail
;
4792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4793 if (!SWIG_IsOK(res1
)) {
4794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4796 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= SWIG_From_int(static_cast< int >(result
));
4810 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4811 PyObject
*resultobj
= 0;
4812 wxPen
*arg1
= (wxPen
*) 0 ;
4813 wxBitmap
*result
= 0 ;
4816 PyObject
*swig_obj
[1] ;
4818 if (!args
) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4824 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (wxBitmap
*)(arg1
)->GetStipple();
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4838 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
= 0;
4840 wxPen
*arg1
= (wxPen
*) 0 ;
4841 wxBitmap
*arg2
= 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 char * kwnames
[] = {
4849 (char *) "self",(char *) "stipple", NULL
4852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4857 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4859 if (!SWIG_IsOK(res2
)) {
4860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4865 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 (arg1
)->SetStipple(*arg2
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_Py_Void();
4879 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
= 0;
4881 wxPen
*arg1
= (wxPen
*) 0 ;
4882 wxPen
*arg2
= (wxPen
*) 0 ;
4888 PyObject
* obj0
= 0 ;
4889 PyObject
* obj1
= 0 ;
4890 char * kwnames
[] = {
4891 (char *) "self",(char *) "other", NULL
4894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4896 if (!SWIG_IsOK(res1
)) {
4897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4899 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4901 if (!SWIG_IsOK(res2
)) {
4902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4904 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4920 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
= 0;
4922 wxPen
*arg1
= (wxPen
*) 0 ;
4923 wxPen
*arg2
= (wxPen
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4931 char * kwnames
[] = {
4932 (char *) "self",(char *) "other", NULL
4935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4937 if (!SWIG_IsOK(res1
)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4940 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4942 if (!SWIG_IsOK(res2
)) {
4943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4945 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4961 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4964 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4965 return SWIG_Py_Void();
4968 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 return SWIG_Python_InitShadowInstance(args
);
4972 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
= 0;
4974 wxColour
*arg1
= 0 ;
4975 int arg2
= (int) wxSOLID
;
4976 wxBrush
*result
= 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4982 char * kwnames
[] = {
4983 (char *) "colour",(char *) "style", NULL
4986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4989 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4993 if (!SWIG_IsOK(ecode2
)) {
4994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4996 arg2
= static_cast< int >(val2
);
4999 if (!wxPyCheckForApp()) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5012 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
= 0;
5014 wxBitmap
*arg1
= 0 ;
5015 wxBrush
*result
= 0 ;
5018 PyObject
* obj0
= 0 ;
5019 char * kwnames
[] = {
5020 (char *) "stippleBitmap", NULL
5023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5024 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5025 if (!SWIG_IsOK(res1
)) {
5026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5031 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5033 if (!wxPyCheckForApp()) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5046 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5047 PyObject
*resultobj
= 0;
5048 wxBrush
*arg1
= (wxBrush
*) 0 ;
5051 PyObject
*swig_obj
[1] ;
5053 if (!args
) SWIG_fail
;
5055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5056 if (!SWIG_IsOK(res1
)) {
5057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5059 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_Py_Void();
5074 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
= 0;
5076 wxBrush
*arg1
= (wxBrush
*) 0 ;
5077 wxColour
*arg2
= 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5083 char * kwnames
[] = {
5084 (char *) "self",(char *) "col", NULL
5087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5089 if (!SWIG_IsOK(res1
)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5092 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->SetColour((wxColour
const &)*arg2
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_Py_Void();
5110 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
= 0;
5112 wxBrush
*arg1
= (wxBrush
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5120 char * kwnames
[] = {
5121 (char *) "self",(char *) "style", NULL
5124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5129 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5131 if (!SWIG_IsOK(ecode2
)) {
5132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5134 arg2
= static_cast< int >(val2
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 (arg1
)->SetStyle(arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_Py_Void();
5148 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
= 0;
5150 wxBrush
*arg1
= (wxBrush
*) 0 ;
5151 wxBitmap
*arg2
= 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5158 char * kwnames
[] = {
5159 (char *) "self",(char *) "stipple", NULL
5162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5164 if (!SWIG_IsOK(res1
)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5167 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5169 if (!SWIG_IsOK(res2
)) {
5170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5175 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_Py_Void();
5189 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5190 PyObject
*resultobj
= 0;
5191 wxBrush
*arg1
= (wxBrush
*) 0 ;
5195 PyObject
*swig_obj
[1] ;
5197 if (!args
) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5203 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= ((wxBrush
const *)arg1
)->GetColour();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5217 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5218 PyObject
*resultobj
= 0;
5219 wxBrush
*arg1
= (wxBrush
*) 0 ;
5223 PyObject
*swig_obj
[1] ;
5225 if (!args
) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5231 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_From_int(static_cast< int >(result
));
5245 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5246 PyObject
*resultobj
= 0;
5247 wxBrush
*arg1
= (wxBrush
*) 0 ;
5248 wxBitmap
*result
= 0 ;
5251 PyObject
*swig_obj
[1] ;
5253 if (!args
) SWIG_fail
;
5255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5256 if (!SWIG_IsOK(res1
)) {
5257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5259 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5273 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 PyObject
*resultobj
= 0;
5275 wxBrush
*arg1
= (wxBrush
*) 0 ;
5279 PyObject
*swig_obj
[1] ;
5281 if (!args
) SWIG_fail
;
5283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5284 if (!SWIG_IsOK(res1
)) {
5285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5287 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5303 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5304 PyObject
*resultobj
= 0;
5305 wxBrush
*arg1
= (wxBrush
*) 0 ;
5309 PyObject
*swig_obj
[1] ;
5311 if (!args
) SWIG_fail
;
5313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5314 if (!SWIG_IsOK(res1
)) {
5315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5317 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (bool)(arg1
)->Ok();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5333 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5336 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5337 return SWIG_Py_Void();
5340 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5341 return SWIG_Python_InitShadowInstance(args
);
5344 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
= 0;
5346 wxString
*arg1
= 0 ;
5347 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5348 wxBitmap
*result
= 0 ;
5349 bool temp1
= false ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 char * kwnames
[] = {
5355 (char *) "name",(char *) "type", NULL
5358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5360 arg1
= wxString_in_helper(obj0
);
5361 if (arg1
== NULL
) SWIG_fail
;
5365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5366 if (!SWIG_IsOK(ecode2
)) {
5367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5369 arg2
= static_cast< wxBitmapType
>(val2
);
5372 if (!wxPyCheckForApp()) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5393 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5398 PyObject
*swig_obj
[1] ;
5400 if (!args
) SWIG_fail
;
5402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5403 if (!SWIG_IsOK(res1
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5406 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_Py_Void();
5421 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5425 int arg3
= (int) -1 ;
5426 wxBitmap
*result
= 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 PyObject
* obj2
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "width",(char *) "height",(char *) "depth", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5442 if (!SWIG_IsOK(ecode1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5445 arg1
= static_cast< int >(val1
);
5446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5447 if (!SWIG_IsOK(ecode2
)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5450 arg2
= static_cast< int >(val2
);
5452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5453 if (!SWIG_IsOK(ecode3
)) {
5454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5456 arg3
= static_cast< int >(val3
);
5459 if (!wxPyCheckForApp()) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5472 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
= 0;
5475 wxBitmap
*result
= 0 ;
5478 PyObject
* obj0
= 0 ;
5479 char * kwnames
[] = {
5480 (char *) "icon", NULL
5483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5484 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5485 if (!SWIG_IsOK(res1
)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5491 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5493 if (!wxPyCheckForApp()) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5506 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
= 0;
5509 int arg2
= (int) -1 ;
5510 wxBitmap
*result
= 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5517 char * kwnames
[] = {
5518 (char *) "image",(char *) "depth", NULL
5521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5522 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5523 if (!SWIG_IsOK(res1
)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5529 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5532 if (!SWIG_IsOK(ecode2
)) {
5533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5535 arg2
= static_cast< int >(val2
);
5538 if (!wxPyCheckForApp()) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5551 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
= 0;
5553 PyObject
*arg1
= (PyObject
*) 0 ;
5554 wxBitmap
*result
= 0 ;
5555 PyObject
* obj0
= 0 ;
5556 char * kwnames
[] = {
5557 (char *) "listOfStrings", NULL
5560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5563 if (!wxPyCheckForApp()) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5576 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
= 0;
5578 PyObject
*arg1
= (PyObject
*) 0 ;
5581 int arg4
= (int) 1 ;
5582 wxBitmap
*result
= 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5591 PyObject
* obj2
= 0 ;
5592 PyObject
* obj3
= 0 ;
5593 char * kwnames
[] = {
5594 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5600 if (!SWIG_IsOK(ecode2
)) {
5601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5603 arg2
= static_cast< int >(val2
);
5604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5605 if (!SWIG_IsOK(ecode3
)) {
5606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5608 arg3
= static_cast< int >(val3
);
5610 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5611 if (!SWIG_IsOK(ecode4
)) {
5612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5614 arg4
= static_cast< int >(val4
);
5617 if (!wxPyCheckForApp()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5630 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5631 PyObject
*resultobj
= 0;
5632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5636 PyObject
*swig_obj
[1] ;
5638 if (!args
) SWIG_fail
;
5640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5641 if (!SWIG_IsOK(res1
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5644 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (long)(arg1
)->GetHandle();
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= SWIG_From_long(static_cast< long >(result
));
5658 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
= 0;
5660 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5668 char * kwnames
[] = {
5669 (char *) "self",(char *) "handle", NULL
5672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5674 if (!SWIG_IsOK(res1
)) {
5675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5677 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5678 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5679 if (!SWIG_IsOK(ecode2
)) {
5680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5682 arg2
= static_cast< long >(val2
);
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 wxBitmap_SetHandle(arg1
,arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= SWIG_Py_Void();
5696 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5697 PyObject
*resultobj
= 0;
5698 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5702 PyObject
*swig_obj
[1] ;
5704 if (!args
) SWIG_fail
;
5706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5707 if (!SWIG_IsOK(res1
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (bool)(arg1
)->Ok();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5726 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5727 PyObject
*resultobj
= 0;
5728 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5732 PyObject
*swig_obj
[1] ;
5734 if (!args
) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5740 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (int)(arg1
)->GetWidth();
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5747 resultobj
= SWIG_From_int(static_cast< int >(result
));
5754 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5755 PyObject
*resultobj
= 0;
5756 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5760 PyObject
*swig_obj
[1] ;
5762 if (!args
) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5768 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 result
= (int)(arg1
)->GetHeight();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= SWIG_From_int(static_cast< int >(result
));
5782 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5783 PyObject
*resultobj
= 0;
5784 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5788 PyObject
*swig_obj
[1] ;
5790 if (!args
) SWIG_fail
;
5792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5793 if (!SWIG_IsOK(res1
)) {
5794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5796 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (int)(arg1
)->GetDepth();
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= SWIG_From_int(static_cast< int >(result
));
5810 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5811 PyObject
*resultobj
= 0;
5812 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5816 PyObject
*swig_obj
[1] ;
5818 if (!args
) SWIG_fail
;
5820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5821 if (!SWIG_IsOK(res1
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5824 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= wxBitmap_GetSize(arg1
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5838 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5839 PyObject
*resultobj
= 0;
5840 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5841 SwigValueWrapper
<wxImage
> result
;
5844 PyObject
*swig_obj
[1] ;
5846 if (!args
) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5852 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5866 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5867 PyObject
*resultobj
= 0;
5868 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5869 wxMask
*result
= 0 ;
5872 PyObject
*swig_obj
[1] ;
5874 if (!args
) SWIG_fail
;
5876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5877 if (!SWIG_IsOK(res1
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5880 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5894 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
= 0;
5896 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5897 wxMask
*arg2
= (wxMask
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5903 char * kwnames
[] = {
5904 (char *) "self",(char *) "mask", NULL
5907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5913 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5914 if (!SWIG_IsOK(res2
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 (arg1
)->SetMask(arg2
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_Py_Void();
5930 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
= 0;
5932 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5933 wxColour
*arg2
= 0 ;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5939 char * kwnames
[] = {
5940 (char *) "self",(char *) "colour", NULL
5943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5945 if (!SWIG_IsOK(res1
)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5951 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_Py_Void();
5966 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
= 0;
5968 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5970 SwigValueWrapper
<wxBitmap
> result
;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5976 char * kwnames
[] = {
5977 (char *) "self",(char *) "rect", NULL
5980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5985 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5988 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6003 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
= 0;
6005 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6006 wxString
*arg2
= 0 ;
6008 wxPalette
*arg4
= (wxPalette
*) NULL
;
6012 bool temp2
= false ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 PyObject
* obj2
= 0 ;
6020 PyObject
* obj3
= 0 ;
6021 char * kwnames
[] = {
6022 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6030 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6032 arg2
= wxString_in_helper(obj1
);
6033 if (arg2
== NULL
) SWIG_fail
;
6036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6037 if (!SWIG_IsOK(ecode3
)) {
6038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6040 arg3
= static_cast< wxBitmapType
>(val3
);
6042 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6043 if (!SWIG_IsOK(res4
)) {
6044 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6046 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6071 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= 0;
6073 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6074 wxString
*arg2
= 0 ;
6079 bool temp2
= false ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6084 PyObject
* obj2
= 0 ;
6085 char * kwnames
[] = {
6086 (char *) "self",(char *) "name",(char *) "type", NULL
6089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6091 if (!SWIG_IsOK(res1
)) {
6092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6094 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6096 arg2
= wxString_in_helper(obj1
);
6097 if (arg2
== NULL
) SWIG_fail
;
6100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6101 if (!SWIG_IsOK(ecode3
)) {
6102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6104 arg3
= static_cast< wxBitmapType
>(val3
);
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6128 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6129 PyObject
*resultobj
= 0;
6130 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6131 wxPalette
*result
= 0 ;
6134 PyObject
*swig_obj
[1] ;
6136 if (!args
) SWIG_fail
;
6138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6139 if (!SWIG_IsOK(res1
)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6142 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6156 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
= 0;
6158 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6159 wxPalette
*arg2
= 0 ;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 char * kwnames
[] = {
6167 (char *) "self",(char *) "palette", NULL
6170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6172 if (!SWIG_IsOK(res1
)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6175 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6177 if (!SWIG_IsOK(res2
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6183 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_Py_Void();
6197 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
= 0;
6199 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6208 char * kwnames
[] = {
6209 (char *) "self",(char *) "icon", NULL
6212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6217 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6219 if (!SWIG_IsOK(res2
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6225 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6241 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
= 0;
6243 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6250 PyObject
* obj1
= 0 ;
6251 char * kwnames
[] = {
6252 (char *) "self",(char *) "height", NULL
6255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6257 if (!SWIG_IsOK(res1
)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6260 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6262 if (!SWIG_IsOK(ecode2
)) {
6263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6265 arg2
= static_cast< int >(val2
);
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 (arg1
)->SetHeight(arg2
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_Py_Void();
6279 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
= 0;
6281 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 char * kwnames
[] = {
6290 (char *) "self",(char *) "width", NULL
6293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6295 if (!SWIG_IsOK(res1
)) {
6296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6298 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6300 if (!SWIG_IsOK(ecode2
)) {
6301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6303 arg2
= static_cast< int >(val2
);
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 (arg1
)->SetWidth(arg2
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= SWIG_Py_Void();
6317 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "depth", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6336 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6338 if (!SWIG_IsOK(ecode2
)) {
6339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6341 arg2
= static_cast< int >(val2
);
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 (arg1
)->SetDepth(arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_Py_Void();
6355 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
= 0;
6357 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6364 char * kwnames
[] = {
6365 (char *) "self",(char *) "size", NULL
6368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6370 if (!SWIG_IsOK(res1
)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6373 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6376 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_Py_Void();
6391 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
= 0;
6393 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6394 wxCursor
*arg2
= 0 ;
6400 PyObject
* obj0
= 0 ;
6401 PyObject
* obj1
= 0 ;
6402 char * kwnames
[] = {
6403 (char *) "self",(char *) "cursor", NULL
6406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6408 if (!SWIG_IsOK(res1
)) {
6409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6411 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6413 if (!SWIG_IsOK(res2
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6419 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6435 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
= 0;
6437 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6438 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6446 char * kwnames
[] = {
6447 (char *) "self",(char *) "other", NULL
6450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6452 if (!SWIG_IsOK(res1
)) {
6453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6455 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6457 if (!SWIG_IsOK(res2
)) {
6458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6460 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6476 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
= 0;
6478 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6479 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6487 char * kwnames
[] = {
6488 (char *) "self",(char *) "other", NULL
6491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6493 if (!SWIG_IsOK(res1
)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6496 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6498 if (!SWIG_IsOK(res2
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6501 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6517 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6520 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6521 return SWIG_Py_Void();
6524 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6525 return SWIG_Python_InitShadowInstance(args
);
6528 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
= 0;
6530 wxBitmap
*arg1
= 0 ;
6531 wxColour
const &arg2_defvalue
= wxNullColour
;
6532 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6533 wxMask
*result
= 0 ;
6537 PyObject
* obj0
= 0 ;
6538 PyObject
* obj1
= 0 ;
6539 char * kwnames
[] = {
6540 (char *) "bitmap",(char *) "colour", NULL
6543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6551 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6559 if (!wxPyCheckForApp()) SWIG_fail
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6572 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6573 PyObject
*resultobj
= 0;
6574 wxMask
*arg1
= (wxMask
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6585 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_Py_Void();
6600 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6603 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6604 return SWIG_Py_Void();
6607 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6608 return SWIG_Python_InitShadowInstance(args
);
6611 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
= 0;
6613 wxString
*arg1
= 0 ;
6615 int arg3
= (int) -1 ;
6616 int arg4
= (int) -1 ;
6617 wxIcon
*result
= 0 ;
6618 bool temp1
= false ;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6627 PyObject
* obj2
= 0 ;
6628 PyObject
* obj3
= 0 ;
6629 char * kwnames
[] = {
6630 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6635 arg1
= wxString_in_helper(obj0
);
6636 if (arg1
== NULL
) SWIG_fail
;
6639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6640 if (!SWIG_IsOK(ecode2
)) {
6641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6643 arg2
= static_cast< wxBitmapType
>(val2
);
6645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6646 if (!SWIG_IsOK(ecode3
)) {
6647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6649 arg3
= static_cast< int >(val3
);
6652 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6653 if (!SWIG_IsOK(ecode4
)) {
6654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6656 arg4
= static_cast< int >(val4
);
6659 if (!wxPyCheckForApp()) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6680 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6681 PyObject
*resultobj
= 0;
6682 wxIcon
*arg1
= (wxIcon
*) 0 ;
6685 PyObject
*swig_obj
[1] ;
6687 if (!args
) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6693 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= SWIG_Py_Void();
6708 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6710 wxIcon
*result
= 0 ;
6712 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6714 if (!wxPyCheckForApp()) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (wxIcon
*)new wxIcon();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6727 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
= 0;
6729 wxIconLocation
*arg1
= 0 ;
6730 wxIcon
*result
= 0 ;
6733 PyObject
* obj0
= 0 ;
6734 char * kwnames
[] = {
6735 (char *) "loc", NULL
6738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6746 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6748 if (!wxPyCheckForApp()) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6761 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
= 0;
6763 wxBitmap
*arg1
= 0 ;
6764 wxIcon
*result
= 0 ;
6767 PyObject
* obj0
= 0 ;
6768 char * kwnames
[] = {
6769 (char *) "bmp", NULL
6772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6773 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6774 if (!SWIG_IsOK(res1
)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6780 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6782 if (!wxPyCheckForApp()) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6795 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 PyObject
*arg1
= (PyObject
*) 0 ;
6798 wxIcon
*result
= 0 ;
6799 PyObject
* obj0
= 0 ;
6800 char * kwnames
[] = {
6801 (char *) "listOfStrings", NULL
6804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6807 if (!wxPyCheckForApp()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (wxIcon
*)new_wxIcon(arg1
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6820 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
= 0;
6822 wxIcon
*arg1
= (wxIcon
*) 0 ;
6823 wxString
*arg2
= 0 ;
6828 bool temp2
= false ;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6833 PyObject
* obj2
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "self",(char *) "name",(char *) "type", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6843 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6845 arg2
= wxString_in_helper(obj1
);
6846 if (arg2
== NULL
) SWIG_fail
;
6849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6850 if (!SWIG_IsOK(ecode3
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6853 arg3
= static_cast< wxBitmapType
>(val3
);
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6877 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6878 PyObject
*resultobj
= 0;
6879 wxIcon
*arg1
= (wxIcon
*) 0 ;
6883 PyObject
*swig_obj
[1] ;
6885 if (!args
) SWIG_fail
;
6887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6888 if (!SWIG_IsOK(res1
)) {
6889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6891 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (long)(arg1
)->GetHandle();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_From_long(static_cast< long >(result
));
6905 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
= 0;
6907 wxIcon
*arg1
= (wxIcon
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6915 char * kwnames
[] = {
6916 (char *) "self",(char *) "handle", NULL
6919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6921 if (!SWIG_IsOK(res1
)) {
6922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6924 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6925 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6926 if (!SWIG_IsOK(ecode2
)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6929 arg2
= static_cast< long >(val2
);
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxIcon_SetHandle(arg1
,arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= SWIG_Py_Void();
6943 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6944 PyObject
*resultobj
= 0;
6945 wxIcon
*arg1
= (wxIcon
*) 0 ;
6949 PyObject
*swig_obj
[1] ;
6951 if (!args
) SWIG_fail
;
6953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6954 if (!SWIG_IsOK(res1
)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6957 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (bool)(arg1
)->Ok();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6973 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6974 PyObject
*resultobj
= 0;
6975 wxIcon
*arg1
= (wxIcon
*) 0 ;
6979 PyObject
*swig_obj
[1] ;
6981 if (!args
) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6987 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (int)(arg1
)->GetWidth();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_From_int(static_cast< int >(result
));
7001 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7002 PyObject
*resultobj
= 0;
7003 wxIcon
*arg1
= (wxIcon
*) 0 ;
7007 PyObject
*swig_obj
[1] ;
7009 if (!args
) SWIG_fail
;
7011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7012 if (!SWIG_IsOK(res1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7015 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (int)(arg1
)->GetHeight();
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_From_int(static_cast< int >(result
));
7029 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7030 PyObject
*resultobj
= 0;
7031 wxIcon
*arg1
= (wxIcon
*) 0 ;
7035 PyObject
*swig_obj
[1] ;
7037 if (!args
) SWIG_fail
;
7039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7040 if (!SWIG_IsOK(res1
)) {
7041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7043 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (int)(arg1
)->GetDepth();
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_From_int(static_cast< int >(result
));
7057 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= 0;
7059 wxIcon
*arg1
= (wxIcon
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7067 char * kwnames
[] = {
7068 (char *) "self",(char *) "w", NULL
7071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7073 if (!SWIG_IsOK(res1
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7076 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7078 if (!SWIG_IsOK(ecode2
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7081 arg2
= static_cast< int >(val2
);
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 (arg1
)->SetWidth(arg2
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= SWIG_Py_Void();
7095 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
= 0;
7097 wxIcon
*arg1
= (wxIcon
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7105 char * kwnames
[] = {
7106 (char *) "self",(char *) "h", NULL
7109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7111 if (!SWIG_IsOK(res1
)) {
7112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7114 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7116 if (!SWIG_IsOK(ecode2
)) {
7117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7119 arg2
= static_cast< int >(val2
);
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 (arg1
)->SetHeight(arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_Py_Void();
7133 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
= 0;
7135 wxIcon
*arg1
= (wxIcon
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "self",(char *) "d", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7152 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7154 if (!SWIG_IsOK(ecode2
)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7157 arg2
= static_cast< int >(val2
);
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetDepth(arg2
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_Py_Void();
7171 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
= 0;
7173 wxIcon
*arg1
= (wxIcon
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7180 char * kwnames
[] = {
7181 (char *) "self",(char *) "size", NULL
7184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7186 if (!SWIG_IsOK(res1
)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7189 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 (arg1
)->SetSize((wxSize
const &)*arg2
);
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_Py_Void();
7207 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
= 0;
7209 wxIcon
*arg1
= (wxIcon
*) 0 ;
7210 wxBitmap
*arg2
= 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7217 char * kwnames
[] = {
7218 (char *) "self",(char *) "bmp", NULL
7221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7223 if (!SWIG_IsOK(res1
)) {
7224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7226 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7227 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7228 if (!SWIG_IsOK(res2
)) {
7229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7234 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_Py_Void();
7248 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7251 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7252 return SWIG_Py_Void();
7255 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7256 return SWIG_Python_InitShadowInstance(args
);
7259 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7262 int arg2
= (int) 0 ;
7263 wxIconLocation
*result
= 0 ;
7264 bool temp1
= false ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "filename",(char *) "num", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7276 arg1
= wxString_in_helper(obj0
);
7277 if (arg1
== NULL
) SWIG_fail
;
7282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7283 if (!SWIG_IsOK(ecode2
)) {
7284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7286 arg2
= static_cast< int >(val2
);
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7309 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 PyObject
*resultobj
= 0;
7311 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7322 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_Py_Void();
7337 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7338 PyObject
*resultobj
= 0;
7339 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7343 PyObject
*swig_obj
[1] ;
7345 if (!args
) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7351 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7367 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
= 0;
7369 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7370 wxString
*arg2
= 0 ;
7373 bool temp2
= false ;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7376 char * kwnames
[] = {
7377 (char *) "self",(char *) "filename", NULL
7380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7382 if (!SWIG_IsOK(res1
)) {
7383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7385 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7387 arg2
= wxString_in_helper(obj1
);
7388 if (arg2
== NULL
) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 (arg1
)->SetFileName((wxString
const &)*arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_Py_Void();
7412 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7413 PyObject
*resultobj
= 0;
7414 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7415 wxString
*result
= 0 ;
7418 PyObject
*swig_obj
[1] ;
7420 if (!args
) SWIG_fail
;
7422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7423 if (!SWIG_IsOK(res1
)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7426 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7431 result
= (wxString
*) &_result_ref
;
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7449 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7451 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7459 char * kwnames
[] = {
7460 (char *) "self",(char *) "num", NULL
7463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7465 if (!SWIG_IsOK(res1
)) {
7466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7468 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7470 if (!SWIG_IsOK(ecode2
)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7473 arg2
= static_cast< int >(val2
);
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 wxIconLocation_SetIndex(arg1
,arg2
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_Py_Void();
7487 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7488 PyObject
*resultobj
= 0;
7489 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7493 PyObject
*swig_obj
[1] ;
7495 if (!args
) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7501 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= (int)wxIconLocation_GetIndex(arg1
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 resultobj
= SWIG_From_int(static_cast< int >(result
));
7515 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7518 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7519 return SWIG_Py_Void();
7522 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7523 return SWIG_Python_InitShadowInstance(args
);
7526 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxIconBundle
*result
= 0 ;
7530 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (wxIconBundle
*)new wxIconBundle();
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7544 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
= 0;
7546 wxString
*arg1
= 0 ;
7548 wxIconBundle
*result
= 0 ;
7549 bool temp1
= false ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7554 char * kwnames
[] = {
7555 (char *) "file",(char *) "type", NULL
7558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7560 arg1
= wxString_in_helper(obj0
);
7561 if (arg1
== NULL
) SWIG_fail
;
7564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7565 if (!SWIG_IsOK(ecode2
)) {
7566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7568 arg2
= static_cast< long >(val2
);
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7590 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
= 0;
7593 wxIconBundle
*result
= 0 ;
7596 PyObject
* obj0
= 0 ;
7597 char * kwnames
[] = {
7598 (char *) "icon", NULL
7601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7602 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7603 if (!SWIG_IsOK(res1
)) {
7604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7609 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7623 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 PyObject
*resultobj
= 0;
7625 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7628 PyObject
*swig_obj
[1] ;
7630 if (!args
) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7636 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_Py_Void();
7651 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
= 0;
7653 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7661 char * kwnames
[] = {
7662 (char *) "self",(char *) "icon", NULL
7665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7667 if (!SWIG_IsOK(res1
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7670 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7672 if (!SWIG_IsOK(res2
)) {
7673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7678 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_Py_Void();
7692 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
= 0;
7694 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7695 wxString
*arg2
= 0 ;
7699 bool temp2
= false ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7704 PyObject
* obj2
= 0 ;
7705 char * kwnames
[] = {
7706 (char *) "self",(char *) "file",(char *) "type", NULL
7709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7711 if (!SWIG_IsOK(res1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7714 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7716 arg2
= wxString_in_helper(obj1
);
7717 if (arg2
== NULL
) SWIG_fail
;
7720 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7721 if (!SWIG_IsOK(ecode3
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7724 arg3
= static_cast< long >(val3
);
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_Py_Void();
7746 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= 0;
7748 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7750 wxIcon
*result
= 0 ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "self",(char *) "size", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7765 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7768 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7774 result
= (wxIcon
*) &_result_ref
;
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 wxIcon
* resultptr
= new wxIcon(*result
);
7781 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7789 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7793 return SWIG_Py_Void();
7796 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 return SWIG_Python_InitShadowInstance(args
);
7800 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxString
*arg1
= 0 ;
7804 int arg3
= (int) 0 ;
7805 int arg4
= (int) 0 ;
7806 wxCursor
*result
= 0 ;
7807 bool temp1
= false ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 PyObject
* obj2
= 0 ;
7817 PyObject
* obj3
= 0 ;
7818 char * kwnames
[] = {
7819 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7824 arg1
= wxString_in_helper(obj0
);
7825 if (arg1
== NULL
) SWIG_fail
;
7828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7829 if (!SWIG_IsOK(ecode2
)) {
7830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7832 arg2
= static_cast< long >(val2
);
7834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7835 if (!SWIG_IsOK(ecode3
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7838 arg3
= static_cast< int >(val3
);
7841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7842 if (!SWIG_IsOK(ecode4
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7845 arg4
= static_cast< int >(val4
);
7848 if (!wxPyCheckForApp()) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7869 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7870 PyObject
*resultobj
= 0;
7871 wxCursor
*arg1
= (wxCursor
*) 0 ;
7874 PyObject
*swig_obj
[1] ;
7876 if (!args
) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7882 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= SWIG_Py_Void();
7897 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
= 0;
7900 wxCursor
*result
= 0 ;
7903 PyObject
* obj0
= 0 ;
7904 char * kwnames
[] = {
7908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7909 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7910 if (!SWIG_IsOK(ecode1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7913 arg1
= static_cast< int >(val1
);
7915 if (!wxPyCheckForApp()) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (wxCursor
*)new wxCursor(arg1
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7928 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= 0;
7931 wxCursor
*result
= 0 ;
7934 PyObject
* obj0
= 0 ;
7935 char * kwnames
[] = {
7936 (char *) "image", NULL
7939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7940 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7941 if (!SWIG_IsOK(res1
)) {
7942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7947 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7949 if (!wxPyCheckForApp()) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7962 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7963 PyObject
*resultobj
= 0;
7964 wxCursor
*arg1
= (wxCursor
*) 0 ;
7968 PyObject
*swig_obj
[1] ;
7970 if (!args
) SWIG_fail
;
7972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7973 if (!SWIG_IsOK(res1
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7976 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (long)(arg1
)->GetHandle();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_From_long(static_cast< long >(result
));
7990 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
= 0;
7992 wxCursor
*arg1
= (wxCursor
*) 0 ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 char * kwnames
[] = {
8001 (char *) "self",(char *) "handle", NULL
8004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8006 if (!SWIG_IsOK(res1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
8009 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8011 if (!SWIG_IsOK(ecode2
)) {
8012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8014 arg2
= static_cast< long >(val2
);
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 wxCursor_SetHandle(arg1
,arg2
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_Py_Void();
8028 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8029 PyObject
*resultobj
= 0;
8030 wxCursor
*arg1
= (wxCursor
*) 0 ;
8034 PyObject
*swig_obj
[1] ;
8036 if (!args
) SWIG_fail
;
8038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8039 if (!SWIG_IsOK(res1
)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8042 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (bool)(arg1
)->Ok();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8058 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 PyObject
*resultobj
= 0;
8060 wxCursor
*arg1
= (wxCursor
*) 0 ;
8064 PyObject
*swig_obj
[1] ;
8066 if (!args
) SWIG_fail
;
8068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8069 if (!SWIG_IsOK(res1
)) {
8070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8072 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= (int)(arg1
)->GetWidth();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_From_int(static_cast< int >(result
));
8086 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8087 PyObject
*resultobj
= 0;
8088 wxCursor
*arg1
= (wxCursor
*) 0 ;
8092 PyObject
*swig_obj
[1] ;
8094 if (!args
) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8100 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (int)(arg1
)->GetHeight();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_From_int(static_cast< int >(result
));
8114 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8115 PyObject
*resultobj
= 0;
8116 wxCursor
*arg1
= (wxCursor
*) 0 ;
8120 PyObject
*swig_obj
[1] ;
8122 if (!args
) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8128 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (int)(arg1
)->GetDepth();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_From_int(static_cast< int >(result
));
8142 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
= 0;
8144 wxCursor
*arg1
= (wxCursor
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8152 char * kwnames
[] = {
8153 (char *) "self",(char *) "w", NULL
8156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8158 if (!SWIG_IsOK(res1
)) {
8159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8161 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8163 if (!SWIG_IsOK(ecode2
)) {
8164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8166 arg2
= static_cast< int >(val2
);
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 (arg1
)->SetWidth(arg2
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_Py_Void();
8180 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
= 0;
8182 wxCursor
*arg1
= (wxCursor
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8190 char * kwnames
[] = {
8191 (char *) "self",(char *) "h", NULL
8194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8196 if (!SWIG_IsOK(res1
)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8199 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8201 if (!SWIG_IsOK(ecode2
)) {
8202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8204 arg2
= static_cast< int >(val2
);
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 (arg1
)->SetHeight(arg2
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= SWIG_Py_Void();
8218 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
= 0;
8220 wxCursor
*arg1
= (wxCursor
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 char * kwnames
[] = {
8229 (char *) "self",(char *) "d", NULL
8232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8237 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8239 if (!SWIG_IsOK(ecode2
)) {
8240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8242 arg2
= static_cast< int >(val2
);
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 (arg1
)->SetDepth(arg2
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_Py_Void();
8256 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
= 0;
8258 wxCursor
*arg1
= (wxCursor
*) 0 ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8265 char * kwnames
[] = {
8266 (char *) "self",(char *) "size", NULL
8269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8271 if (!SWIG_IsOK(res1
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8274 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->SetSize((wxSize
const &)*arg2
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_Py_Void();
8292 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8295 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8296 return SWIG_Py_Void();
8299 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8300 return SWIG_Python_InitShadowInstance(args
);
8303 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8305 int arg1
= (int) 0 ;
8306 int arg2
= (int) 0 ;
8307 int arg3
= (int) 0 ;
8308 int arg4
= (int) 0 ;
8309 wxRegion
*result
= 0 ;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8320 PyObject
* obj2
= 0 ;
8321 PyObject
* obj3
= 0 ;
8322 char * kwnames
[] = {
8323 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8329 if (!SWIG_IsOK(ecode1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8332 arg1
= static_cast< int >(val1
);
8335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8336 if (!SWIG_IsOK(ecode2
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8339 arg2
= static_cast< int >(val2
);
8342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8343 if (!SWIG_IsOK(ecode3
)) {
8344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8346 arg3
= static_cast< int >(val3
);
8349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8350 if (!SWIG_IsOK(ecode4
)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8353 arg4
= static_cast< int >(val4
);
8356 if (!wxPyCheckForApp()) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8369 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
= 0;
8371 wxBitmap
*arg1
= 0 ;
8372 wxRegion
*result
= 0 ;
8375 PyObject
* obj0
= 0 ;
8376 char * kwnames
[] = {
8377 (char *) "bmp", NULL
8380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8381 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8382 if (!SWIG_IsOK(res1
)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8388 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8390 if (!wxPyCheckForApp()) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8403 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
= 0;
8405 wxBitmap
*arg1
= 0 ;
8406 wxColour
*arg2
= 0 ;
8407 int arg3
= (int) 0 ;
8408 wxRegion
*result
= 0 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8416 PyObject
* obj2
= 0 ;
8417 char * kwnames
[] = {
8418 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8422 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8423 if (!SWIG_IsOK(res1
)) {
8424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8429 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8436 if (!SWIG_IsOK(ecode3
)) {
8437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8439 arg3
= static_cast< int >(val3
);
8442 if (!wxPyCheckForApp()) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8455 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= 0;
8458 wxPoint
*arg2
= (wxPoint
*) 0 ;
8459 int arg3
= (int) wxWINDING_RULE
;
8460 wxRegion
*result
= 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 char * kwnames
[] = {
8466 (char *) "points",(char *) "fillStyle", NULL
8469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8471 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8472 if (arg2
== NULL
) SWIG_fail
;
8475 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8476 if (!SWIG_IsOK(ecode3
)) {
8477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8479 arg3
= static_cast< int >(val3
);
8482 if (!wxPyCheckForApp()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8490 if (arg2
) delete [] arg2
;
8495 if (arg2
) delete [] arg2
;
8501 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8502 PyObject
*resultobj
= 0;
8503 wxRegion
*arg1
= (wxRegion
*) 0 ;
8506 PyObject
*swig_obj
[1] ;
8508 if (!args
) SWIG_fail
;
8510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8511 if (!SWIG_IsOK(res1
)) {
8512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8514 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= SWIG_Py_Void();
8529 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8530 PyObject
*resultobj
= 0;
8531 wxRegion
*arg1
= (wxRegion
*) 0 ;
8534 PyObject
*swig_obj
[1] ;
8536 if (!args
) SWIG_fail
;
8538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8539 if (!SWIG_IsOK(res1
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8542 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_Py_Void();
8556 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
= 0;
8558 wxRegion
*arg1
= (wxRegion
*) 0 ;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 PyObject
* obj2
= 0 ;
8571 char * kwnames
[] = {
8572 (char *) "self",(char *) "x",(char *) "y", NULL
8575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8577 if (!SWIG_IsOK(res1
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8580 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8582 if (!SWIG_IsOK(ecode2
)) {
8583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8585 arg2
= static_cast< int >(val2
);
8586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8587 if (!SWIG_IsOK(ecode3
)) {
8588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8590 arg3
= static_cast< int >(val3
);
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8606 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
= 0;
8608 wxRegion
*arg1
= (wxRegion
*) 0 ;
8611 wxRegionContain result
;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 PyObject
* obj2
= 0 ;
8621 char * kwnames
[] = {
8622 (char *) "self",(char *) "x",(char *) "y", NULL
8625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8630 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8632 if (!SWIG_IsOK(ecode2
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8635 arg2
= static_cast< int >(val2
);
8636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8637 if (!SWIG_IsOK(ecode3
)) {
8638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8640 arg3
= static_cast< int >(val3
);
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_From_int(static_cast< int >(result
));
8654 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= 0;
8656 wxRegion
*arg1
= (wxRegion
*) 0 ;
8658 wxRegionContain result
;
8662 PyObject
* obj0
= 0 ;
8663 PyObject
* obj1
= 0 ;
8664 char * kwnames
[] = {
8665 (char *) "self",(char *) "pt", NULL
8668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8670 if (!SWIG_IsOK(res1
)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8673 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_From_int(static_cast< int >(result
));
8691 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
= 0;
8693 wxRegion
*arg1
= (wxRegion
*) 0 ;
8695 wxRegionContain result
;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8701 char * kwnames
[] = {
8702 (char *) "self",(char *) "rect", NULL
8705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8707 if (!SWIG_IsOK(res1
)) {
8708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8710 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8713 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_From_int(static_cast< int >(result
));
8728 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxRegion
*arg1
= (wxRegion
*) 0 ;
8735 wxRegionContain result
;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8748 PyObject
* obj2
= 0 ;
8749 PyObject
* obj3
= 0 ;
8750 PyObject
* obj4
= 0 ;
8751 char * kwnames
[] = {
8752 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8757 if (!SWIG_IsOK(res1
)) {
8758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8760 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8762 if (!SWIG_IsOK(ecode2
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8765 arg2
= static_cast< int >(val2
);
8766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8767 if (!SWIG_IsOK(ecode3
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8770 arg3
= static_cast< int >(val3
);
8771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8772 if (!SWIG_IsOK(ecode4
)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8775 arg4
= static_cast< int >(val4
);
8776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8777 if (!SWIG_IsOK(ecode5
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8780 arg5
= static_cast< int >(val5
);
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_From_int(static_cast< int >(result
));
8794 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8795 PyObject
*resultobj
= 0;
8796 wxRegion
*arg1
= (wxRegion
*) 0 ;
8800 PyObject
*swig_obj
[1] ;
8802 if (!args
) SWIG_fail
;
8804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8805 if (!SWIG_IsOK(res1
)) {
8806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8808 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 result
= (arg1
)->GetBox();
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8822 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
= 0;
8824 wxRegion
*arg1
= (wxRegion
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8845 char * kwnames
[] = {
8846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8851 if (!SWIG_IsOK(res1
)) {
8852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8854 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8856 if (!SWIG_IsOK(ecode2
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8859 arg2
= static_cast< int >(val2
);
8860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8861 if (!SWIG_IsOK(ecode3
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8864 arg3
= static_cast< int >(val3
);
8865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8866 if (!SWIG_IsOK(ecode4
)) {
8867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8869 arg4
= static_cast< int >(val4
);
8870 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8871 if (!SWIG_IsOK(ecode5
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8874 arg5
= static_cast< int >(val5
);
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8890 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
= 0;
8892 wxRegion
*arg1
= (wxRegion
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 char * kwnames
[] = {
8901 (char *) "self",(char *) "rect", NULL
8904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8906 if (!SWIG_IsOK(res1
)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8909 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8929 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
= 0;
8931 wxRegion
*arg1
= (wxRegion
*) 0 ;
8932 wxRegion
*arg2
= 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 char * kwnames
[] = {
8941 (char *) "self",(char *) "region", NULL
8944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8946 if (!SWIG_IsOK(res1
)) {
8947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8949 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8951 if (!SWIG_IsOK(res2
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8957 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8973 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8974 PyObject
*resultobj
= 0;
8975 wxRegion
*arg1
= (wxRegion
*) 0 ;
8979 PyObject
*swig_obj
[1] ;
8981 if (!args
) SWIG_fail
;
8983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8984 if (!SWIG_IsOK(res1
)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8987 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (bool)(arg1
)->IsEmpty();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
= 0;
9005 wxRegion
*arg1
= (wxRegion
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9022 PyObject
* obj1
= 0 ;
9023 PyObject
* obj2
= 0 ;
9024 PyObject
* obj3
= 0 ;
9025 PyObject
* obj4
= 0 ;
9026 char * kwnames
[] = {
9027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9032 if (!SWIG_IsOK(res1
)) {
9033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9035 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9037 if (!SWIG_IsOK(ecode2
)) {
9038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9040 arg2
= static_cast< int >(val2
);
9041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9042 if (!SWIG_IsOK(ecode3
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9045 arg3
= static_cast< int >(val3
);
9046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9047 if (!SWIG_IsOK(ecode4
)) {
9048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9050 arg4
= static_cast< int >(val4
);
9051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9052 if (!SWIG_IsOK(ecode5
)) {
9053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9055 arg5
= static_cast< int >(val5
);
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
= 0;
9073 wxRegion
*arg1
= (wxRegion
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "self",(char *) "rect", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9110 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
= 0;
9112 wxRegion
*arg1
= (wxRegion
*) 0 ;
9113 wxRegion
*arg2
= 0 ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 char * kwnames
[] = {
9122 (char *) "self",(char *) "region", NULL
9125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9127 if (!SWIG_IsOK(res1
)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9130 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9132 if (!SWIG_IsOK(res2
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9138 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9154 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
= 0;
9156 wxRegion
*arg1
= (wxRegion
*) 0 ;
9172 PyObject
* obj0
= 0 ;
9173 PyObject
* obj1
= 0 ;
9174 PyObject
* obj2
= 0 ;
9175 PyObject
* obj3
= 0 ;
9176 PyObject
* obj4
= 0 ;
9177 char * kwnames
[] = {
9178 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9183 if (!SWIG_IsOK(res1
)) {
9184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9186 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9188 if (!SWIG_IsOK(ecode2
)) {
9189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9191 arg2
= static_cast< int >(val2
);
9192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9193 if (!SWIG_IsOK(ecode3
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9196 arg3
= static_cast< int >(val3
);
9197 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9198 if (!SWIG_IsOK(ecode4
)) {
9199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9201 arg4
= static_cast< int >(val4
);
9202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9203 if (!SWIG_IsOK(ecode5
)) {
9204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9206 arg5
= static_cast< int >(val5
);
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9222 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
= 0;
9224 wxRegion
*arg1
= (wxRegion
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "self",(char *) "rect", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9238 if (!SWIG_IsOK(res1
)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9241 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9244 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9261 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
= 0;
9263 wxRegion
*arg1
= (wxRegion
*) 0 ;
9264 wxRegion
*arg2
= 0 ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "region", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9281 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9283 if (!SWIG_IsOK(res2
)) {
9284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9289 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9305 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= 0;
9307 wxRegion
*arg1
= (wxRegion
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 PyObject
* obj3
= 0 ;
9327 PyObject
* obj4
= 0 ;
9328 char * kwnames
[] = {
9329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9334 if (!SWIG_IsOK(res1
)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9337 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9339 if (!SWIG_IsOK(ecode2
)) {
9340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9342 arg2
= static_cast< int >(val2
);
9343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9344 if (!SWIG_IsOK(ecode3
)) {
9345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9347 arg3
= static_cast< int >(val3
);
9348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9349 if (!SWIG_IsOK(ecode4
)) {
9350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9352 arg4
= static_cast< int >(val4
);
9353 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9354 if (!SWIG_IsOK(ecode5
)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9357 arg5
= static_cast< int >(val5
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9373 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
= 0;
9375 wxRegion
*arg1
= (wxRegion
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9383 char * kwnames
[] = {
9384 (char *) "self",(char *) "rect", NULL
9387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9389 if (!SWIG_IsOK(res1
)) {
9390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9392 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9395 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9412 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
= 0;
9414 wxRegion
*arg1
= (wxRegion
*) 0 ;
9415 wxRegion
*arg2
= 0 ;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9423 char * kwnames
[] = {
9424 (char *) "self",(char *) "region", NULL
9427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9429 if (!SWIG_IsOK(res1
)) {
9430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9432 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9434 if (!SWIG_IsOK(res2
)) {
9435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9440 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9456 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9457 PyObject
*resultobj
= 0;
9458 wxRegion
*arg1
= (wxRegion
*) 0 ;
9459 SwigValueWrapper
<wxBitmap
> result
;
9462 PyObject
*swig_obj
[1] ;
9464 if (!args
) SWIG_fail
;
9466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9467 if (!SWIG_IsOK(res1
)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9470 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (arg1
)->ConvertToBitmap();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9484 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxRegion
*arg1
= (wxRegion
*) 0 ;
9487 wxBitmap
*arg2
= 0 ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 char * kwnames
[] = {
9496 (char *) "self",(char *) "bmp", NULL
9499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9501 if (!SWIG_IsOK(res1
)) {
9502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9506 if (!SWIG_IsOK(res2
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9512 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9528 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
= 0;
9530 wxRegion
*arg1
= (wxRegion
*) 0 ;
9531 wxBitmap
*arg2
= 0 ;
9532 wxColour
*arg3
= 0 ;
9533 int arg4
= (int) 0 ;
9542 PyObject
* obj0
= 0 ;
9543 PyObject
* obj1
= 0 ;
9544 PyObject
* obj2
= 0 ;
9545 PyObject
* obj3
= 0 ;
9546 char * kwnames
[] = {
9547 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9552 if (!SWIG_IsOK(res1
)) {
9553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9555 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9557 if (!SWIG_IsOK(res2
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9563 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9566 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9570 if (!SWIG_IsOK(ecode4
)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9573 arg4
= static_cast< int >(val4
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9593 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9594 return SWIG_Py_Void();
9597 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9598 return SWIG_Python_InitShadowInstance(args
);
9601 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
= 0;
9603 wxRegion
*arg1
= 0 ;
9604 wxRegionIterator
*result
= 0 ;
9607 PyObject
* obj0
= 0 ;
9608 char * kwnames
[] = {
9609 (char *) "region", NULL
9612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9620 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9622 if (!wxPyCheckForApp()) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9635 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9636 PyObject
*resultobj
= 0;
9637 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9640 PyObject
*swig_obj
[1] ;
9642 if (!args
) SWIG_fail
;
9644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9645 if (!SWIG_IsOK(res1
)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9648 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9664 PyObject
*resultobj
= 0;
9665 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9669 PyObject
*swig_obj
[1] ;
9671 if (!args
) SWIG_fail
;
9673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9674 if (!SWIG_IsOK(res1
)) {
9675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9677 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (int)(arg1
)->GetX();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= SWIG_From_int(static_cast< int >(result
));
9691 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9692 PyObject
*resultobj
= 0;
9693 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9697 PyObject
*swig_obj
[1] ;
9699 if (!args
) SWIG_fail
;
9701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9702 if (!SWIG_IsOK(res1
)) {
9703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9705 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (int)(arg1
)->GetY();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_From_int(static_cast< int >(result
));
9719 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9720 PyObject
*resultobj
= 0;
9721 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9725 PyObject
*swig_obj
[1] ;
9727 if (!args
) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9733 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (int)(arg1
)->GetW();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_From_int(static_cast< int >(result
));
9747 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9748 PyObject
*resultobj
= 0;
9749 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9753 PyObject
*swig_obj
[1] ;
9755 if (!args
) SWIG_fail
;
9757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9758 if (!SWIG_IsOK(res1
)) {
9759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9761 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (int)(arg1
)->GetWidth();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_From_int(static_cast< int >(result
));
9775 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9776 PyObject
*resultobj
= 0;
9777 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9781 PyObject
*swig_obj
[1] ;
9783 if (!args
) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9789 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (int)(arg1
)->GetH();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_From_int(static_cast< int >(result
));
9803 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9804 PyObject
*resultobj
= 0;
9805 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9809 PyObject
*swig_obj
[1] ;
9811 if (!args
) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9817 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (int)(arg1
)->GetHeight();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_int(static_cast< int >(result
));
9831 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9832 PyObject
*resultobj
= 0;
9833 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9837 PyObject
*swig_obj
[1] ;
9839 if (!args
) SWIG_fail
;
9841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9842 if (!SWIG_IsOK(res1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9845 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (arg1
)->GetRect();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9859 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9860 PyObject
*resultobj
= 0;
9861 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9865 PyObject
*swig_obj
[1] ;
9867 if (!args
) SWIG_fail
;
9869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9870 if (!SWIG_IsOK(res1
)) {
9871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9873 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (bool)(arg1
)->HaveRects();
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9889 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9890 PyObject
*resultobj
= 0;
9891 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9894 PyObject
*swig_obj
[1] ;
9896 if (!args
) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9902 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_Py_Void();
9916 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9917 PyObject
*resultobj
= 0;
9918 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9921 PyObject
*swig_obj
[1] ;
9923 if (!args
) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9929 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 wxRegionIterator_Next(arg1
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_Py_Void();
9943 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9944 PyObject
*resultobj
= 0;
9945 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9949 PyObject
*swig_obj
[1] ;
9951 if (!args
) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9957 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9973 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9976 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9977 return SWIG_Py_Void();
9980 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9981 return SWIG_Python_InitShadowInstance(args
);
9984 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9985 PyObject
*resultobj
= 0;
9986 wxNativeFontInfo
*result
= 0 ;
9988 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
10002 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10003 PyObject
*resultobj
= 0;
10004 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10007 PyObject
*swig_obj
[1] ;
10009 if (!args
) SWIG_fail
;
10010 swig_obj
[0] = args
;
10011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10015 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_Py_Void();
10030 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10031 PyObject
*resultobj
= 0;
10032 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10035 PyObject
*swig_obj
[1] ;
10037 if (!args
) SWIG_fail
;
10038 swig_obj
[0] = args
;
10039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10040 if (!SWIG_IsOK(res1
)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10043 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_Py_Void();
10057 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= 0;
10059 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "self",(char *) "font", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10076 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10078 if (!SWIG_IsOK(res2
)) {
10079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10084 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_Py_Void();
10098 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10099 PyObject
*resultobj
= 0;
10100 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10104 PyObject
*swig_obj
[1] ;
10106 if (!args
) SWIG_fail
;
10107 swig_obj
[0] = args
;
10108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10109 if (!SWIG_IsOK(res1
)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10112 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_From_int(static_cast< int >(result
));
10126 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10127 PyObject
*resultobj
= 0;
10128 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10132 PyObject
*swig_obj
[1] ;
10134 if (!args
) SWIG_fail
;
10135 swig_obj
[0] = args
;
10136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10137 if (!SWIG_IsOK(res1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10140 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10154 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10157 wxFontStyle result
;
10160 PyObject
*swig_obj
[1] ;
10162 if (!args
) SWIG_fail
;
10163 swig_obj
[0] = args
;
10164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10168 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_From_int(static_cast< int >(result
));
10182 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10183 PyObject
*resultobj
= 0;
10184 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10185 wxFontWeight result
;
10188 PyObject
*swig_obj
[1] ;
10190 if (!args
) SWIG_fail
;
10191 swig_obj
[0] = args
;
10192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10196 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_From_int(static_cast< int >(result
));
10210 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10211 PyObject
*resultobj
= 0;
10212 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10216 PyObject
*swig_obj
[1] ;
10218 if (!args
) SWIG_fail
;
10219 swig_obj
[0] = args
;
10220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10221 if (!SWIG_IsOK(res1
)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10224 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10240 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10241 PyObject
*resultobj
= 0;
10242 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10246 PyObject
*swig_obj
[1] ;
10248 if (!args
) SWIG_fail
;
10249 swig_obj
[0] = args
;
10250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10251 if (!SWIG_IsOK(res1
)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10254 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10274 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10275 PyObject
*resultobj
= 0;
10276 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10277 wxFontFamily result
;
10280 PyObject
*swig_obj
[1] ;
10282 if (!args
) SWIG_fail
;
10283 swig_obj
[0] = args
;
10284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10288 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_From_int(static_cast< int >(result
));
10302 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10303 PyObject
*resultobj
= 0;
10304 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10305 wxFontEncoding result
;
10308 PyObject
*swig_obj
[1] ;
10310 if (!args
) SWIG_fail
;
10311 swig_obj
[0] = args
;
10312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10313 if (!SWIG_IsOK(res1
)) {
10314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10316 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_From_int(static_cast< int >(result
));
10330 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
= 0;
10332 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "pointsize", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10349 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10354 arg2
= static_cast< int >(val2
);
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 (arg1
)->SetPointSize(arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_Py_Void();
10368 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
= 0;
10370 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 char * kwnames
[] = {
10378 (char *) "self",(char *) "pixelSize", NULL
10381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10383 if (!SWIG_IsOK(res1
)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10386 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10389 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_Py_Void();
10404 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
= 0;
10406 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 char * kwnames
[] = {
10415 (char *) "self",(char *) "style", NULL
10418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10420 if (!SWIG_IsOK(res1
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10423 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10425 if (!SWIG_IsOK(ecode2
)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10428 arg2
= static_cast< wxFontStyle
>(val2
);
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 (arg1
)->SetStyle(arg2
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= SWIG_Py_Void();
10442 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
= 0;
10444 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10445 wxFontWeight arg2
;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 char * kwnames
[] = {
10453 (char *) "self",(char *) "weight", NULL
10456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10458 if (!SWIG_IsOK(res1
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10461 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10463 if (!SWIG_IsOK(ecode2
)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10466 arg2
= static_cast< wxFontWeight
>(val2
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->SetWeight(arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_Py_Void();
10480 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
= 0;
10482 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10489 PyObject
* obj1
= 0 ;
10490 char * kwnames
[] = {
10491 (char *) "self",(char *) "underlined", NULL
10494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10499 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10500 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10501 if (!SWIG_IsOK(ecode2
)) {
10502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10504 arg2
= static_cast< bool >(val2
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 (arg1
)->SetUnderlined(arg2
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_Py_Void();
10518 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
= 0;
10520 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char * kwnames
[] = {
10528 (char *) "self",(char *) "facename", NULL
10531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10536 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10538 wxString
* sptr
= wxString_in_helper(obj1
);
10539 if (sptr
== NULL
) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (bool)(arg1
)->SetFaceName(arg2
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10558 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
= 0;
10560 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10561 wxFontFamily arg2
;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char * kwnames
[] = {
10569 (char *) "self",(char *) "family", NULL
10572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10577 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10579 if (!SWIG_IsOK(ecode2
)) {
10580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10582 arg2
= static_cast< wxFontFamily
>(val2
);
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 (arg1
)->SetFamily(arg2
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= SWIG_Py_Void();
10596 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
= 0;
10598 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10599 wxFontEncoding arg2
;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 char * kwnames
[] = {
10607 (char *) "self",(char *) "encoding", NULL
10610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10612 if (!SWIG_IsOK(res1
)) {
10613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10615 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10617 if (!SWIG_IsOK(ecode2
)) {
10618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10620 arg2
= static_cast< wxFontEncoding
>(val2
);
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->SetEncoding(arg2
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= SWIG_Py_Void();
10634 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= 0;
10636 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10637 wxString
*arg2
= 0 ;
10641 bool temp2
= false ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 char * kwnames
[] = {
10645 (char *) "self",(char *) "s", NULL
10648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10650 if (!SWIG_IsOK(res1
)) {
10651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10653 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10655 arg2
= wxString_in_helper(obj1
);
10656 if (arg2
== NULL
) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10683 PyObject
*resultobj
= 0;
10684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10688 PyObject
*swig_obj
[1] ;
10690 if (!args
) SWIG_fail
;
10691 swig_obj
[0] = args
;
10692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10693 if (!SWIG_IsOK(res1
)) {
10694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10696 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10716 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10717 PyObject
*resultobj
= 0;
10718 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10722 PyObject
*swig_obj
[1] ;
10724 if (!args
) SWIG_fail
;
10725 swig_obj
[0] = args
;
10726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10727 if (!SWIG_IsOK(res1
)) {
10728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10730 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= wxNativeFontInfo___str__(arg1
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10750 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10752 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10753 wxString
*arg2
= 0 ;
10757 bool temp2
= false ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char * kwnames
[] = {
10761 (char *) "self",(char *) "s", NULL
10764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10769 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10771 arg2
= wxString_in_helper(obj1
);
10772 if (arg2
== NULL
) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10798 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10799 PyObject
*resultobj
= 0;
10800 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10804 PyObject
*swig_obj
[1] ;
10806 if (!args
) SWIG_fail
;
10807 swig_obj
[0] = args
;
10808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10809 if (!SWIG_IsOK(res1
)) {
10810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10812 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10832 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10835 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10836 return SWIG_Py_Void();
10839 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10840 return SWIG_Python_InitShadowInstance(args
);
10843 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10844 PyObject
*resultobj
= 0;
10845 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10846 wxString
*arg2
= (wxString
*) 0 ;
10849 bool temp2
= false ;
10850 PyObject
*swig_obj
[2] ;
10852 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10854 if (!SWIG_IsOK(res1
)) {
10855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10857 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10859 arg2
= wxString_in_helper(swig_obj
[1]);
10860 if (arg2
== NULL
) SWIG_fail
;
10863 if (arg1
) (arg1
)->facename
= *arg2
;
10865 resultobj
= SWIG_Py_Void();
10880 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10881 PyObject
*resultobj
= 0;
10882 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10883 wxString
*result
= 0 ;
10886 PyObject
*swig_obj
[1] ;
10888 if (!args
) SWIG_fail
;
10889 swig_obj
[0] = args
;
10890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10891 if (!SWIG_IsOK(res1
)) {
10892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10894 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10895 result
= (wxString
*)& ((arg1
)->facename
);
10898 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10900 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10909 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10910 PyObject
*resultobj
= 0;
10911 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10912 wxFontEncoding arg2
;
10917 PyObject
*swig_obj
[2] ;
10919 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10921 if (!SWIG_IsOK(res1
)) {
10922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10924 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10925 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10926 if (!SWIG_IsOK(ecode2
)) {
10927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10929 arg2
= static_cast< wxFontEncoding
>(val2
);
10930 if (arg1
) (arg1
)->encoding
= arg2
;
10932 resultobj
= SWIG_Py_Void();
10939 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10940 PyObject
*resultobj
= 0;
10941 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10942 wxFontEncoding result
;
10945 PyObject
*swig_obj
[1] ;
10947 if (!args
) SWIG_fail
;
10948 swig_obj
[0] = args
;
10949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10953 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10954 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10955 resultobj
= SWIG_From_int(static_cast< int >(result
));
10962 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxNativeEncodingInfo
*result
= 0 ;
10966 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10980 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10981 PyObject
*resultobj
= 0;
10982 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10985 PyObject
*swig_obj
[1] ;
10987 if (!args
) SWIG_fail
;
10988 swig_obj
[0] = args
;
10989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10990 if (!SWIG_IsOK(res1
)) {
10991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10993 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= SWIG_Py_Void();
11008 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
= 0;
11010 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11011 wxString
*arg2
= 0 ;
11015 bool temp2
= false ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 char * kwnames
[] = {
11019 (char *) "self",(char *) "s", NULL
11022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11024 if (!SWIG_IsOK(res1
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11027 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11029 arg2
= wxString_in_helper(obj1
);
11030 if (arg2
== NULL
) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 PyObject
*resultobj
= 0;
11058 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11062 PyObject
*swig_obj
[1] ;
11064 if (!args
) SWIG_fail
;
11065 swig_obj
[0] = args
;
11066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11070 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11090 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11093 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11094 return SWIG_Py_Void();
11097 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11098 return SWIG_Python_InitShadowInstance(args
);
11101 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
= 0;
11103 wxFontEncoding arg1
;
11104 wxNativeEncodingInfo
*result
= 0 ;
11107 PyObject
* obj0
= 0 ;
11108 char * kwnames
[] = {
11109 (char *) "encoding", NULL
11112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11114 if (!SWIG_IsOK(ecode1
)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11117 arg1
= static_cast< wxFontEncoding
>(val1
);
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11131 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= 0;
11133 wxNativeEncodingInfo
*arg1
= 0 ;
11137 PyObject
* obj0
= 0 ;
11138 char * kwnames
[] = {
11139 (char *) "info", NULL
11142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11143 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11144 if (!SWIG_IsOK(res1
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11150 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxFontMapper
*result
= 0 ;
11170 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (wxFontMapper
*)new wxFontMapper();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11184 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11189 PyObject
*swig_obj
[1] ;
11191 if (!args
) SWIG_fail
;
11192 swig_obj
[0] = args
;
11193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11197 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_Py_Void();
11212 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11213 PyObject
*resultobj
= 0;
11214 wxFontMapper
*result
= 0 ;
11216 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (wxFontMapper
*)wxFontMapper::Get();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11230 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
= 0;
11232 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11233 wxFontMapper
*result
= 0 ;
11236 PyObject
* obj0
= 0 ;
11237 char * kwnames
[] = {
11238 (char *) "mapper", NULL
11241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11243 if (!SWIG_IsOK(res1
)) {
11244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11246 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11260 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
= 0;
11262 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11263 wxString
*arg2
= 0 ;
11264 bool arg3
= (bool) true ;
11265 wxFontEncoding result
;
11268 bool temp2
= false ;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 PyObject
* obj2
= 0 ;
11274 char * kwnames
[] = {
11275 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11280 if (!SWIG_IsOK(res1
)) {
11281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11283 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11285 arg2
= wxString_in_helper(obj1
);
11286 if (arg2
== NULL
) SWIG_fail
;
11290 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11291 if (!SWIG_IsOK(ecode3
)) {
11292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11294 arg3
= static_cast< bool >(val3
);
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_From_int(static_cast< int >(result
));
11317 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11318 PyObject
*resultobj
= 0;
11321 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11335 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
= 0;
11338 wxFontEncoding result
;
11341 PyObject
* obj0
= 0 ;
11342 char * kwnames
[] = {
11346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11347 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11348 if (!SWIG_IsOK(ecode1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11351 arg1
= static_cast< size_t >(val1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_From_int(static_cast< int >(result
));
11365 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= 0;
11367 wxFontEncoding arg1
;
11371 PyObject
* obj0
= 0 ;
11372 char * kwnames
[] = {
11373 (char *) "encoding", NULL
11376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11378 if (!SWIG_IsOK(ecode1
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11381 arg1
= static_cast< wxFontEncoding
>(val1
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= wxFontMapper::GetEncodingName(arg1
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11401 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
= 0;
11403 wxFontEncoding arg1
;
11407 PyObject
* obj0
= 0 ;
11408 char * kwnames
[] = {
11409 (char *) "encoding", NULL
11412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11413 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11414 if (!SWIG_IsOK(ecode1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11417 arg1
= static_cast< wxFontEncoding
>(val1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= wxFontMapper::GetEncodingDescription(arg1
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11437 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
= 0;
11439 wxString
*arg1
= 0 ;
11440 wxFontEncoding result
;
11441 bool temp1
= false ;
11442 PyObject
* obj0
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "name", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11449 arg1
= wxString_in_helper(obj0
);
11450 if (arg1
== NULL
) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_From_int(static_cast< int >(result
));
11474 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
= 0;
11476 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11477 wxString
*arg2
= 0 ;
11480 bool temp2
= false ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "self",(char *) "prefix", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11492 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11494 arg2
= wxString_in_helper(obj1
);
11495 if (arg2
== NULL
) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 resultobj
= SWIG_Py_Void();
11519 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11520 PyObject
*resultobj
= 0;
11523 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= wxFontMapper::GetDefaultConfigPath();
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11543 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
= 0;
11545 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11546 wxFontEncoding arg2
;
11547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11549 bool arg4
= (bool) true ;
11550 PyObject
*result
= 0 ;
11555 bool temp3
= false ;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11571 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11573 if (!SWIG_IsOK(ecode2
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11576 arg2
= static_cast< wxFontEncoding
>(val2
);
11579 arg3
= wxString_in_helper(obj2
);
11580 if (arg3
== NULL
) SWIG_fail
;
11585 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11586 if (!SWIG_IsOK(ecode4
)) {
11587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11589 arg4
= static_cast< bool >(val4
);
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= result
;
11612 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
= 0;
11614 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11615 wxFontEncoding arg2
;
11616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11623 bool temp3
= false ;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 PyObject
* obj2
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11636 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11638 if (!SWIG_IsOK(ecode2
)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11641 arg2
= static_cast< wxFontEncoding
>(val2
);
11644 arg3
= wxString_in_helper(obj2
);
11645 if (arg3
== NULL
) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11672 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
= 0;
11674 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11675 wxWindow
*arg2
= (wxWindow
*) 0 ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 char * kwnames
[] = {
11683 (char *) "self",(char *) "parent", NULL
11686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11688 if (!SWIG_IsOK(res1
)) {
11689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11691 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11693 if (!SWIG_IsOK(res2
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->SetDialogParent(arg2
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_Py_Void();
11710 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
= 0;
11712 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11713 wxString
*arg2
= 0 ;
11716 bool temp2
= false ;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 char * kwnames
[] = {
11720 (char *) "self",(char *) "title", NULL
11723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11725 if (!SWIG_IsOK(res1
)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11728 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11730 arg2
= wxString_in_helper(obj1
);
11731 if (arg2
== NULL
) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_Py_Void();
11755 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11758 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11759 return SWIG_Py_Void();
11762 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11763 return SWIG_Python_InitShadowInstance(args
);
11766 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
= 0;
11772 bool arg5
= (bool) false ;
11773 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11774 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11775 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11776 wxFont
*result
= 0 ;
11787 bool temp6
= false ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 PyObject
* obj2
= 0 ;
11793 PyObject
* obj3
= 0 ;
11794 PyObject
* obj4
= 0 ;
11795 PyObject
* obj5
= 0 ;
11796 PyObject
* obj6
= 0 ;
11797 char * kwnames
[] = {
11798 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11802 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11803 if (!SWIG_IsOK(ecode1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11806 arg1
= static_cast< int >(val1
);
11807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11808 if (!SWIG_IsOK(ecode2
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11811 arg2
= static_cast< int >(val2
);
11812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11813 if (!SWIG_IsOK(ecode3
)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11816 arg3
= static_cast< int >(val3
);
11817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11818 if (!SWIG_IsOK(ecode4
)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11821 arg4
= static_cast< int >(val4
);
11823 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11824 if (!SWIG_IsOK(ecode5
)) {
11825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11827 arg5
= static_cast< bool >(val5
);
11831 arg6
= wxString_in_helper(obj5
);
11832 if (arg6
== NULL
) SWIG_fail
;
11837 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11838 if (!SWIG_IsOK(ecode7
)) {
11839 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11841 arg7
= static_cast< wxFontEncoding
>(val7
);
11844 if (!wxPyCheckForApp()) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11865 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11866 PyObject
*resultobj
= 0;
11867 wxFont
*arg1
= (wxFont
*) 0 ;
11870 PyObject
*swig_obj
[1] ;
11872 if (!args
) SWIG_fail
;
11873 swig_obj
[0] = args
;
11874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11878 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_Py_Void();
11893 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= 0;
11895 wxNativeFontInfo
*arg1
= 0 ;
11896 wxFont
*result
= 0 ;
11899 PyObject
* obj0
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "info", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11912 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11914 if (!wxPyCheckForApp()) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11927 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
= 0;
11929 wxString
*arg1
= 0 ;
11930 wxFont
*result
= 0 ;
11931 bool temp1
= false ;
11932 PyObject
* obj0
= 0 ;
11933 char * kwnames
[] = {
11934 (char *) "info", NULL
11937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11939 arg1
= wxString_in_helper(obj0
);
11940 if (arg1
== NULL
) SWIG_fail
;
11944 if (!wxPyCheckForApp()) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11965 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
= 0;
11968 wxFontFamily arg2
;
11969 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11970 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11971 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11972 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11973 wxFont
*result
= 0 ;
11980 bool temp4
= false ;
11983 PyObject
* obj0
= 0 ;
11984 PyObject
* obj1
= 0 ;
11985 PyObject
* obj2
= 0 ;
11986 PyObject
* obj3
= 0 ;
11987 PyObject
* obj4
= 0 ;
11988 char * kwnames
[] = {
11989 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11994 if (!SWIG_IsOK(ecode1
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11997 arg1
= static_cast< int >(val1
);
11998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11999 if (!SWIG_IsOK(ecode2
)) {
12000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
12002 arg2
= static_cast< wxFontFamily
>(val2
);
12004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12005 if (!SWIG_IsOK(ecode3
)) {
12006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
12008 arg3
= static_cast< int >(val3
);
12012 arg4
= wxString_in_helper(obj3
);
12013 if (arg4
== NULL
) SWIG_fail
;
12018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12019 if (!SWIG_IsOK(ecode5
)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12022 arg5
= static_cast< wxFontEncoding
>(val5
);
12025 if (!wxPyCheckForApp()) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12046 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
= 0;
12052 bool arg5
= (bool) false ;
12053 wxString
const &arg6_defvalue
= wxEmptyString
;
12054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12055 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12056 wxFont
*result
= 0 ;
12066 bool temp6
= false ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 PyObject
* obj2
= 0 ;
12072 PyObject
* obj3
= 0 ;
12073 PyObject
* obj4
= 0 ;
12074 PyObject
* obj5
= 0 ;
12075 PyObject
* obj6
= 0 ;
12076 char * kwnames
[] = {
12077 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12083 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12086 if (!SWIG_IsOK(ecode2
)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12089 arg2
= static_cast< int >(val2
);
12090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12091 if (!SWIG_IsOK(ecode3
)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12094 arg3
= static_cast< int >(val3
);
12095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12096 if (!SWIG_IsOK(ecode4
)) {
12097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12099 arg4
= static_cast< int >(val4
);
12101 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12102 if (!SWIG_IsOK(ecode5
)) {
12103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12105 arg5
= static_cast< bool >(val5
);
12109 arg6
= wxString_in_helper(obj5
);
12110 if (arg6
== NULL
) SWIG_fail
;
12115 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12116 if (!SWIG_IsOK(ecode7
)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12119 arg7
= static_cast< wxFontEncoding
>(val7
);
12122 if (!wxPyCheckForApp()) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12143 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
= 0;
12146 wxFontFamily arg2
;
12147 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12148 wxString
const &arg4_defvalue
= wxEmptyString
;
12149 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12150 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12151 wxFont
*result
= 0 ;
12157 bool temp4
= false ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 PyObject
* obj3
= 0 ;
12164 PyObject
* obj4
= 0 ;
12165 char * kwnames
[] = {
12166 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12172 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12175 if (!SWIG_IsOK(ecode2
)) {
12176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12178 arg2
= static_cast< wxFontFamily
>(val2
);
12180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12181 if (!SWIG_IsOK(ecode3
)) {
12182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12184 arg3
= static_cast< int >(val3
);
12188 arg4
= wxString_in_helper(obj3
);
12189 if (arg4
== NULL
) SWIG_fail
;
12194 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12195 if (!SWIG_IsOK(ecode5
)) {
12196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12198 arg5
= static_cast< wxFontEncoding
>(val5
);
12201 if (!wxPyCheckForApp()) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12222 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 wxFont
*arg1
= (wxFont
*) 0 ;
12228 PyObject
*swig_obj
[1] ;
12230 if (!args
) SWIG_fail
;
12231 swig_obj
[0] = args
;
12232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12233 if (!SWIG_IsOK(res1
)) {
12234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12236 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (bool)((wxFont
const *)arg1
)->Ok();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12252 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
= 0;
12254 wxFont
*arg1
= (wxFont
*) 0 ;
12255 wxFont
*arg2
= (wxFont
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char * kwnames
[] = {
12264 (char *) "self",(char *) "other", NULL
12267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12272 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12274 if (!SWIG_IsOK(res2
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12277 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12293 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
= 0;
12295 wxFont
*arg1
= (wxFont
*) 0 ;
12296 wxFont
*arg2
= (wxFont
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 PyObject
* obj1
= 0 ;
12304 char * kwnames
[] = {
12305 (char *) "self",(char *) "other", NULL
12308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12310 if (!SWIG_IsOK(res1
)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12313 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12315 if (!SWIG_IsOK(res2
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12318 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12334 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12335 PyObject
*resultobj
= 0;
12336 wxFont
*arg1
= (wxFont
*) 0 ;
12340 PyObject
*swig_obj
[1] ;
12342 if (!args
) SWIG_fail
;
12343 swig_obj
[0] = args
;
12344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12348 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_From_int(static_cast< int >(result
));
12362 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 PyObject
*resultobj
= 0;
12364 wxFont
*arg1
= (wxFont
*) 0 ;
12368 PyObject
*swig_obj
[1] ;
12370 if (!args
) SWIG_fail
;
12371 swig_obj
[0] = args
;
12372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12376 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12390 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12391 PyObject
*resultobj
= 0;
12392 wxFont
*arg1
= (wxFont
*) 0 ;
12396 PyObject
*swig_obj
[1] ;
12398 if (!args
) SWIG_fail
;
12399 swig_obj
[0] = args
;
12400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12401 if (!SWIG_IsOK(res1
)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12404 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12420 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12421 PyObject
*resultobj
= 0;
12422 wxFont
*arg1
= (wxFont
*) 0 ;
12426 PyObject
*swig_obj
[1] ;
12428 if (!args
) SWIG_fail
;
12429 swig_obj
[0] = args
;
12430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12431 if (!SWIG_IsOK(res1
)) {
12432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12434 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_From_int(static_cast< int >(result
));
12448 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12449 PyObject
*resultobj
= 0;
12450 wxFont
*arg1
= (wxFont
*) 0 ;
12454 PyObject
*swig_obj
[1] ;
12456 if (!args
) SWIG_fail
;
12457 swig_obj
[0] = args
;
12458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12462 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_From_int(static_cast< int >(result
));
12476 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12477 PyObject
*resultobj
= 0;
12478 wxFont
*arg1
= (wxFont
*) 0 ;
12482 PyObject
*swig_obj
[1] ;
12484 if (!args
) SWIG_fail
;
12485 swig_obj
[0] = args
;
12486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12487 if (!SWIG_IsOK(res1
)) {
12488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12490 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_From_int(static_cast< int >(result
));
12504 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12505 PyObject
*resultobj
= 0;
12506 wxFont
*arg1
= (wxFont
*) 0 ;
12510 PyObject
*swig_obj
[1] ;
12512 if (!args
) SWIG_fail
;
12513 swig_obj
[0] = args
;
12514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12515 if (!SWIG_IsOK(res1
)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12518 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12534 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12535 PyObject
*resultobj
= 0;
12536 wxFont
*arg1
= (wxFont
*) 0 ;
12540 PyObject
*swig_obj
[1] ;
12542 if (!args
) SWIG_fail
;
12543 swig_obj
[0] = args
;
12544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12548 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= ((wxFont
const *)arg1
)->GetFaceName();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12568 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12569 PyObject
*resultobj
= 0;
12570 wxFont
*arg1
= (wxFont
*) 0 ;
12571 wxFontEncoding result
;
12574 PyObject
*swig_obj
[1] ;
12576 if (!args
) SWIG_fail
;
12577 swig_obj
[0] = args
;
12578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12579 if (!SWIG_IsOK(res1
)) {
12580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12582 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_From_int(static_cast< int >(result
));
12596 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12597 PyObject
*resultobj
= 0;
12598 wxFont
*arg1
= (wxFont
*) 0 ;
12599 wxNativeFontInfo
*result
= 0 ;
12602 PyObject
*swig_obj
[1] ;
12604 if (!args
) SWIG_fail
;
12605 swig_obj
[0] = args
;
12606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12610 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12624 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12625 PyObject
*resultobj
= 0;
12626 wxFont
*arg1
= (wxFont
*) 0 ;
12630 PyObject
*swig_obj
[1] ;
12632 if (!args
) SWIG_fail
;
12633 swig_obj
[0] = args
;
12634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12635 if (!SWIG_IsOK(res1
)) {
12636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12638 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12654 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12655 PyObject
*resultobj
= 0;
12656 wxFont
*arg1
= (wxFont
*) 0 ;
12660 PyObject
*swig_obj
[1] ;
12662 if (!args
) SWIG_fail
;
12663 swig_obj
[0] = args
;
12664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12665 if (!SWIG_IsOK(res1
)) {
12666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12668 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12688 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12689 PyObject
*resultobj
= 0;
12690 wxFont
*arg1
= (wxFont
*) 0 ;
12694 PyObject
*swig_obj
[1] ;
12696 if (!args
) SWIG_fail
;
12697 swig_obj
[0] = args
;
12698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12699 if (!SWIG_IsOK(res1
)) {
12700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12702 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12722 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
= 0;
12724 wxFont
*arg1
= (wxFont
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char * kwnames
[] = {
12733 (char *) "self",(char *) "pointSize", NULL
12736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12741 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12743 if (!SWIG_IsOK(ecode2
)) {
12744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12746 arg2
= static_cast< int >(val2
);
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->SetPointSize(arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_Py_Void();
12760 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
= 0;
12762 wxFont
*arg1
= (wxFont
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 char * kwnames
[] = {
12770 (char *) "self",(char *) "pixelSize", NULL
12773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12775 if (!SWIG_IsOK(res1
)) {
12776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12778 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12781 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= SWIG_Py_Void();
12796 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
= 0;
12798 wxFont
*arg1
= (wxFont
*) 0 ;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 char * kwnames
[] = {
12807 (char *) "self",(char *) "family", NULL
12810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12812 if (!SWIG_IsOK(res1
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12815 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12817 if (!SWIG_IsOK(ecode2
)) {
12818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12820 arg2
= static_cast< int >(val2
);
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 (arg1
)->SetFamily(arg2
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= SWIG_Py_Void();
12834 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
= 0;
12836 wxFont
*arg1
= (wxFont
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char * kwnames
[] = {
12845 (char *) "self",(char *) "style", NULL
12848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12850 if (!SWIG_IsOK(res1
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12853 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12855 if (!SWIG_IsOK(ecode2
)) {
12856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12858 arg2
= static_cast< int >(val2
);
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 (arg1
)->SetStyle(arg2
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 resultobj
= SWIG_Py_Void();
12872 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
= 0;
12874 wxFont
*arg1
= (wxFont
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 PyObject
* obj1
= 0 ;
12882 char * kwnames
[] = {
12883 (char *) "self",(char *) "weight", NULL
12886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12888 if (!SWIG_IsOK(res1
)) {
12889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12891 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12893 if (!SWIG_IsOK(ecode2
)) {
12894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12896 arg2
= static_cast< int >(val2
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 (arg1
)->SetWeight(arg2
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= SWIG_Py_Void();
12910 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
= 0;
12912 wxFont
*arg1
= (wxFont
*) 0 ;
12913 wxString
*arg2
= 0 ;
12917 bool temp2
= false ;
12918 PyObject
* obj0
= 0 ;
12919 PyObject
* obj1
= 0 ;
12920 char * kwnames
[] = {
12921 (char *) "self",(char *) "faceName", NULL
12924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12926 if (!SWIG_IsOK(res1
)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12929 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12931 arg2
= wxString_in_helper(obj1
);
12932 if (arg2
== NULL
) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12958 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= 0;
12960 wxFont
*arg1
= (wxFont
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 char * kwnames
[] = {
12969 (char *) "self",(char *) "underlined", NULL
12972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12974 if (!SWIG_IsOK(res1
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12977 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12978 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12979 if (!SWIG_IsOK(ecode2
)) {
12980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12982 arg2
= static_cast< bool >(val2
);
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 (arg1
)->SetUnderlined(arg2
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_Py_Void();
12996 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
= 0;
12998 wxFont
*arg1
= (wxFont
*) 0 ;
12999 wxFontEncoding arg2
;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 char * kwnames
[] = {
13007 (char *) "self",(char *) "encoding", NULL
13010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
13015 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13017 if (!SWIG_IsOK(ecode2
)) {
13018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13020 arg2
= static_cast< wxFontEncoding
>(val2
);
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 (arg1
)->SetEncoding(arg2
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_Py_Void();
13034 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
= 0;
13036 wxFont
*arg1
= (wxFont
*) 0 ;
13037 wxNativeFontInfo
*arg2
= 0 ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 char * kwnames
[] = {
13045 (char *) "self",(char *) "info", NULL
13048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13050 if (!SWIG_IsOK(res1
)) {
13051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13053 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13055 if (!SWIG_IsOK(res2
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13061 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= SWIG_Py_Void();
13075 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxFont
*arg1
= (wxFont
*) 0 ;
13078 wxString
*arg2
= 0 ;
13082 bool temp2
= false ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char * kwnames
[] = {
13086 (char *) "self",(char *) "info", NULL
13089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13094 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13096 arg2
= wxString_in_helper(obj1
);
13097 if (arg2
== NULL
) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13123 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= 0;
13125 wxFont
*arg1
= (wxFont
*) 0 ;
13126 wxString
*arg2
= 0 ;
13130 bool temp2
= false ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "self",(char *) "info", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13142 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13144 arg2
= wxString_in_helper(obj1
);
13145 if (arg2
== NULL
) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13171 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13172 PyObject
*resultobj
= 0;
13173 wxFont
*arg1
= (wxFont
*) 0 ;
13177 PyObject
*swig_obj
[1] ;
13179 if (!args
) SWIG_fail
;
13180 swig_obj
[0] = args
;
13181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13182 if (!SWIG_IsOK(res1
)) {
13183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13185 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13205 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13206 PyObject
*resultobj
= 0;
13207 wxFont
*arg1
= (wxFont
*) 0 ;
13211 PyObject
*swig_obj
[1] ;
13213 if (!args
) SWIG_fail
;
13214 swig_obj
[0] = args
;
13215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13216 if (!SWIG_IsOK(res1
)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13219 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= ((wxFont
const *)arg1
)->GetStyleString();
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13239 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13240 PyObject
*resultobj
= 0;
13241 wxFont
*arg1
= (wxFont
*) 0 ;
13245 PyObject
*swig_obj
[1] ;
13247 if (!args
) SWIG_fail
;
13248 swig_obj
[0] = args
;
13249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13250 if (!SWIG_IsOK(res1
)) {
13251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13253 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 result
= ((wxFont
const *)arg1
)->GetWeightString();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13273 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
= 0;
13275 wxFont
*arg1
= (wxFont
*) 0 ;
13276 bool arg2
= (bool) true ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "no", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13292 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13294 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13295 if (!SWIG_IsOK(ecode2
)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13298 arg2
= static_cast< bool >(val2
);
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->SetNoAntiAliasing(arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_Py_Void();
13313 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxFont
*arg1
= (wxFont
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13327 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13343 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxFontEncoding result
;
13347 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13349 if (!wxPyCheckForApp()) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_From_int(static_cast< int >(result
));
13362 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
= 0;
13364 wxFontEncoding arg1
;
13367 PyObject
* obj0
= 0 ;
13368 char * kwnames
[] = {
13369 (char *) "encoding", NULL
13372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13374 if (!SWIG_IsOK(ecode1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13377 arg1
= static_cast< wxFontEncoding
>(val1
);
13379 if (!wxPyCheckForApp()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 wxFont::SetDefaultEncoding(arg1
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_Py_Void();
13392 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13395 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13396 return SWIG_Py_Void();
13399 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13400 return SWIG_Python_InitShadowInstance(args
);
13403 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13404 PyObject
*resultobj
= 0;
13405 wxPyFontEnumerator
*result
= 0 ;
13407 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13409 if (!wxPyCheckForApp()) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13422 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13423 PyObject
*resultobj
= 0;
13424 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13427 PyObject
*swig_obj
[1] ;
13429 if (!args
) SWIG_fail
;
13430 swig_obj
[0] = args
;
13431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13435 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_Py_Void();
13450 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
= 0;
13452 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13453 PyObject
*arg2
= (PyObject
*) 0 ;
13454 PyObject
*arg3
= (PyObject
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 PyObject
* obj2
= 0 ;
13463 PyObject
* obj3
= 0 ;
13464 char * kwnames
[] = {
13465 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13470 if (!SWIG_IsOK(res1
)) {
13471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13473 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13476 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13477 if (!SWIG_IsOK(ecode4
)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13480 arg4
= static_cast< bool >(val4
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= SWIG_Py_Void();
13494 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
= 0;
13496 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13497 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13498 bool arg3
= (bool) false ;
13506 PyObject
* obj0
= 0 ;
13507 PyObject
* obj1
= 0 ;
13508 PyObject
* obj2
= 0 ;
13509 char * kwnames
[] = {
13510 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13515 if (!SWIG_IsOK(res1
)) {
13516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13518 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13521 if (!SWIG_IsOK(ecode2
)) {
13522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13524 arg2
= static_cast< wxFontEncoding
>(val2
);
13527 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13528 if (!SWIG_IsOK(ecode3
)) {
13529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13531 arg3
= static_cast< bool >(val3
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13548 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
= 0;
13550 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13551 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13552 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13556 bool temp2
= false ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char * kwnames
[] = {
13560 (char *) "self",(char *) "facename", NULL
13563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13565 if (!SWIG_IsOK(res1
)) {
13566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13568 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13571 arg2
= wxString_in_helper(obj1
);
13572 if (arg2
== NULL
) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13599 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13600 PyObject
*resultobj
= 0;
13601 PyObject
*result
= 0 ;
13603 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
;
13617 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13618 PyObject
*resultobj
= 0;
13619 PyObject
*result
= 0 ;
13621 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= result
;
13635 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
= 0;
13637 wxString
*arg1
= 0 ;
13639 bool temp1
= false ;
13640 PyObject
* obj0
= 0 ;
13641 char * kwnames
[] = {
13642 (char *) "str", NULL
13645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
13647 arg1
= wxString_in_helper(obj0
);
13648 if (arg1
== NULL
) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13674 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13677 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13678 return SWIG_Py_Void();
13681 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13682 return SWIG_Python_InitShadowInstance(args
);
13685 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13686 PyObject
*resultobj
= 0;
13687 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13693 PyObject
*swig_obj
[2] ;
13695 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13700 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13701 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13702 if (!SWIG_IsOK(ecode2
)) {
13703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13705 arg2
= static_cast< int >(val2
);
13706 if (arg1
) (arg1
)->Language
= arg2
;
13708 resultobj
= SWIG_Py_Void();
13715 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13716 PyObject
*resultobj
= 0;
13717 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13721 PyObject
*swig_obj
[1] ;
13723 if (!args
) SWIG_fail
;
13724 swig_obj
[0] = args
;
13725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13726 if (!SWIG_IsOK(res1
)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13729 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13730 result
= (int) ((arg1
)->Language
);
13731 resultobj
= SWIG_From_int(static_cast< int >(result
));
13738 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13739 PyObject
*resultobj
= 0;
13740 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13741 wxString
*arg2
= (wxString
*) 0 ;
13744 bool temp2
= false ;
13745 PyObject
*swig_obj
[2] ;
13747 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13749 if (!SWIG_IsOK(res1
)) {
13750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13752 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13754 arg2
= wxString_in_helper(swig_obj
[1]);
13755 if (arg2
== NULL
) SWIG_fail
;
13758 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13760 resultobj
= SWIG_Py_Void();
13775 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13776 PyObject
*resultobj
= 0;
13777 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13778 wxString
*result
= 0 ;
13781 PyObject
*swig_obj
[1] ;
13783 if (!args
) SWIG_fail
;
13784 swig_obj
[0] = args
;
13785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13786 if (!SWIG_IsOK(res1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13789 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13790 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13793 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13795 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13804 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13805 PyObject
*resultobj
= 0;
13806 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13807 wxString
*arg2
= (wxString
*) 0 ;
13810 bool temp2
= false ;
13811 PyObject
*swig_obj
[2] ;
13813 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13815 if (!SWIG_IsOK(res1
)) {
13816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13818 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13820 arg2
= wxString_in_helper(swig_obj
[1]);
13821 if (arg2
== NULL
) SWIG_fail
;
13824 if (arg1
) (arg1
)->Description
= *arg2
;
13826 resultobj
= SWIG_Py_Void();
13841 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13842 PyObject
*resultobj
= 0;
13843 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13844 wxString
*result
= 0 ;
13847 PyObject
*swig_obj
[1] ;
13849 if (!args
) SWIG_fail
;
13850 swig_obj
[0] = args
;
13851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13852 if (!SWIG_IsOK(res1
)) {
13853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13855 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13856 result
= (wxString
*)& ((arg1
)->Description
);
13859 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13861 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13870 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13873 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13874 return SWIG_Py_Void();
13877 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
= 0;
13879 int arg1
= (int) -1 ;
13880 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13881 wxLocale
*result
= 0 ;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 char * kwnames
[] = {
13889 (char *) "language",(char *) "flags", NULL
13892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13894 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13895 if (!SWIG_IsOK(ecode1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13898 arg1
= static_cast< int >(val1
);
13901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13902 if (!SWIG_IsOK(ecode2
)) {
13903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13905 arg2
= static_cast< int >(val2
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13920 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13921 PyObject
*resultobj
= 0;
13922 wxLocale
*arg1
= (wxLocale
*) 0 ;
13925 PyObject
*swig_obj
[1] ;
13927 if (!args
) SWIG_fail
;
13928 swig_obj
[0] = args
;
13929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13930 if (!SWIG_IsOK(res1
)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13933 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_Py_Void();
13948 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
= 0;
13950 wxLocale
*arg1
= (wxLocale
*) 0 ;
13951 wxString
*arg2
= 0 ;
13952 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13953 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13954 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13955 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13956 bool arg5
= (bool) true ;
13957 bool arg6
= (bool) false ;
13961 bool temp2
= false ;
13962 bool temp3
= false ;
13963 bool temp4
= false ;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 PyObject
* obj2
= 0 ;
13971 PyObject
* obj3
= 0 ;
13972 PyObject
* obj4
= 0 ;
13973 PyObject
* obj5
= 0 ;
13974 char * kwnames
[] = {
13975 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13980 if (!SWIG_IsOK(res1
)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13983 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13985 arg2
= wxString_in_helper(obj1
);
13986 if (arg2
== NULL
) SWIG_fail
;
13991 arg3
= wxString_in_helper(obj2
);
13992 if (arg3
== NULL
) SWIG_fail
;
13998 arg4
= wxString_in_helper(obj3
);
13999 if (arg4
== NULL
) SWIG_fail
;
14004 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14005 if (!SWIG_IsOK(ecode5
)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
14008 arg5
= static_cast< bool >(val5
);
14011 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
14012 if (!SWIG_IsOK(ecode6
)) {
14013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
14015 arg6
= static_cast< bool >(val6
);
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14056 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
= 0;
14058 wxLocale
*arg1
= (wxLocale
*) 0 ;
14059 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14060 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 char * kwnames
[] = {
14072 (char *) "self",(char *) "language",(char *) "flags", NULL
14075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14077 if (!SWIG_IsOK(res1
)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14080 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14083 if (!SWIG_IsOK(ecode2
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14086 arg2
= static_cast< int >(val2
);
14089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14090 if (!SWIG_IsOK(ecode3
)) {
14091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14093 arg3
= static_cast< int >(val3
);
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14110 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14111 PyObject
*resultobj
= 0;
14114 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= (int)wxLocale::GetSystemLanguage();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= SWIG_From_int(static_cast< int >(result
));
14128 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14129 PyObject
*resultobj
= 0;
14130 wxFontEncoding result
;
14132 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_From_int(static_cast< int >(result
));
14146 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14147 PyObject
*resultobj
= 0;
14150 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= wxLocale::GetSystemEncodingName();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14170 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxLocale
*arg1
= (wxLocale
*) 0 ;
14176 PyObject
*swig_obj
[1] ;
14178 if (!args
) SWIG_fail
;
14179 swig_obj
[0] = args
;
14180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14184 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14200 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14201 PyObject
*resultobj
= 0;
14202 wxLocale
*arg1
= (wxLocale
*) 0 ;
14206 PyObject
*swig_obj
[1] ;
14208 if (!args
) SWIG_fail
;
14209 swig_obj
[0] = args
;
14210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14211 if (!SWIG_IsOK(res1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14214 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= ((wxLocale
const *)arg1
)->GetLocale();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14234 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14235 PyObject
*resultobj
= 0;
14236 wxLocale
*arg1
= (wxLocale
*) 0 ;
14240 PyObject
*swig_obj
[1] ;
14242 if (!args
) SWIG_fail
;
14243 swig_obj
[0] = args
;
14244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14245 if (!SWIG_IsOK(res1
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14248 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_From_int(static_cast< int >(result
));
14262 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14263 PyObject
*resultobj
= 0;
14264 wxLocale
*arg1
= (wxLocale
*) 0 ;
14268 PyObject
*swig_obj
[1] ;
14270 if (!args
) SWIG_fail
;
14271 swig_obj
[0] = args
;
14272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14276 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= ((wxLocale
const *)arg1
)->GetSysName();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14296 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14297 PyObject
*resultobj
= 0;
14298 wxLocale
*arg1
= (wxLocale
*) 0 ;
14302 PyObject
*swig_obj
[1] ;
14304 if (!args
) SWIG_fail
;
14305 swig_obj
[0] = args
;
14306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14307 if (!SWIG_IsOK(res1
)) {
14308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14310 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14330 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
= 0;
14332 wxString
*arg1
= 0 ;
14333 bool temp1
= false ;
14334 PyObject
* obj0
= 0 ;
14335 char * kwnames
[] = {
14336 (char *) "prefix", NULL
14339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14341 arg1
= wxString_in_helper(obj0
);
14342 if (arg1
== NULL
) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_Py_Void();
14366 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
= 0;
14368 wxLocale
*arg1
= (wxLocale
*) 0 ;
14369 wxString
*arg2
= 0 ;
14373 bool temp2
= false ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 char * kwnames
[] = {
14377 (char *) "self",(char *) "szDomain", NULL
14380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14385 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14387 arg2
= wxString_in_helper(obj1
);
14388 if (arg2
== NULL
) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= 0;
14416 wxLocale
*arg1
= (wxLocale
*) 0 ;
14417 wxString
*arg2
= 0 ;
14421 bool temp2
= false ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char * kwnames
[] = {
14425 (char *) "self",(char *) "szDomain", NULL
14428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14433 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14435 arg2
= wxString_in_helper(obj1
);
14436 if (arg2
== NULL
) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14462 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
= 0;
14465 wxLanguageInfo
*result
= 0 ;
14468 PyObject
* obj0
= 0 ;
14469 char * kwnames
[] = {
14470 (char *) "lang", NULL
14473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14475 if (!SWIG_IsOK(ecode1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14478 arg1
= static_cast< int >(val1
);
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14492 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
= 0;
14498 PyObject
* obj0
= 0 ;
14499 char * kwnames
[] = {
14500 (char *) "lang", NULL
14503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14505 if (!SWIG_IsOK(ecode1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14508 arg1
= static_cast< int >(val1
);
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= wxLocale::GetLanguageName(arg1
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14528 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
= 0;
14530 wxString
*arg1
= 0 ;
14531 wxLanguageInfo
*result
= 0 ;
14532 bool temp1
= false ;
14533 PyObject
* obj0
= 0 ;
14534 char * kwnames
[] = {
14535 (char *) "locale", NULL
14538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14540 arg1
= wxString_in_helper(obj0
);
14541 if (arg1
== NULL
) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14565 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
= 0;
14567 wxLanguageInfo
*arg1
= 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char * kwnames
[] = {
14572 (char *) "info", NULL
14575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14583 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= SWIG_Py_Void();
14597 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
= 0;
14599 wxLocale
*arg1
= (wxLocale
*) 0 ;
14600 wxString
*arg2
= 0 ;
14601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14606 bool temp2
= false ;
14607 bool temp3
= false ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 char * kwnames
[] = {
14612 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14620 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14622 arg2
= wxString_in_helper(obj1
);
14623 if (arg2
== NULL
) SWIG_fail
;
14628 arg3
= wxString_in_helper(obj2
);
14629 if (arg3
== NULL
) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14668 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 PyObject
*resultobj
= 0;
14670 wxLocale
*arg1
= (wxLocale
*) 0 ;
14671 wxString
*result
= 0 ;
14674 PyObject
*swig_obj
[1] ;
14676 if (!args
) SWIG_fail
;
14677 swig_obj
[0] = args
;
14678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14679 if (!SWIG_IsOK(res1
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14682 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14687 result
= (wxString
*) &_result_ref
;
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14705 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14708 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14709 return SWIG_Py_Void();
14712 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14713 return SWIG_Python_InitShadowInstance(args
);
14716 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14717 PyObject
*resultobj
= 0;
14718 wxLocale
*result
= 0 ;
14720 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (wxLocale
*)wxGetLocale();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14734 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14735 PyObject
*resultobj
= 0;
14736 wxString
*arg1
= 0 ;
14738 bool temp1
= false ;
14740 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14742 arg1
= wxString_in_helper(swig_obj
[0]);
14743 if (arg1
== NULL
) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= wxGetTranslation((wxString
const &)*arg1
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14773 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14774 PyObject
*resultobj
= 0;
14775 wxString
*arg1
= 0 ;
14776 wxString
*arg2
= 0 ;
14779 bool temp1
= false ;
14780 bool temp2
= false ;
14784 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14786 arg1
= wxString_in_helper(swig_obj
[0]);
14787 if (arg1
== NULL
) SWIG_fail
;
14791 arg2
= wxString_in_helper(swig_obj
[1]);
14792 if (arg2
== NULL
) SWIG_fail
;
14795 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14796 if (!SWIG_IsOK(ecode3
)) {
14797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14799 arg3
= static_cast< size_t >(val3
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14835 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14839 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14842 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14845 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14849 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14854 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14855 PyObject
*resultobj
= 0;
14856 wxEncodingConverter
*result
= 0 ;
14858 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14872 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14873 PyObject
*resultobj
= 0;
14874 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14877 PyObject
*swig_obj
[1] ;
14879 if (!args
) SWIG_fail
;
14880 swig_obj
[0] = args
;
14881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14885 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_Py_Void();
14900 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
= 0;
14902 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14903 wxFontEncoding arg2
;
14904 wxFontEncoding arg3
;
14905 int arg4
= (int) wxCONVERT_STRICT
;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 PyObject
* obj3
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14928 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14930 if (!SWIG_IsOK(ecode2
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14933 arg2
= static_cast< wxFontEncoding
>(val2
);
14934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14935 if (!SWIG_IsOK(ecode3
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14938 arg3
= static_cast< wxFontEncoding
>(val3
);
14940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14941 if (!SWIG_IsOK(ecode4
)) {
14942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14944 arg4
= static_cast< int >(val4
);
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14961 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= 0;
14963 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14964 wxString
*arg2
= 0 ;
14968 bool temp2
= false ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char * kwnames
[] = {
14972 (char *) "self",(char *) "input", NULL
14975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14980 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14982 arg2
= wxString_in_helper(obj1
);
14983 if (arg2
== NULL
) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15013 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
= 0;
15015 wxFontEncoding arg1
;
15016 int arg2
= (int) wxPLATFORM_CURRENT
;
15017 wxFontEncodingArray result
;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char * kwnames
[] = {
15025 (char *) "enc",(char *) "platform", NULL
15028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15030 if (!SWIG_IsOK(ecode1
)) {
15031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15033 arg1
= static_cast< wxFontEncoding
>(val1
);
15035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15036 if (!SWIG_IsOK(ecode2
)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
15039 arg2
= static_cast< int >(val2
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= PyList_New(0);
15049 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15050 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15051 PyList_Append(resultobj
, number
);
15061 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
= 0;
15063 wxFontEncoding arg1
;
15064 wxFontEncodingArray result
;
15067 PyObject
* obj0
= 0 ;
15068 char * kwnames
[] = {
15069 (char *) "enc", NULL
15072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15073 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15074 if (!SWIG_IsOK(ecode1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15077 arg1
= static_cast< wxFontEncoding
>(val1
);
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= PyList_New(0);
15086 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15087 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15088 PyList_Append(resultobj
, number
);
15098 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxFontEncoding arg1
;
15101 wxFontEncoding arg2
;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 char * kwnames
[] = {
15110 (char *) "encIn",(char *) "encOut", NULL
15113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15115 if (!SWIG_IsOK(ecode1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15118 arg1
= static_cast< wxFontEncoding
>(val1
);
15119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15120 if (!SWIG_IsOK(ecode2
)) {
15121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15123 arg2
= static_cast< wxFontEncoding
>(val2
);
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15139 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15142 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15143 return SWIG_Py_Void();
15146 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15147 return SWIG_Python_InitShadowInstance(args
);
15150 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15151 PyObject
*resultobj
= 0;
15152 wxDC
*arg1
= (wxDC
*) 0 ;
15155 PyObject
*swig_obj
[1] ;
15157 if (!args
) SWIG_fail
;
15158 swig_obj
[0] = args
;
15159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15160 if (!SWIG_IsOK(res1
)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= SWIG_Py_Void();
15178 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
= 0;
15180 wxDC
*arg1
= (wxDC
*) 0 ;
15183 wxColour
*arg4
= 0 ;
15184 int arg5
= (int) wxFLOOD_SURFACE
;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 PyObject
* obj2
= 0 ;
15198 PyObject
* obj3
= 0 ;
15199 PyObject
* obj4
= 0 ;
15200 char * kwnames
[] = {
15201 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15211 if (!SWIG_IsOK(ecode2
)) {
15212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15214 arg2
= static_cast< int >(val2
);
15215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15216 if (!SWIG_IsOK(ecode3
)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15219 arg3
= static_cast< int >(val3
);
15222 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15225 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15226 if (!SWIG_IsOK(ecode5
)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15229 arg5
= static_cast< int >(val5
);
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15246 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
= 0;
15248 wxDC
*arg1
= (wxDC
*) 0 ;
15249 wxPoint
*arg2
= 0 ;
15250 wxColour
*arg3
= 0 ;
15251 int arg4
= (int) wxFLOOD_SURFACE
;
15259 PyObject
* obj0
= 0 ;
15260 PyObject
* obj1
= 0 ;
15261 PyObject
* obj2
= 0 ;
15262 PyObject
* obj3
= 0 ;
15263 char * kwnames
[] = {
15264 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15269 if (!SWIG_IsOK(res1
)) {
15270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15279 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15283 if (!SWIG_IsOK(ecode4
)) {
15284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15286 arg4
= static_cast< int >(val4
);
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15303 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
= 0;
15305 wxDC
*arg1
= (wxDC
*) 0 ;
15307 wxColour
*arg3
= 0 ;
15308 wxColour
*arg4
= 0 ;
15309 wxPoint
*arg5
= 0 ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 PyObject
* obj2
= 0 ;
15319 PyObject
* obj3
= 0 ;
15320 PyObject
* obj4
= 0 ;
15321 char * kwnames
[] = {
15322 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15333 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15337 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15341 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15345 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_Py_Void();
15360 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
= 0;
15362 wxDC
*arg1
= (wxDC
*) 0 ;
15364 wxColour
*arg3
= 0 ;
15365 wxColour
*arg4
= 0 ;
15366 wxDirection arg5
= (wxDirection
) wxEAST
;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 PyObject
* obj2
= 0 ;
15377 PyObject
* obj3
= 0 ;
15378 PyObject
* obj4
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15391 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15395 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15399 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15403 if (!SWIG_IsOK(ecode5
)) {
15404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15406 arg5
= static_cast< wxDirection
>(val5
);
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= SWIG_Py_Void();
15421 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
= 0;
15423 wxDC
*arg1
= (wxDC
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 PyObject
* obj2
= 0 ;
15436 char * kwnames
[] = {
15437 (char *) "self",(char *) "x",(char *) "y", NULL
15440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15447 if (!SWIG_IsOK(ecode2
)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15450 arg2
= static_cast< int >(val2
);
15451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15452 if (!SWIG_IsOK(ecode3
)) {
15453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15455 arg3
= static_cast< int >(val3
);
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15469 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
= 0;
15471 wxDC
*arg1
= (wxDC
*) 0 ;
15472 wxPoint
*arg2
= 0 ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char * kwnames
[] = {
15480 (char *) "self",(char *) "pt", NULL
15483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15485 if (!SWIG_IsOK(res1
)) {
15486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15491 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15506 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
= 0;
15508 wxDC
*arg1
= (wxDC
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 PyObject
* obj2
= 0 ;
15526 PyObject
* obj3
= 0 ;
15527 PyObject
* obj4
= 0 ;
15528 char * kwnames
[] = {
15529 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15539 if (!SWIG_IsOK(ecode2
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15542 arg2
= static_cast< int >(val2
);
15543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15544 if (!SWIG_IsOK(ecode3
)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15547 arg3
= static_cast< int >(val3
);
15548 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15549 if (!SWIG_IsOK(ecode4
)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15552 arg4
= static_cast< int >(val4
);
15553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15554 if (!SWIG_IsOK(ecode5
)) {
15555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15557 arg5
= static_cast< int >(val5
);
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= SWIG_Py_Void();
15571 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
= 0;
15573 wxDC
*arg1
= (wxDC
*) 0 ;
15574 wxPoint
*arg2
= 0 ;
15575 wxPoint
*arg3
= 0 ;
15580 PyObject
* obj0
= 0 ;
15581 PyObject
* obj1
= 0 ;
15582 PyObject
* obj2
= 0 ;
15583 char * kwnames
[] = {
15584 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_Py_Void();
15614 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
= 0;
15616 wxDC
*arg1
= (wxDC
*) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 PyObject
* obj1
= 0 ;
15627 PyObject
* obj2
= 0 ;
15628 char * kwnames
[] = {
15629 (char *) "self",(char *) "x",(char *) "y", NULL
15632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15634 if (!SWIG_IsOK(res1
)) {
15635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15639 if (!SWIG_IsOK(ecode2
)) {
15640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15642 arg2
= static_cast< int >(val2
);
15643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15644 if (!SWIG_IsOK(ecode3
)) {
15645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15647 arg3
= static_cast< int >(val3
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 (arg1
)->CrossHair(arg2
,arg3
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= SWIG_Py_Void();
15661 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
= 0;
15663 wxDC
*arg1
= (wxDC
*) 0 ;
15664 wxPoint
*arg2
= 0 ;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 char * kwnames
[] = {
15671 (char *) "self",(char *) "pt", NULL
15674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15676 if (!SWIG_IsOK(res1
)) {
15677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_Py_Void();
15697 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
= 0;
15699 wxDC
*arg1
= (wxDC
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 PyObject
* obj3
= 0 ;
15724 PyObject
* obj4
= 0 ;
15725 PyObject
* obj5
= 0 ;
15726 PyObject
* obj6
= 0 ;
15727 char * kwnames
[] = {
15728 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15733 if (!SWIG_IsOK(res1
)) {
15734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15738 if (!SWIG_IsOK(ecode2
)) {
15739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15741 arg2
= static_cast< int >(val2
);
15742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15743 if (!SWIG_IsOK(ecode3
)) {
15744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15746 arg3
= static_cast< int >(val3
);
15747 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15748 if (!SWIG_IsOK(ecode4
)) {
15749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15751 arg4
= static_cast< int >(val4
);
15752 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15753 if (!SWIG_IsOK(ecode5
)) {
15754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15756 arg5
= static_cast< int >(val5
);
15757 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15758 if (!SWIG_IsOK(ecode6
)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15761 arg6
= static_cast< int >(val6
);
15762 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15763 if (!SWIG_IsOK(ecode7
)) {
15764 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15766 arg7
= static_cast< int >(val7
);
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= SWIG_Py_Void();
15780 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
= 0;
15782 wxDC
*arg1
= (wxDC
*) 0 ;
15783 wxPoint
*arg2
= 0 ;
15784 wxPoint
*arg3
= 0 ;
15785 wxPoint
*arg4
= 0 ;
15791 PyObject
* obj0
= 0 ;
15792 PyObject
* obj1
= 0 ;
15793 PyObject
* obj2
= 0 ;
15794 PyObject
* obj3
= 0 ;
15795 char * kwnames
[] = {
15796 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15801 if (!SWIG_IsOK(res1
)) {
15802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_Py_Void();
15830 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= 0;
15832 wxDC
*arg1
= (wxDC
*) 0 ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 PyObject
* obj2
= 0 ;
15850 PyObject
* obj3
= 0 ;
15851 PyObject
* obj4
= 0 ;
15852 char * kwnames
[] = {
15853 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15858 if (!SWIG_IsOK(res1
)) {
15859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15863 if (!SWIG_IsOK(ecode2
)) {
15864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15866 arg2
= static_cast< int >(val2
);
15867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15868 if (!SWIG_IsOK(ecode3
)) {
15869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15871 arg3
= static_cast< int >(val3
);
15872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15873 if (!SWIG_IsOK(ecode4
)) {
15874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15876 arg4
= static_cast< int >(val4
);
15877 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15878 if (!SWIG_IsOK(ecode5
)) {
15879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15881 arg5
= static_cast< int >(val5
);
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_Py_Void();
15895 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
= 0;
15897 wxDC
*arg1
= (wxDC
*) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 PyObject
* obj1
= 0 ;
15904 char * kwnames
[] = {
15905 (char *) "self",(char *) "rect", NULL
15908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15910 if (!SWIG_IsOK(res1
)) {
15911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15916 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_Py_Void();
15931 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
= 0;
15933 wxDC
*arg1
= (wxDC
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 PyObject
* obj2
= 0 ;
15957 PyObject
* obj3
= 0 ;
15958 PyObject
* obj4
= 0 ;
15959 PyObject
* obj5
= 0 ;
15960 PyObject
* obj6
= 0 ;
15961 char * kwnames
[] = {
15962 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15967 if (!SWIG_IsOK(res1
)) {
15968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15972 if (!SWIG_IsOK(ecode2
)) {
15973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15975 arg2
= static_cast< int >(val2
);
15976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15977 if (!SWIG_IsOK(ecode3
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15980 arg3
= static_cast< int >(val3
);
15981 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15982 if (!SWIG_IsOK(ecode4
)) {
15983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15985 arg4
= static_cast< int >(val4
);
15986 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15987 if (!SWIG_IsOK(ecode5
)) {
15988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15990 arg5
= static_cast< int >(val5
);
15991 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15992 if (!SWIG_IsOK(ecode6
)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15995 arg6
= static_cast< double >(val6
);
15996 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15997 if (!SWIG_IsOK(ecode7
)) {
15998 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
16000 arg7
= static_cast< double >(val7
);
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= SWIG_Py_Void();
16014 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
= 0;
16016 wxDC
*arg1
= (wxDC
*) 0 ;
16017 wxPoint
*arg2
= 0 ;
16029 PyObject
* obj0
= 0 ;
16030 PyObject
* obj1
= 0 ;
16031 PyObject
* obj2
= 0 ;
16032 PyObject
* obj3
= 0 ;
16033 PyObject
* obj4
= 0 ;
16034 char * kwnames
[] = {
16035 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
16038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16040 if (!SWIG_IsOK(res1
)) {
16041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16046 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16050 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16052 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16053 if (!SWIG_IsOK(ecode4
)) {
16054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16056 arg4
= static_cast< double >(val4
);
16057 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16058 if (!SWIG_IsOK(ecode5
)) {
16059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16061 arg5
= static_cast< double >(val5
);
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_Py_Void();
16075 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
= 0;
16077 wxDC
*arg1
= (wxDC
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 PyObject
* obj2
= 0 ;
16089 char * kwnames
[] = {
16090 (char *) "self",(char *) "x",(char *) "y", NULL
16093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16095 if (!SWIG_IsOK(res1
)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16100 if (!SWIG_IsOK(ecode2
)) {
16101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16103 arg2
= static_cast< int >(val2
);
16104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16105 if (!SWIG_IsOK(ecode3
)) {
16106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16108 arg3
= static_cast< int >(val3
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 (arg1
)->DrawPoint(arg2
,arg3
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_Py_Void();
16122 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
= 0;
16124 wxDC
*arg1
= (wxDC
*) 0 ;
16125 wxPoint
*arg2
= 0 ;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 char * kwnames
[] = {
16132 (char *) "self",(char *) "pt", NULL
16135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16137 if (!SWIG_IsOK(res1
)) {
16138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_Py_Void();
16158 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
= 0;
16160 wxDC
*arg1
= (wxDC
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 PyObject
* obj1
= 0 ;
16177 PyObject
* obj2
= 0 ;
16178 PyObject
* obj3
= 0 ;
16179 PyObject
* obj4
= 0 ;
16180 char * kwnames
[] = {
16181 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16186 if (!SWIG_IsOK(res1
)) {
16187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16191 if (!SWIG_IsOK(ecode2
)) {
16192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16194 arg2
= static_cast< int >(val2
);
16195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16196 if (!SWIG_IsOK(ecode3
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16199 arg3
= static_cast< int >(val3
);
16200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16201 if (!SWIG_IsOK(ecode4
)) {
16202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16204 arg4
= static_cast< int >(val4
);
16205 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16206 if (!SWIG_IsOK(ecode5
)) {
16207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16209 arg5
= static_cast< int >(val5
);
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_Py_Void();
16223 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
= 0;
16225 wxDC
*arg1
= (wxDC
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 char * kwnames
[] = {
16233 (char *) "self",(char *) "rect", NULL
16236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16244 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_Py_Void();
16259 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
= 0;
16261 wxDC
*arg1
= (wxDC
*) 0 ;
16262 wxPoint
*arg2
= 0 ;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 PyObject
* obj2
= 0 ;
16271 char * kwnames
[] = {
16272 (char *) "self",(char *) "pt",(char *) "sz", NULL
16275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16277 if (!SWIG_IsOK(res1
)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16283 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16287 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= SWIG_Py_Void();
16302 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
= 0;
16304 wxDC
*arg1
= (wxDC
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 PyObject
* obj2
= 0 ;
16325 PyObject
* obj3
= 0 ;
16326 PyObject
* obj4
= 0 ;
16327 PyObject
* obj5
= 0 ;
16328 char * kwnames
[] = {
16329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16334 if (!SWIG_IsOK(res1
)) {
16335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16339 if (!SWIG_IsOK(ecode2
)) {
16340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16342 arg2
= static_cast< int >(val2
);
16343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16344 if (!SWIG_IsOK(ecode3
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16347 arg3
= static_cast< int >(val3
);
16348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16349 if (!SWIG_IsOK(ecode4
)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16352 arg4
= static_cast< int >(val4
);
16353 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16354 if (!SWIG_IsOK(ecode5
)) {
16355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16357 arg5
= static_cast< int >(val5
);
16358 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16359 if (!SWIG_IsOK(ecode6
)) {
16360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16362 arg6
= static_cast< double >(val6
);
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= SWIG_Py_Void();
16376 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
= 0;
16378 wxDC
*arg1
= (wxDC
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 PyObject
* obj2
= 0 ;
16389 char * kwnames
[] = {
16390 (char *) "self",(char *) "r",(char *) "radius", NULL
16393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16395 if (!SWIG_IsOK(res1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16403 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16404 if (!SWIG_IsOK(ecode3
)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16407 arg3
= static_cast< double >(val3
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_Py_Void();
16421 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
= 0;
16423 wxDC
*arg1
= (wxDC
*) 0 ;
16424 wxPoint
*arg2
= 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 PyObject
* obj2
= 0 ;
16436 PyObject
* obj3
= 0 ;
16437 char * kwnames
[] = {
16438 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16443 if (!SWIG_IsOK(res1
)) {
16444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16453 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16455 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16456 if (!SWIG_IsOK(ecode4
)) {
16457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16459 arg4
= static_cast< double >(val4
);
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= SWIG_Py_Void();
16473 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxDC
*arg1
= (wxDC
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 PyObject
* obj2
= 0 ;
16490 PyObject
* obj3
= 0 ;
16491 char * kwnames
[] = {
16492 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16497 if (!SWIG_IsOK(res1
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16502 if (!SWIG_IsOK(ecode2
)) {
16503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16505 arg2
= static_cast< int >(val2
);
16506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16507 if (!SWIG_IsOK(ecode3
)) {
16508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16510 arg3
= static_cast< int >(val3
);
16511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16512 if (!SWIG_IsOK(ecode4
)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16515 arg4
= static_cast< int >(val4
);
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_Py_Void();
16529 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
= 0;
16531 wxDC
*arg1
= (wxDC
*) 0 ;
16532 wxPoint
*arg2
= 0 ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "self",(char *) "pt",(char *) "radius", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16557 if (!SWIG_IsOK(ecode3
)) {
16558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16560 arg3
= static_cast< int >(val3
);
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_Py_Void();
16574 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
= 0;
16576 wxDC
*arg1
= (wxDC
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 PyObject
* obj2
= 0 ;
16594 PyObject
* obj3
= 0 ;
16595 PyObject
* obj4
= 0 ;
16596 char * kwnames
[] = {
16597 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16607 if (!SWIG_IsOK(ecode2
)) {
16608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16610 arg2
= static_cast< int >(val2
);
16611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16612 if (!SWIG_IsOK(ecode3
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16615 arg3
= static_cast< int >(val3
);
16616 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16617 if (!SWIG_IsOK(ecode4
)) {
16618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16620 arg4
= static_cast< int >(val4
);
16621 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16622 if (!SWIG_IsOK(ecode5
)) {
16623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16625 arg5
= static_cast< int >(val5
);
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= SWIG_Py_Void();
16639 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
= 0;
16641 wxDC
*arg1
= (wxDC
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 char * kwnames
[] = {
16649 (char *) "self",(char *) "rect", NULL
16652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16654 if (!SWIG_IsOK(res1
)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16660 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= SWIG_Py_Void();
16675 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
= 0;
16677 wxDC
*arg1
= (wxDC
*) 0 ;
16678 wxPoint
*arg2
= 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 PyObject
* obj2
= 0 ;
16687 char * kwnames
[] = {
16688 (char *) "self",(char *) "pt",(char *) "sz", NULL
16691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16693 if (!SWIG_IsOK(res1
)) {
16694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16703 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_Py_Void();
16718 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
= 0;
16720 wxDC
*arg1
= (wxDC
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 PyObject
* obj2
= 0 ;
16735 PyObject
* obj3
= 0 ;
16736 char * kwnames
[] = {
16737 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16742 if (!SWIG_IsOK(res1
)) {
16743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16747 if (!SWIG_IsOK(res2
)) {
16748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16753 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16755 if (!SWIG_IsOK(ecode3
)) {
16756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16758 arg3
= static_cast< int >(val3
);
16759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16760 if (!SWIG_IsOK(ecode4
)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16763 arg4
= static_cast< int >(val4
);
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= SWIG_Py_Void();
16777 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
= 0;
16779 wxDC
*arg1
= (wxDC
*) 0 ;
16781 wxPoint
*arg3
= 0 ;
16787 PyObject
* obj0
= 0 ;
16788 PyObject
* obj1
= 0 ;
16789 PyObject
* obj2
= 0 ;
16790 char * kwnames
[] = {
16791 (char *) "self",(char *) "icon",(char *) "pt", NULL
16794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16801 if (!SWIG_IsOK(res2
)) {
16802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16807 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= SWIG_Py_Void();
16825 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
= 0;
16827 wxDC
*arg1
= (wxDC
*) 0 ;
16828 wxBitmap
*arg2
= 0 ;
16831 bool arg5
= (bool) false ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 PyObject
* obj3
= 0 ;
16846 PyObject
* obj4
= 0 ;
16847 char * kwnames
[] = {
16848 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16853 if (!SWIG_IsOK(res1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16858 if (!SWIG_IsOK(res2
)) {
16859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16864 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16866 if (!SWIG_IsOK(ecode3
)) {
16867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16869 arg3
= static_cast< int >(val3
);
16870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16871 if (!SWIG_IsOK(ecode4
)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16874 arg4
= static_cast< int >(val4
);
16876 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16877 if (!SWIG_IsOK(ecode5
)) {
16878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16880 arg5
= static_cast< bool >(val5
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_Py_Void();
16895 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= 0;
16897 wxDC
*arg1
= (wxDC
*) 0 ;
16898 wxBitmap
*arg2
= 0 ;
16899 wxPoint
*arg3
= 0 ;
16900 bool arg4
= (bool) false ;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 PyObject
* obj2
= 0 ;
16911 PyObject
* obj3
= 0 ;
16912 char * kwnames
[] = {
16913 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16923 if (!SWIG_IsOK(res2
)) {
16924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16929 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16932 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16935 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16936 if (!SWIG_IsOK(ecode4
)) {
16937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16939 arg4
= static_cast< bool >(val4
);
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_Py_Void();
16954 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
= 0;
16956 wxDC
*arg1
= (wxDC
*) 0 ;
16957 wxString
*arg2
= 0 ;
16962 bool temp2
= false ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 PyObject
* obj2
= 0 ;
16970 PyObject
* obj3
= 0 ;
16971 char * kwnames
[] = {
16972 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16977 if (!SWIG_IsOK(res1
)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16982 arg2
= wxString_in_helper(obj1
);
16983 if (arg2
== NULL
) SWIG_fail
;
16986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16987 if (!SWIG_IsOK(ecode3
)) {
16988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16990 arg3
= static_cast< int >(val3
);
16991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16992 if (!SWIG_IsOK(ecode4
)) {
16993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16995 arg4
= static_cast< int >(val4
);
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= SWIG_Py_Void();
17017 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
= 0;
17019 wxDC
*arg1
= (wxDC
*) 0 ;
17020 wxString
*arg2
= 0 ;
17021 wxPoint
*arg3
= 0 ;
17024 bool temp2
= false ;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 PyObject
* obj2
= 0 ;
17029 char * kwnames
[] = {
17030 (char *) "self",(char *) "text",(char *) "pt", NULL
17033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17035 if (!SWIG_IsOK(res1
)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17040 arg2
= wxString_in_helper(obj1
);
17041 if (arg2
== NULL
) SWIG_fail
;
17046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= SWIG_Py_Void();
17069 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
= 0;
17071 wxDC
*arg1
= (wxDC
*) 0 ;
17072 wxString
*arg2
= 0 ;
17078 bool temp2
= false ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 PyObject
* obj2
= 0 ;
17088 PyObject
* obj3
= 0 ;
17089 PyObject
* obj4
= 0 ;
17090 char * kwnames
[] = {
17091 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17096 if (!SWIG_IsOK(res1
)) {
17097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17101 arg2
= wxString_in_helper(obj1
);
17102 if (arg2
== NULL
) SWIG_fail
;
17105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17106 if (!SWIG_IsOK(ecode3
)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17109 arg3
= static_cast< int >(val3
);
17110 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17111 if (!SWIG_IsOK(ecode4
)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17114 arg4
= static_cast< int >(val4
);
17115 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17116 if (!SWIG_IsOK(ecode5
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17119 arg5
= static_cast< double >(val5
);
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_Py_Void();
17141 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= 0;
17143 wxDC
*arg1
= (wxDC
*) 0 ;
17144 wxString
*arg2
= 0 ;
17145 wxPoint
*arg3
= 0 ;
17149 bool temp2
= false ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 PyObject
* obj2
= 0 ;
17156 PyObject
* obj3
= 0 ;
17157 char * kwnames
[] = {
17158 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17163 if (!SWIG_IsOK(res1
)) {
17164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17168 arg2
= wxString_in_helper(obj1
);
17169 if (arg2
== NULL
) SWIG_fail
;
17174 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17176 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17177 if (!SWIG_IsOK(ecode4
)) {
17178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17180 arg4
= static_cast< double >(val4
);
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_Py_Void();
17202 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
= 0;
17204 wxDC
*arg1
= (wxDC
*) 0 ;
17209 wxDC
*arg6
= (wxDC
*) 0 ;
17212 int arg9
= (int) wxCOPY
;
17213 bool arg10
= (bool) false ;
17214 int arg11
= (int) -1 ;
17215 int arg12
= (int) -1 ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 PyObject
* obj2
= 0 ;
17244 PyObject
* obj3
= 0 ;
17245 PyObject
* obj4
= 0 ;
17246 PyObject
* obj5
= 0 ;
17247 PyObject
* obj6
= 0 ;
17248 PyObject
* obj7
= 0 ;
17249 PyObject
* obj8
= 0 ;
17250 PyObject
* obj9
= 0 ;
17251 PyObject
* obj10
= 0 ;
17252 PyObject
* obj11
= 0 ;
17253 char * kwnames
[] = {
17254 (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
17257 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
;
17258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17259 if (!SWIG_IsOK(res1
)) {
17260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17264 if (!SWIG_IsOK(ecode2
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17267 arg2
= static_cast< int >(val2
);
17268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17269 if (!SWIG_IsOK(ecode3
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17272 arg3
= static_cast< int >(val3
);
17273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17274 if (!SWIG_IsOK(ecode4
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17277 arg4
= static_cast< int >(val4
);
17278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17279 if (!SWIG_IsOK(ecode5
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17282 arg5
= static_cast< int >(val5
);
17283 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17284 if (!SWIG_IsOK(res6
)) {
17285 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17287 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17288 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17289 if (!SWIG_IsOK(ecode7
)) {
17290 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17292 arg7
= static_cast< int >(val7
);
17293 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17294 if (!SWIG_IsOK(ecode8
)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17297 arg8
= static_cast< int >(val8
);
17299 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17300 if (!SWIG_IsOK(ecode9
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17303 arg9
= static_cast< int >(val9
);
17306 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17307 if (!SWIG_IsOK(ecode10
)) {
17308 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17310 arg10
= static_cast< bool >(val10
);
17313 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17314 if (!SWIG_IsOK(ecode11
)) {
17315 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17317 arg11
= static_cast< int >(val11
);
17320 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17321 if (!SWIG_IsOK(ecode12
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17324 arg12
= static_cast< int >(val12
);
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17341 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= 0;
17343 wxDC
*arg1
= (wxDC
*) 0 ;
17344 wxPoint
*arg2
= 0 ;
17346 wxDC
*arg4
= (wxDC
*) 0 ;
17347 wxPoint
*arg5
= 0 ;
17348 int arg6
= (int) wxCOPY
;
17349 bool arg7
= (bool) false ;
17350 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17351 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 PyObject
* obj2
= 0 ;
17368 PyObject
* obj3
= 0 ;
17369 PyObject
* obj4
= 0 ;
17370 PyObject
* obj5
= 0 ;
17371 PyObject
* obj6
= 0 ;
17372 PyObject
* obj7
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17389 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17391 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17392 if (!SWIG_IsOK(res4
)) {
17393 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17395 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17398 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17401 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17402 if (!SWIG_IsOK(ecode6
)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17405 arg6
= static_cast< int >(val6
);
17408 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17409 if (!SWIG_IsOK(ecode7
)) {
17410 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17412 arg7
= static_cast< bool >(val7
);
17417 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17435 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxDC
*arg1
= (wxDC
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 PyObject
* obj2
= 0 ;
17455 PyObject
* obj3
= 0 ;
17456 PyObject
* obj4
= 0 ;
17457 char * kwnames
[] = {
17458 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17463 if (!SWIG_IsOK(res1
)) {
17464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17468 if (!SWIG_IsOK(ecode2
)) {
17469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17471 arg2
= static_cast< int >(val2
);
17472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17473 if (!SWIG_IsOK(ecode3
)) {
17474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17476 arg3
= static_cast< int >(val3
);
17477 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17478 if (!SWIG_IsOK(ecode4
)) {
17479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17481 arg4
= static_cast< int >(val4
);
17482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17483 if (!SWIG_IsOK(ecode5
)) {
17484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17486 arg5
= static_cast< int >(val5
);
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_Py_Void();
17500 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
= 0;
17502 wxDC
*arg1
= (wxDC
*) 0 ;
17503 wxPoint
*arg2
= 0 ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 PyObject
* obj2
= 0 ;
17512 char * kwnames
[] = {
17513 (char *) "self",(char *) "pt",(char *) "sz", NULL
17516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17518 if (!SWIG_IsOK(res1
)) {
17519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17528 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_Py_Void();
17543 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
= 0;
17545 wxDC
*arg1
= (wxDC
*) 0 ;
17546 wxRegion
*arg2
= 0 ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 char * kwnames
[] = {
17554 (char *) "self",(char *) "region", NULL
17557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17564 if (!SWIG_IsOK(res2
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17570 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_Py_Void();
17584 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= 0;
17586 wxDC
*arg1
= (wxDC
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char * kwnames
[] = {
17594 (char *) "self",(char *) "rect", NULL
17597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17599 if (!SWIG_IsOK(res1
)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17605 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= SWIG_Py_Void();
17620 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
= 0;
17622 wxDC
*arg1
= (wxDC
*) 0 ;
17624 wxPoint
*arg3
= (wxPoint
*) 0 ;
17625 int arg4
= (int) 0 ;
17626 int arg5
= (int) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 PyObject
* obj2
= 0 ;
17636 PyObject
* obj3
= 0 ;
17637 char * kwnames
[] = {
17638 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17643 if (!SWIG_IsOK(res1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17648 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17649 if (arg3
== NULL
) SWIG_fail
;
17652 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17653 if (!SWIG_IsOK(ecode4
)) {
17654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17656 arg4
= static_cast< int >(val4
);
17659 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17660 if (!SWIG_IsOK(ecode5
)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17663 arg5
= static_cast< int >(val5
);
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_Py_Void();
17673 if (arg3
) delete [] arg3
;
17678 if (arg3
) delete [] arg3
;
17684 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
= 0;
17686 wxDC
*arg1
= (wxDC
*) 0 ;
17688 wxPoint
*arg3
= (wxPoint
*) 0 ;
17689 int arg4
= (int) 0 ;
17690 int arg5
= (int) 0 ;
17691 int arg6
= (int) wxODDEVEN_RULE
;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 PyObject
* obj2
= 0 ;
17703 PyObject
* obj3
= 0 ;
17704 PyObject
* obj4
= 0 ;
17705 char * kwnames
[] = {
17706 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17711 if (!SWIG_IsOK(res1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17716 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17717 if (arg3
== NULL
) SWIG_fail
;
17720 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17721 if (!SWIG_IsOK(ecode4
)) {
17722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17724 arg4
= static_cast< int >(val4
);
17727 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17728 if (!SWIG_IsOK(ecode5
)) {
17729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17731 arg5
= static_cast< int >(val5
);
17734 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17735 if (!SWIG_IsOK(ecode6
)) {
17736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17738 arg6
= static_cast< int >(val6
);
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_Py_Void();
17748 if (arg3
) delete [] arg3
;
17753 if (arg3
) delete [] arg3
;
17759 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
= 0;
17761 wxDC
*arg1
= (wxDC
*) 0 ;
17762 wxString
*arg2
= 0 ;
17764 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17765 int arg5
= (int) -1 ;
17768 bool temp2
= false ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 PyObject
* obj2
= 0 ;
17777 PyObject
* obj3
= 0 ;
17778 PyObject
* obj4
= 0 ;
17779 char * kwnames
[] = {
17780 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17785 if (!SWIG_IsOK(res1
)) {
17786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17790 arg2
= wxString_in_helper(obj1
);
17791 if (arg2
== NULL
) SWIG_fail
;
17796 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17800 if (!SWIG_IsOK(ecode4
)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17803 arg4
= static_cast< int >(val4
);
17806 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17807 if (!SWIG_IsOK(ecode5
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17810 arg5
= static_cast< int >(val5
);
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= SWIG_Py_Void();
17833 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
= 0;
17835 wxDC
*arg1
= (wxDC
*) 0 ;
17836 wxString
*arg2
= 0 ;
17837 wxBitmap
*arg3
= 0 ;
17839 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17840 int arg6
= (int) -1 ;
17844 bool temp2
= false ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 PyObject
* obj2
= 0 ;
17855 PyObject
* obj3
= 0 ;
17856 PyObject
* obj4
= 0 ;
17857 PyObject
* obj5
= 0 ;
17858 char * kwnames
[] = {
17859 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17864 if (!SWIG_IsOK(res1
)) {
17865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17869 arg2
= wxString_in_helper(obj1
);
17870 if (arg2
== NULL
) SWIG_fail
;
17873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17874 if (!SWIG_IsOK(res3
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17880 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17883 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17887 if (!SWIG_IsOK(ecode5
)) {
17888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17890 arg5
= static_cast< int >(val5
);
17893 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17894 if (!SWIG_IsOK(ecode6
)) {
17895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17897 arg6
= static_cast< int >(val6
);
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17920 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
= 0;
17922 wxDC
*arg1
= (wxDC
*) 0 ;
17924 wxPoint
*arg3
= (wxPoint
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 char * kwnames
[] = {
17930 (char *) "self",(char *) "points", NULL
17933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17940 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17941 if (arg3
== NULL
) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 (arg1
)->DrawSpline(arg2
,arg3
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_Py_Void();
17951 if (arg3
) delete [] arg3
;
17956 if (arg3
) delete [] arg3
;
17962 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17963 PyObject
*resultobj
= 0;
17964 wxDC
*arg1
= (wxDC
*) 0 ;
17967 PyObject
*swig_obj
[1] ;
17969 if (!args
) SWIG_fail
;
17970 swig_obj
[0] = args
;
17971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17972 if (!SWIG_IsOK(res1
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_Py_Void();
17989 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxDC
*arg1
= (wxDC
*) 0 ;
17992 wxString
*arg2
= 0 ;
17996 bool temp2
= false ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 char * kwnames
[] = {
18000 (char *) "self",(char *) "message", NULL
18003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18010 arg2
= wxString_in_helper(obj1
);
18011 if (arg2
== NULL
) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18037 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18038 PyObject
*resultobj
= 0;
18039 wxDC
*arg1
= (wxDC
*) 0 ;
18042 PyObject
*swig_obj
[1] ;
18044 if (!args
) SWIG_fail
;
18045 swig_obj
[0] = args
;
18046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_Py_Void();
18064 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18065 PyObject
*resultobj
= 0;
18066 wxDC
*arg1
= (wxDC
*) 0 ;
18069 PyObject
*swig_obj
[1] ;
18071 if (!args
) SWIG_fail
;
18072 swig_obj
[0] = args
;
18073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18074 if (!SWIG_IsOK(res1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 (arg1
)->StartPage();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_Py_Void();
18091 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18092 PyObject
*resultobj
= 0;
18093 wxDC
*arg1
= (wxDC
*) 0 ;
18096 PyObject
*swig_obj
[1] ;
18098 if (!args
) SWIG_fail
;
18099 swig_obj
[0] = args
;
18100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18101 if (!SWIG_IsOK(res1
)) {
18102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_Py_Void();
18118 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
= 0;
18120 wxDC
*arg1
= (wxDC
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "font", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18134 if (!SWIG_IsOK(res1
)) {
18135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18139 if (!SWIG_IsOK(res2
)) {
18140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18145 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetFont((wxFont
const &)*arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_Py_Void();
18159 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= 0;
18161 wxDC
*arg1
= (wxDC
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "pen", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18180 if (!SWIG_IsOK(res2
)) {
18181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18186 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->SetPen((wxPen
const &)*arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_Py_Void();
18200 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
= 0;
18202 wxDC
*arg1
= (wxDC
*) 0 ;
18203 wxBrush
*arg2
= 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char * kwnames
[] = {
18211 (char *) "self",(char *) "brush", NULL
18214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18221 if (!SWIG_IsOK(res2
)) {
18222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18227 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= SWIG_Py_Void();
18241 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
= 0;
18243 wxDC
*arg1
= (wxDC
*) 0 ;
18244 wxBrush
*arg2
= 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 char * kwnames
[] = {
18252 (char *) "self",(char *) "brush", NULL
18255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18257 if (!SWIG_IsOK(res1
)) {
18258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18262 if (!SWIG_IsOK(res2
)) {
18263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18268 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= SWIG_Py_Void();
18282 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
= 0;
18284 wxDC
*arg1
= (wxDC
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char * kwnames
[] = {
18293 (char *) "self",(char *) "mode", NULL
18296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18298 if (!SWIG_IsOK(res1
)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18303 if (!SWIG_IsOK(ecode2
)) {
18304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18306 arg2
= static_cast< int >(val2
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->SetBackgroundMode(arg2
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_Py_Void();
18320 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
= 0;
18322 wxDC
*arg1
= (wxDC
*) 0 ;
18323 wxPalette
*arg2
= 0 ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 char * kwnames
[] = {
18331 (char *) "self",(char *) "palette", NULL
18334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18336 if (!SWIG_IsOK(res1
)) {
18337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18341 if (!SWIG_IsOK(res2
)) {
18342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18347 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_Py_Void();
18361 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18362 PyObject
*resultobj
= 0;
18363 wxDC
*arg1
= (wxDC
*) 0 ;
18366 PyObject
*swig_obj
[1] ;
18368 if (!args
) SWIG_fail
;
18369 swig_obj
[0] = args
;
18370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18371 if (!SWIG_IsOK(res1
)) {
18372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->DestroyClippingRegion();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_Py_Void();
18388 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18389 PyObject
*resultobj
= 0;
18390 wxDC
*arg1
= (wxDC
*) 0 ;
18391 int *arg2
= (int *) 0 ;
18392 int *arg3
= (int *) 0 ;
18393 int *arg4
= (int *) 0 ;
18394 int *arg5
= (int *) 0 ;
18398 int res2
= SWIG_TMPOBJ
;
18400 int res3
= SWIG_TMPOBJ
;
18402 int res4
= SWIG_TMPOBJ
;
18404 int res5
= SWIG_TMPOBJ
;
18405 PyObject
*swig_obj
[1] ;
18411 if (!args
) SWIG_fail
;
18412 swig_obj
[0] = args
;
18413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_Py_Void();
18425 if (SWIG_IsTmpObj(res2
)) {
18426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18428 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18431 if (SWIG_IsTmpObj(res3
)) {
18432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18434 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18437 if (SWIG_IsTmpObj(res4
)) {
18438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18440 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18443 if (SWIG_IsTmpObj(res5
)) {
18444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18446 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18455 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18456 PyObject
*resultobj
= 0;
18457 wxDC
*arg1
= (wxDC
*) 0 ;
18461 PyObject
*swig_obj
[1] ;
18463 if (!args
) SWIG_fail
;
18464 swig_obj
[0] = args
;
18465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18466 if (!SWIG_IsOK(res1
)) {
18467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= wxDC_GetClippingRect(arg1
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18483 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18484 PyObject
*resultobj
= 0;
18485 wxDC
*arg1
= (wxDC
*) 0 ;
18489 PyObject
*swig_obj
[1] ;
18491 if (!args
) SWIG_fail
;
18492 swig_obj
[0] = args
;
18493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18494 if (!SWIG_IsOK(res1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_From_int(static_cast< int >(result
));
18511 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18512 PyObject
*resultobj
= 0;
18513 wxDC
*arg1
= (wxDC
*) 0 ;
18517 PyObject
*swig_obj
[1] ;
18519 if (!args
) SWIG_fail
;
18520 swig_obj
[0] = args
;
18521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18522 if (!SWIG_IsOK(res1
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_From_int(static_cast< int >(result
));
18539 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
= 0;
18541 wxDC
*arg1
= (wxDC
*) 0 ;
18542 wxString
*arg2
= 0 ;
18543 int *arg3
= (int *) 0 ;
18544 int *arg4
= (int *) 0 ;
18547 bool temp2
= false ;
18549 int res3
= SWIG_TMPOBJ
;
18551 int res4
= SWIG_TMPOBJ
;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "self",(char *) "string", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18567 arg2
= wxString_in_helper(obj1
);
18568 if (arg2
== NULL
) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_Py_Void();
18578 if (SWIG_IsTmpObj(res3
)) {
18579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18581 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18584 if (SWIG_IsTmpObj(res4
)) {
18585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18587 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18604 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
= 0;
18606 wxDC
*arg1
= (wxDC
*) 0 ;
18607 wxString
*arg2
= 0 ;
18608 int *arg3
= (int *) 0 ;
18609 int *arg4
= (int *) 0 ;
18610 int *arg5
= (int *) 0 ;
18611 int *arg6
= (int *) 0 ;
18612 wxFont
*arg7
= (wxFont
*) NULL
;
18615 bool temp2
= false ;
18617 int res3
= SWIG_TMPOBJ
;
18619 int res4
= SWIG_TMPOBJ
;
18621 int res5
= SWIG_TMPOBJ
;
18623 int res6
= SWIG_TMPOBJ
;
18626 PyObject
* obj0
= 0 ;
18627 PyObject
* obj1
= 0 ;
18628 PyObject
* obj2
= 0 ;
18629 char * kwnames
[] = {
18630 (char *) "self",(char *) "string",(char *) "font", NULL
18637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18639 if (!SWIG_IsOK(res1
)) {
18640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18644 arg2
= wxString_in_helper(obj1
);
18645 if (arg2
== NULL
) SWIG_fail
;
18649 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18650 if (!SWIG_IsOK(res7
)) {
18651 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18653 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_Py_Void();
18662 if (SWIG_IsTmpObj(res3
)) {
18663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18665 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18668 if (SWIG_IsTmpObj(res4
)) {
18669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18671 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18674 if (SWIG_IsTmpObj(res5
)) {
18675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18677 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18680 if (SWIG_IsTmpObj(res6
)) {
18681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18683 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18700 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
= 0;
18702 wxDC
*arg1
= (wxDC
*) 0 ;
18703 wxString
*arg2
= 0 ;
18704 int *arg3
= (int *) 0 ;
18705 int *arg4
= (int *) 0 ;
18706 int *arg5
= (int *) 0 ;
18707 wxFont
*arg6
= (wxFont
*) NULL
;
18710 bool temp2
= false ;
18712 int res3
= SWIG_TMPOBJ
;
18714 int res4
= SWIG_TMPOBJ
;
18716 int res5
= SWIG_TMPOBJ
;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 PyObject
* obj2
= 0 ;
18722 char * kwnames
[] = {
18723 (char *) "self",(char *) "text",(char *) "font", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18731 if (!SWIG_IsOK(res1
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18736 arg2
= wxString_in_helper(obj1
);
18737 if (arg2
== NULL
) SWIG_fail
;
18741 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18742 if (!SWIG_IsOK(res6
)) {
18743 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18745 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_Py_Void();
18754 if (SWIG_IsTmpObj(res3
)) {
18755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18757 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18760 if (SWIG_IsTmpObj(res4
)) {
18761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18763 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18766 if (SWIG_IsTmpObj(res5
)) {
18767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18769 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18786 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
= 0;
18788 wxDC
*arg1
= (wxDC
*) 0 ;
18789 wxString
*arg2
= 0 ;
18793 bool temp2
= false ;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 char * kwnames
[] = {
18797 (char *) "self",(char *) "text", NULL
18800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18802 if (!SWIG_IsOK(res1
)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18807 arg2
= wxString_in_helper(obj1
);
18808 if (arg2
== NULL
) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= PyList_New(0);
18820 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18821 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18822 PyList_Append(resultobj
, val
);
18840 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18841 PyObject
*resultobj
= 0;
18842 wxDC
*arg1
= (wxDC
*) 0 ;
18846 PyObject
*swig_obj
[1] ;
18848 if (!args
) SWIG_fail
;
18849 swig_obj
[0] = args
;
18850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (arg1
)->GetSize();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18868 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18869 PyObject
*resultobj
= 0;
18870 wxDC
*arg1
= (wxDC
*) 0 ;
18871 int *arg2
= (int *) 0 ;
18872 int *arg3
= (int *) 0 ;
18876 int res2
= SWIG_TMPOBJ
;
18878 int res3
= SWIG_TMPOBJ
;
18879 PyObject
*swig_obj
[1] ;
18883 if (!args
) SWIG_fail
;
18884 swig_obj
[0] = args
;
18885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18886 if (!SWIG_IsOK(res1
)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 (arg1
)->GetSize(arg2
,arg3
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_Py_Void();
18897 if (SWIG_IsTmpObj(res2
)) {
18898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18900 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18903 if (SWIG_IsTmpObj(res3
)) {
18904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18906 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18915 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18916 PyObject
*resultobj
= 0;
18917 wxDC
*arg1
= (wxDC
*) 0 ;
18921 PyObject
*swig_obj
[1] ;
18923 if (!args
) SWIG_fail
;
18924 swig_obj
[0] = args
;
18925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18926 if (!SWIG_IsOK(res1
)) {
18927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18943 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18944 PyObject
*resultobj
= 0;
18945 wxDC
*arg1
= (wxDC
*) 0 ;
18946 int *arg2
= (int *) 0 ;
18947 int *arg3
= (int *) 0 ;
18951 int res2
= SWIG_TMPOBJ
;
18953 int res3
= SWIG_TMPOBJ
;
18954 PyObject
*swig_obj
[1] ;
18958 if (!args
) SWIG_fail
;
18959 swig_obj
[0] = args
;
18960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18961 if (!SWIG_IsOK(res1
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= SWIG_Py_Void();
18972 if (SWIG_IsTmpObj(res2
)) {
18973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18975 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18978 if (SWIG_IsTmpObj(res3
)) {
18979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18981 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18990 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
= 0;
18992 wxDC
*arg1
= (wxDC
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char * kwnames
[] = {
19002 (char *) "self",(char *) "x", NULL
19005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
19010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19012 if (!SWIG_IsOK(ecode2
)) {
19013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
19015 arg2
= static_cast< int >(val2
);
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= SWIG_From_int(static_cast< int >(result
));
19029 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
= 0;
19031 wxDC
*arg1
= (wxDC
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "y", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19051 if (!SWIG_IsOK(ecode2
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19054 arg2
= static_cast< int >(val2
);
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_From_int(static_cast< int >(result
));
19068 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
= 0;
19070 wxDC
*arg1
= (wxDC
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 char * kwnames
[] = {
19080 (char *) "self",(char *) "x", NULL
19083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19090 if (!SWIG_IsOK(ecode2
)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19093 arg2
= static_cast< int >(val2
);
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= SWIG_From_int(static_cast< int >(result
));
19107 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
= 0;
19109 wxDC
*arg1
= (wxDC
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 char * kwnames
[] = {
19119 (char *) "self",(char *) "y", NULL
19122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19124 if (!SWIG_IsOK(res1
)) {
19125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19129 if (!SWIG_IsOK(ecode2
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19132 arg2
= static_cast< int >(val2
);
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= SWIG_From_int(static_cast< int >(result
));
19146 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
= 0;
19148 wxDC
*arg1
= (wxDC
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char * kwnames
[] = {
19158 (char *) "self",(char *) "x", NULL
19161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19163 if (!SWIG_IsOK(res1
)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
19166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19168 if (!SWIG_IsOK(ecode2
)) {
19169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19171 arg2
= static_cast< int >(val2
);
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_From_int(static_cast< int >(result
));
19185 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= 0;
19187 wxDC
*arg1
= (wxDC
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char * kwnames
[] = {
19197 (char *) "self",(char *) "y", NULL
19200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19207 if (!SWIG_IsOK(ecode2
)) {
19208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19210 arg2
= static_cast< int >(val2
);
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_From_int(static_cast< int >(result
));
19224 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
= 0;
19226 wxDC
*arg1
= (wxDC
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char * kwnames
[] = {
19236 (char *) "self",(char *) "x", NULL
19239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19241 if (!SWIG_IsOK(res1
)) {
19242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19246 if (!SWIG_IsOK(ecode2
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19249 arg2
= static_cast< int >(val2
);
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_From_int(static_cast< int >(result
));
19263 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
= 0;
19265 wxDC
*arg1
= (wxDC
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char * kwnames
[] = {
19275 (char *) "self",(char *) "y", NULL
19278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19280 if (!SWIG_IsOK(res1
)) {
19281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19285 if (!SWIG_IsOK(ecode2
)) {
19286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19288 arg2
= static_cast< int >(val2
);
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_From_int(static_cast< int >(result
));
19302 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19303 PyObject
*resultobj
= 0;
19304 wxDC
*arg1
= (wxDC
*) 0 ;
19308 PyObject
*swig_obj
[1] ;
19310 if (!args
) SWIG_fail
;
19311 swig_obj
[0] = args
;
19312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19313 if (!SWIG_IsOK(res1
)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19332 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19333 PyObject
*resultobj
= 0;
19334 wxDC
*arg1
= (wxDC
*) 0 ;
19338 PyObject
*swig_obj
[1] ;
19340 if (!args
) SWIG_fail
;
19341 swig_obj
[0] = args
;
19342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19343 if (!SWIG_IsOK(res1
)) {
19344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19362 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19363 PyObject
*resultobj
= 0;
19364 wxDC
*arg1
= (wxDC
*) 0 ;
19368 PyObject
*swig_obj
[1] ;
19370 if (!args
) SWIG_fail
;
19371 swig_obj
[0] = args
;
19372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19373 if (!SWIG_IsOK(res1
)) {
19374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_From_int(static_cast< int >(result
));
19390 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19391 PyObject
*resultobj
= 0;
19392 wxDC
*arg1
= (wxDC
*) 0 ;
19396 PyObject
*swig_obj
[1] ;
19398 if (!args
) SWIG_fail
;
19399 swig_obj
[0] = args
;
19400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19401 if (!SWIG_IsOK(res1
)) {
19402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= ((wxDC
const *)arg1
)->GetPPI();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19418 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19419 PyObject
*resultobj
= 0;
19420 wxDC
*arg1
= (wxDC
*) 0 ;
19424 PyObject
*swig_obj
[1] ;
19426 if (!args
) SWIG_fail
;
19427 swig_obj
[0] = args
;
19428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19429 if (!SWIG_IsOK(res1
)) {
19430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (bool)((wxDC
const *)arg1
)->Ok();
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19448 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19449 PyObject
*resultobj
= 0;
19450 wxDC
*arg1
= (wxDC
*) 0 ;
19454 PyObject
*swig_obj
[1] ;
19456 if (!args
) SWIG_fail
;
19457 swig_obj
[0] = args
;
19458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_From_int(static_cast< int >(result
));
19476 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19477 PyObject
*resultobj
= 0;
19478 wxDC
*arg1
= (wxDC
*) 0 ;
19479 wxBrush
*result
= 0 ;
19482 PyObject
*swig_obj
[1] ;
19484 if (!args
) SWIG_fail
;
19485 swig_obj
[0] = args
;
19486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19495 result
= (wxBrush
*) &_result_ref
;
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19501 wxBrush
* resultptr
= new wxBrush(*result
);
19502 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19510 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19511 PyObject
*resultobj
= 0;
19512 wxDC
*arg1
= (wxDC
*) 0 ;
19513 wxBrush
*result
= 0 ;
19516 PyObject
*swig_obj
[1] ;
19518 if (!args
) SWIG_fail
;
19519 swig_obj
[0] = args
;
19520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19521 if (!SWIG_IsOK(res1
)) {
19522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19529 result
= (wxBrush
*) &_result_ref
;
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19535 wxBrush
* resultptr
= new wxBrush(*result
);
19536 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19544 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19545 PyObject
*resultobj
= 0;
19546 wxDC
*arg1
= (wxDC
*) 0 ;
19547 wxFont
*result
= 0 ;
19550 PyObject
*swig_obj
[1] ;
19552 if (!args
) SWIG_fail
;
19553 swig_obj
[0] = args
;
19554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19555 if (!SWIG_IsOK(res1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19563 result
= (wxFont
*) &_result_ref
;
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19569 wxFont
* resultptr
= new wxFont(*result
);
19570 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19578 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19579 PyObject
*resultobj
= 0;
19580 wxDC
*arg1
= (wxDC
*) 0 ;
19581 wxPen
*result
= 0 ;
19584 PyObject
*swig_obj
[1] ;
19586 if (!args
) SWIG_fail
;
19587 swig_obj
[0] = args
;
19588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19589 if (!SWIG_IsOK(res1
)) {
19590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19597 result
= (wxPen
*) &_result_ref
;
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19603 wxPen
* resultptr
= new wxPen(*result
);
19604 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19612 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19613 PyObject
*resultobj
= 0;
19614 wxDC
*arg1
= (wxDC
*) 0 ;
19615 wxColour
*result
= 0 ;
19618 PyObject
*swig_obj
[1] ;
19620 if (!args
) SWIG_fail
;
19621 swig_obj
[0] = args
;
19622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19623 if (!SWIG_IsOK(res1
)) {
19624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19631 result
= (wxColour
*) &_result_ref
;
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19643 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19644 PyObject
*resultobj
= 0;
19645 wxDC
*arg1
= (wxDC
*) 0 ;
19646 wxColour
*result
= 0 ;
19649 PyObject
*swig_obj
[1] ;
19651 if (!args
) SWIG_fail
;
19652 swig_obj
[0] = args
;
19653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19662 result
= (wxColour
*) &_result_ref
;
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19674 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
= 0;
19676 wxDC
*arg1
= (wxDC
*) 0 ;
19677 wxColour
*arg2
= 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 char * kwnames
[] = {
19684 (char *) "self",(char *) "colour", NULL
19687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19689 if (!SWIG_IsOK(res1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_Py_Void();
19710 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxDC
*arg1
= (wxDC
*) 0 ;
19713 wxColour
*arg2
= 0 ;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj1
= 0 ;
19719 char * kwnames
[] = {
19720 (char *) "self",(char *) "colour", NULL
19723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19725 if (!SWIG_IsOK(res1
)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19731 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_Py_Void();
19746 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19747 PyObject
*resultobj
= 0;
19748 wxDC
*arg1
= (wxDC
*) 0 ;
19752 PyObject
*swig_obj
[1] ;
19754 if (!args
) SWIG_fail
;
19755 swig_obj
[0] = args
;
19756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19757 if (!SWIG_IsOK(res1
)) {
19758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_From_int(static_cast< int >(result
));
19774 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
= 0;
19776 wxDC
*arg1
= (wxDC
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 char * kwnames
[] = {
19785 (char *) "self",(char *) "mode", NULL
19788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19795 if (!SWIG_IsOK(ecode2
)) {
19796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19798 arg2
= static_cast< int >(val2
);
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 (arg1
)->SetMapMode(arg2
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_Py_Void();
19812 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19813 PyObject
*resultobj
= 0;
19814 wxDC
*arg1
= (wxDC
*) 0 ;
19815 double *arg2
= (double *) 0 ;
19816 double *arg3
= (double *) 0 ;
19820 int res2
= SWIG_TMPOBJ
;
19822 int res3
= SWIG_TMPOBJ
;
19823 PyObject
*swig_obj
[1] ;
19827 if (!args
) SWIG_fail
;
19828 swig_obj
[0] = args
;
19829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19830 if (!SWIG_IsOK(res1
)) {
19831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= SWIG_Py_Void();
19841 if (SWIG_IsTmpObj(res2
)) {
19842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19844 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19847 if (SWIG_IsTmpObj(res3
)) {
19848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19850 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19859 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
= 0;
19861 wxDC
*arg1
= (wxDC
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 PyObject
* obj2
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "self",(char *) "x",(char *) "y", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19883 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19884 if (!SWIG_IsOK(ecode2
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19887 arg2
= static_cast< double >(val2
);
19888 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19889 if (!SWIG_IsOK(ecode3
)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19892 arg3
= static_cast< double >(val3
);
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 (arg1
)->SetUserScale(arg2
,arg3
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= SWIG_Py_Void();
19906 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19907 PyObject
*resultobj
= 0;
19908 wxDC
*arg1
= (wxDC
*) 0 ;
19909 double *arg2
= (double *) 0 ;
19910 double *arg3
= (double *) 0 ;
19914 int res2
= SWIG_TMPOBJ
;
19916 int res3
= SWIG_TMPOBJ
;
19917 PyObject
*swig_obj
[1] ;
19921 if (!args
) SWIG_fail
;
19922 swig_obj
[0] = args
;
19923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19924 if (!SWIG_IsOK(res1
)) {
19925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 (arg1
)->GetLogicalScale(arg2
,arg3
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_Py_Void();
19935 if (SWIG_IsTmpObj(res2
)) {
19936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19938 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19941 if (SWIG_IsTmpObj(res3
)) {
19942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19944 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19953 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
= 0;
19955 wxDC
*arg1
= (wxDC
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 PyObject
* obj2
= 0 ;
19967 char * kwnames
[] = {
19968 (char *) "self",(char *) "x",(char *) "y", NULL
19971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19973 if (!SWIG_IsOK(res1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19977 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19978 if (!SWIG_IsOK(ecode2
)) {
19979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19981 arg2
= static_cast< double >(val2
);
19982 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19983 if (!SWIG_IsOK(ecode3
)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19986 arg3
= static_cast< double >(val3
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 (arg1
)->SetLogicalScale(arg2
,arg3
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_Py_Void();
20000 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20001 PyObject
*resultobj
= 0;
20002 wxDC
*arg1
= (wxDC
*) 0 ;
20006 PyObject
*swig_obj
[1] ;
20008 if (!args
) SWIG_fail
;
20009 swig_obj
[0] = args
;
20010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20011 if (!SWIG_IsOK(res1
)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20028 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20029 PyObject
*resultobj
= 0;
20030 wxDC
*arg1
= (wxDC
*) 0 ;
20031 int *arg2
= (int *) 0 ;
20032 int *arg3
= (int *) 0 ;
20036 int res2
= SWIG_TMPOBJ
;
20038 int res3
= SWIG_TMPOBJ
;
20039 PyObject
*swig_obj
[1] ;
20043 if (!args
) SWIG_fail
;
20044 swig_obj
[0] = args
;
20045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= SWIG_Py_Void();
20057 if (SWIG_IsTmpObj(res2
)) {
20058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20060 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20063 if (SWIG_IsTmpObj(res3
)) {
20064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20066 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20075 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= 0;
20077 wxDC
*arg1
= (wxDC
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 PyObject
* obj2
= 0 ;
20089 char * kwnames
[] = {
20090 (char *) "self",(char *) "x",(char *) "y", NULL
20093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20095 if (!SWIG_IsOK(res1
)) {
20096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20100 if (!SWIG_IsOK(ecode2
)) {
20101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20103 arg2
= static_cast< int >(val2
);
20104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20105 if (!SWIG_IsOK(ecode3
)) {
20106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20108 arg3
= static_cast< int >(val3
);
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_Py_Void();
20122 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
= 0;
20124 wxDC
*arg1
= (wxDC
*) 0 ;
20125 wxPoint
*arg2
= 0 ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "point", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_Py_Void();
20158 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20159 PyObject
*resultobj
= 0;
20160 wxDC
*arg1
= (wxDC
*) 0 ;
20164 PyObject
*swig_obj
[1] ;
20166 if (!args
) SWIG_fail
;
20167 swig_obj
[0] = args
;
20168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20169 if (!SWIG_IsOK(res1
)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20186 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20187 PyObject
*resultobj
= 0;
20188 wxDC
*arg1
= (wxDC
*) 0 ;
20189 int *arg2
= (int *) 0 ;
20190 int *arg3
= (int *) 0 ;
20194 int res2
= SWIG_TMPOBJ
;
20196 int res3
= SWIG_TMPOBJ
;
20197 PyObject
*swig_obj
[1] ;
20201 if (!args
) SWIG_fail
;
20202 swig_obj
[0] = args
;
20203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20204 if (!SWIG_IsOK(res1
)) {
20205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_Py_Void();
20215 if (SWIG_IsTmpObj(res2
)) {
20216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20218 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20221 if (SWIG_IsTmpObj(res3
)) {
20222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20224 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20233 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= 0;
20235 wxDC
*arg1
= (wxDC
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 PyObject
* obj2
= 0 ;
20247 char * kwnames
[] = {
20248 (char *) "self",(char *) "x",(char *) "y", NULL
20251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20253 if (!SWIG_IsOK(res1
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20258 if (!SWIG_IsOK(ecode2
)) {
20259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20261 arg2
= static_cast< int >(val2
);
20262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20263 if (!SWIG_IsOK(ecode3
)) {
20264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20266 arg3
= static_cast< int >(val3
);
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_Py_Void();
20280 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
= 0;
20282 wxDC
*arg1
= (wxDC
*) 0 ;
20283 wxPoint
*arg2
= 0 ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 char * kwnames
[] = {
20290 (char *) "self",(char *) "point", NULL
20293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20295 if (!SWIG_IsOK(res1
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_Py_Void();
20316 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
= 0;
20318 wxDC
*arg1
= (wxDC
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 PyObject
* obj2
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20344 arg2
= static_cast< bool >(val2
);
20345 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20346 if (!SWIG_IsOK(ecode3
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20349 arg3
= static_cast< bool >(val3
);
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_Py_Void();
20363 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20369 PyObject
*swig_obj
[1] ;
20371 if (!args
) SWIG_fail
;
20372 swig_obj
[0] = args
;
20373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_From_int(static_cast< int >(result
));
20391 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= 0;
20393 wxDC
*arg1
= (wxDC
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 char * kwnames
[] = {
20402 (char *) "self",(char *) "function", NULL
20405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20407 if (!SWIG_IsOK(res1
)) {
20408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20412 if (!SWIG_IsOK(ecode2
)) {
20413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20415 arg2
= static_cast< int >(val2
);
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->SetLogicalFunction(arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= SWIG_Py_Void();
20429 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20430 PyObject
*resultobj
= 0;
20431 wxDC
*arg1
= (wxDC
*) 0 ;
20434 PyObject
*swig_obj
[1] ;
20436 if (!args
) SWIG_fail
;
20437 swig_obj
[0] = args
;
20438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20439 if (!SWIG_IsOK(res1
)) {
20440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 (arg1
)->ComputeScaleAndOrigin();
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= SWIG_Py_Void();
20456 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
= 0;
20458 wxDC
*arg1
= (wxDC
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 PyObject
* obj2
= 0 ;
20470 char * kwnames
[] = {
20471 (char *) "self",(char *) "x",(char *) "y", NULL
20474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20476 if (!SWIG_IsOK(res1
)) {
20477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20481 if (!SWIG_IsOK(ecode2
)) {
20482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20484 arg2
= static_cast< int >(val2
);
20485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20486 if (!SWIG_IsOK(ecode3
)) {
20487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20489 arg3
= static_cast< int >(val3
);
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= SWIG_Py_Void();
20503 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
= 0;
20505 wxDC
*arg1
= (wxDC
*) 0 ;
20506 wxPoint
*arg2
= 0 ;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "self",(char *) "point", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_Py_Void();
20539 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20540 PyObject
*resultobj
= 0;
20541 wxDC
*arg1
= (wxDC
*) 0 ;
20544 PyObject
*swig_obj
[1] ;
20546 if (!args
) SWIG_fail
;
20547 swig_obj
[0] = args
;
20548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20549 if (!SWIG_IsOK(res1
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 (arg1
)->ResetBoundingBox();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_Py_Void();
20566 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20567 PyObject
*resultobj
= 0;
20568 wxDC
*arg1
= (wxDC
*) 0 ;
20572 PyObject
*swig_obj
[1] ;
20574 if (!args
) SWIG_fail
;
20575 swig_obj
[0] = args
;
20576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (int)((wxDC
const *)arg1
)->MinX();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= SWIG_From_int(static_cast< int >(result
));
20594 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20595 PyObject
*resultobj
= 0;
20596 wxDC
*arg1
= (wxDC
*) 0 ;
20600 PyObject
*swig_obj
[1] ;
20602 if (!args
) SWIG_fail
;
20603 swig_obj
[0] = args
;
20604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20605 if (!SWIG_IsOK(res1
)) {
20606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (int)((wxDC
const *)arg1
)->MaxX();
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= SWIG_From_int(static_cast< int >(result
));
20622 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20623 PyObject
*resultobj
= 0;
20624 wxDC
*arg1
= (wxDC
*) 0 ;
20628 PyObject
*swig_obj
[1] ;
20630 if (!args
) SWIG_fail
;
20631 swig_obj
[0] = args
;
20632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (int)((wxDC
const *)arg1
)->MinY();
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= SWIG_From_int(static_cast< int >(result
));
20650 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20651 PyObject
*resultobj
= 0;
20652 wxDC
*arg1
= (wxDC
*) 0 ;
20656 PyObject
*swig_obj
[1] ;
20658 if (!args
) SWIG_fail
;
20659 swig_obj
[0] = args
;
20660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20661 if (!SWIG_IsOK(res1
)) {
20662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= (int)((wxDC
const *)arg1
)->MaxY();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_From_int(static_cast< int >(result
));
20678 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20679 PyObject
*resultobj
= 0;
20680 wxDC
*arg1
= (wxDC
*) 0 ;
20681 int *arg2
= (int *) 0 ;
20682 int *arg3
= (int *) 0 ;
20683 int *arg4
= (int *) 0 ;
20684 int *arg5
= (int *) 0 ;
20688 int res2
= SWIG_TMPOBJ
;
20690 int res3
= SWIG_TMPOBJ
;
20692 int res4
= SWIG_TMPOBJ
;
20694 int res5
= SWIG_TMPOBJ
;
20695 PyObject
*swig_obj
[1] ;
20701 if (!args
) SWIG_fail
;
20702 swig_obj
[0] = args
;
20703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_Py_Void();
20715 if (SWIG_IsTmpObj(res2
)) {
20716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20718 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20721 if (SWIG_IsTmpObj(res3
)) {
20722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20724 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20727 if (SWIG_IsTmpObj(res4
)) {
20728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20730 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20733 if (SWIG_IsTmpObj(res5
)) {
20734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20736 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20745 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20746 PyObject
*resultobj
= 0;
20747 wxDC
*arg1
= (wxDC
*) 0 ;
20751 PyObject
*swig_obj
[1] ;
20753 if (!args
) SWIG_fail
;
20754 swig_obj
[0] = args
;
20755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20756 if (!SWIG_IsOK(res1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (long)(arg1
)->GetHDC();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_From_long(static_cast< long >(result
));
20773 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
= 0;
20775 wxDC
*arg1
= (wxDC
*) 0 ;
20776 PyObject
*arg2
= (PyObject
*) 0 ;
20777 PyObject
*arg3
= (PyObject
*) 0 ;
20778 PyObject
*arg4
= (PyObject
*) 0 ;
20779 PyObject
*result
= 0 ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 PyObject
* obj2
= 0 ;
20785 PyObject
* obj3
= 0 ;
20786 char * kwnames
[] = {
20787 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= result
;
20812 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
= 0;
20814 wxDC
*arg1
= (wxDC
*) 0 ;
20815 PyObject
*arg2
= (PyObject
*) 0 ;
20816 PyObject
*arg3
= (PyObject
*) 0 ;
20817 PyObject
*arg4
= (PyObject
*) 0 ;
20818 PyObject
*result
= 0 ;
20821 PyObject
* obj0
= 0 ;
20822 PyObject
* obj1
= 0 ;
20823 PyObject
* obj2
= 0 ;
20824 PyObject
* obj3
= 0 ;
20825 char * kwnames
[] = {
20826 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20831 if (!SWIG_IsOK(res1
)) {
20832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= result
;
20851 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
= 0;
20853 wxDC
*arg1
= (wxDC
*) 0 ;
20854 PyObject
*arg2
= (PyObject
*) 0 ;
20855 PyObject
*arg3
= (PyObject
*) 0 ;
20856 PyObject
*arg4
= (PyObject
*) 0 ;
20857 PyObject
*result
= 0 ;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 PyObject
* obj2
= 0 ;
20863 PyObject
* obj3
= 0 ;
20864 char * kwnames
[] = {
20865 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= result
;
20890 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxDC
*arg1
= (wxDC
*) 0 ;
20893 PyObject
*arg2
= (PyObject
*) 0 ;
20894 PyObject
*arg3
= (PyObject
*) 0 ;
20895 PyObject
*arg4
= (PyObject
*) 0 ;
20896 PyObject
*result
= 0 ;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 PyObject
* obj2
= 0 ;
20902 PyObject
* obj3
= 0 ;
20903 char * kwnames
[] = {
20904 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
;
20929 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
= 0;
20931 wxDC
*arg1
= (wxDC
*) 0 ;
20932 PyObject
*arg2
= (PyObject
*) 0 ;
20933 PyObject
*arg3
= (PyObject
*) 0 ;
20934 PyObject
*arg4
= (PyObject
*) 0 ;
20935 PyObject
*result
= 0 ;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 PyObject
* obj2
= 0 ;
20941 PyObject
* obj3
= 0 ;
20942 char * kwnames
[] = {
20943 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20948 if (!SWIG_IsOK(res1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20957 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= result
;
20968 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
= 0;
20970 wxDC
*arg1
= (wxDC
*) 0 ;
20971 PyObject
*arg2
= (PyObject
*) 0 ;
20972 PyObject
*arg3
= (PyObject
*) 0 ;
20973 PyObject
*arg4
= (PyObject
*) 0 ;
20974 PyObject
*arg5
= (PyObject
*) 0 ;
20975 PyObject
*result
= 0 ;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 PyObject
* obj2
= 0 ;
20981 PyObject
* obj3
= 0 ;
20982 PyObject
* obj4
= 0 ;
20983 char * kwnames
[] = {
20984 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= result
;
21010 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21013 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
21014 return SWIG_Py_Void();
21017 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21018 PyObject
*resultobj
= 0;
21019 wxMemoryDC
*result
= 0 ;
21021 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
21023 if (!wxPyCheckForApp()) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (wxMemoryDC
*)new wxMemoryDC();
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
21036 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
= 0;
21038 wxDC
*arg1
= (wxDC
*) 0 ;
21039 wxMemoryDC
*result
= 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char * kwnames
[] = {
21044 (char *) "oldDC", NULL
21047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21054 if (!wxPyCheckForApp()) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21067 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
= 0;
21069 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21070 wxBitmap
*arg2
= 0 ;
21075 PyObject
* obj0
= 0 ;
21076 PyObject
* obj1
= 0 ;
21077 char * kwnames
[] = {
21078 (char *) "self",(char *) "bitmap", NULL
21081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21083 if (!SWIG_IsOK(res1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21086 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21088 if (!SWIG_IsOK(res2
)) {
21089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21094 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_Py_Void();
21108 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21111 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21112 return SWIG_Py_Void();
21115 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21116 return SWIG_Python_InitShadowInstance(args
);
21119 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21120 PyObject
*resultobj
= 0;
21121 wxDC
*arg1
= (wxDC
*) 0 ;
21122 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21123 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21124 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21125 wxBufferedDC
*result
= 0 ;
21133 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21135 if (!SWIG_IsOK(res1
)) {
21136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21140 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21141 if (!SWIG_IsOK(res2
)) {
21142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21147 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21150 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21151 if (!SWIG_IsOK(ecode3
)) {
21152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21154 arg3
= static_cast< int >(val3
);
21157 if (!wxPyCheckForApp()) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21170 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21171 PyObject
*resultobj
= 0;
21172 wxDC
*arg1
= (wxDC
*) 0 ;
21174 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21175 wxBufferedDC
*result
= 0 ;
21182 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21184 if (!SWIG_IsOK(res1
)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21190 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21193 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21194 if (!SWIG_IsOK(ecode3
)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21197 arg3
= static_cast< int >(val3
);
21200 if (!wxPyCheckForApp()) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21213 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21217 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21219 if ((argc
>= 1) && (argc
<= 3)) {
21223 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21224 _v
= SWIG_CheckState(res
);
21226 if (!_v
) goto check_1
;
21228 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21232 if ((argc
>= 2) && (argc
<= 3)) {
21233 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21237 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21242 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21243 PyObject
*resultobj
= 0;
21244 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21247 PyObject
*swig_obj
[1] ;
21249 if (!args
) SWIG_fail
;
21250 swig_obj
[0] = args
;
21251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21252 if (!SWIG_IsOK(res1
)) {
21253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21255 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 resultobj
= SWIG_Py_Void();
21270 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21271 PyObject
*resultobj
= 0;
21272 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21275 PyObject
*swig_obj
[1] ;
21277 if (!args
) SWIG_fail
;
21278 swig_obj
[0] = args
;
21279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21280 if (!SWIG_IsOK(res1
)) {
21281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21283 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_Py_Void();
21297 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21300 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21301 return SWIG_Py_Void();
21304 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21305 return SWIG_Python_InitShadowInstance(args
);
21308 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
= 0;
21310 wxWindow
*arg1
= (wxWindow
*) 0 ;
21311 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21312 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21313 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21314 wxBufferedPaintDC
*result
= 0 ;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 PyObject
* obj2
= 0 ;
21324 char * kwnames
[] = {
21325 (char *) "window",(char *) "buffer",(char *) "style", NULL
21328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21330 if (!SWIG_IsOK(res1
)) {
21331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21336 if (!SWIG_IsOK(res2
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21342 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21346 if (!SWIG_IsOK(ecode3
)) {
21347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21349 arg3
= static_cast< int >(val3
);
21352 if (!wxPyCheckForApp()) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21365 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21368 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21369 return SWIG_Py_Void();
21372 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21373 return SWIG_Python_InitShadowInstance(args
);
21376 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21377 PyObject
*resultobj
= 0;
21378 wxScreenDC
*result
= 0 ;
21380 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21382 if (!wxPyCheckForApp()) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (wxScreenDC
*)new wxScreenDC();
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21395 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
= 0;
21397 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21398 wxWindow
*arg2
= (wxWindow
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char * kwnames
[] = {
21407 (char *) "self",(char *) "window", NULL
21410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21412 if (!SWIG_IsOK(res1
)) {
21413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21415 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21417 if (!SWIG_IsOK(res2
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21436 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
= 0;
21438 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21439 wxRect
*arg2
= (wxRect
*) NULL
;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "rect", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21456 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21459 if (!SWIG_IsOK(res2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21462 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21479 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21480 PyObject
*resultobj
= 0;
21481 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21485 PyObject
*swig_obj
[1] ;
21487 if (!args
) SWIG_fail
;
21488 swig_obj
[0] = args
;
21489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21490 if (!SWIG_IsOK(res1
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21493 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (bool)(arg1
)->EndDrawingOnTop();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21512 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21513 return SWIG_Py_Void();
21516 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21517 return SWIG_Python_InitShadowInstance(args
);
21520 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
= 0;
21522 wxWindow
*arg1
= (wxWindow
*) 0 ;
21523 wxClientDC
*result
= 0 ;
21526 PyObject
* obj0
= 0 ;
21527 char * kwnames
[] = {
21528 (char *) "win", NULL
21531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21538 if (!wxPyCheckForApp()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (wxClientDC
*)new wxClientDC(arg1
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21551 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21554 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21555 return SWIG_Py_Void();
21558 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 return SWIG_Python_InitShadowInstance(args
);
21562 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
= 0;
21564 wxWindow
*arg1
= (wxWindow
*) 0 ;
21565 wxPaintDC
*result
= 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char * kwnames
[] = {
21570 (char *) "win", NULL
21573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21575 if (!SWIG_IsOK(res1
)) {
21576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21580 if (!wxPyCheckForApp()) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21593 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21596 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21597 return SWIG_Py_Void();
21600 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21601 return SWIG_Python_InitShadowInstance(args
);
21604 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
= 0;
21606 wxWindow
*arg1
= (wxWindow
*) 0 ;
21607 wxWindowDC
*result
= 0 ;
21610 PyObject
* obj0
= 0 ;
21611 char * kwnames
[] = {
21612 (char *) "win", NULL
21615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21617 if (!SWIG_IsOK(res1
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21622 if (!wxPyCheckForApp()) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21635 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21638 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21639 return SWIG_Py_Void();
21642 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21643 return SWIG_Python_InitShadowInstance(args
);
21646 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
= 0;
21650 wxMirrorDC
*result
= 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char * kwnames
[] = {
21658 (char *) "dc",(char *) "mirror", NULL
21661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21662 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21663 if (!SWIG_IsOK(res1
)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21670 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21671 if (!SWIG_IsOK(ecode2
)) {
21672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21674 arg2
= static_cast< bool >(val2
);
21676 if (!wxPyCheckForApp()) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21689 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21692 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21693 return SWIG_Py_Void();
21696 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21697 return SWIG_Python_InitShadowInstance(args
);
21700 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
= 0;
21702 wxPrintData
*arg1
= 0 ;
21703 wxPostScriptDC
*result
= 0 ;
21706 PyObject
* obj0
= 0 ;
21707 char * kwnames
[] = {
21708 (char *) "printData", NULL
21711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21712 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21713 if (!SWIG_IsOK(res1
)) {
21714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21719 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21721 if (!wxPyCheckForApp()) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21734 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21735 PyObject
*resultobj
= 0;
21736 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21737 wxPrintData
*result
= 0 ;
21740 PyObject
*swig_obj
[1] ;
21742 if (!args
) SWIG_fail
;
21743 swig_obj
[0] = args
;
21744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21745 if (!SWIG_IsOK(res1
)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21748 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21753 result
= (wxPrintData
*) &_result_ref
;
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21765 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= 0;
21767 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21768 wxPrintData
*arg2
= 0 ;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 char * kwnames
[] = {
21776 (char *) "self",(char *) "data", NULL
21779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21781 if (!SWIG_IsOK(res1
)) {
21782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21784 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21786 if (!SWIG_IsOK(res2
)) {
21787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21792 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= SWIG_Py_Void();
21806 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
= 0;
21811 PyObject
* obj0
= 0 ;
21812 char * kwnames
[] = {
21813 (char *) "ppi", NULL
21816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21817 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21818 if (!SWIG_IsOK(ecode1
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21821 arg1
= static_cast< int >(val1
);
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 wxPostScriptDC::SetResolution(arg1
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_Py_Void();
21835 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21836 PyObject
*resultobj
= 0;
21839 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (int)wxPostScriptDC::GetResolution();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_From_int(static_cast< int >(result
));
21853 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21856 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21857 return SWIG_Py_Void();
21860 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21861 return SWIG_Python_InitShadowInstance(args
);
21864 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
= 0;
21866 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21867 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21868 wxMetaFile
*result
= 0 ;
21869 bool temp1
= false ;
21870 PyObject
* obj0
= 0 ;
21871 char * kwnames
[] = {
21872 (char *) "filename", NULL
21875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21878 arg1
= wxString_in_helper(obj0
);
21879 if (arg1
== NULL
) SWIG_fail
;
21884 if (!wxPyCheckForApp()) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21905 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 PyObject
*resultobj
= 0;
21907 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21910 PyObject
*swig_obj
[1] ;
21912 if (!args
) SWIG_fail
;
21913 swig_obj
[0] = args
;
21914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21918 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_Py_Void();
21933 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21934 PyObject
*resultobj
= 0;
21935 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21939 PyObject
*swig_obj
[1] ;
21941 if (!args
) SWIG_fail
;
21942 swig_obj
[0] = args
;
21943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21944 if (!SWIG_IsOK(res1
)) {
21945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21947 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (bool)(arg1
)->Ok();
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21963 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
= 0;
21965 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21966 int arg2
= (int) 0 ;
21967 int arg3
= (int) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 char * kwnames
[] = {
21979 (char *) "self",(char *) "width",(char *) "height", NULL
21982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21987 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21990 if (!SWIG_IsOK(ecode2
)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21993 arg2
= static_cast< int >(val2
);
21996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21997 if (!SWIG_IsOK(ecode3
)) {
21998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
22000 arg3
= static_cast< int >(val3
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22017 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22018 PyObject
*resultobj
= 0;
22019 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22023 PyObject
*swig_obj
[1] ;
22025 if (!args
) SWIG_fail
;
22026 swig_obj
[0] = args
;
22027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22031 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (arg1
)->GetSize();
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22045 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22046 PyObject
*resultobj
= 0;
22047 wxMetaFile
*arg1
= (wxMetaFile
*) 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_wxMetaFile
, 0 | 0 );
22056 if (!SWIG_IsOK(res1
)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22059 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (int)(arg1
)->GetWidth();
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_From_int(static_cast< int >(result
));
22073 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22074 PyObject
*resultobj
= 0;
22075 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22079 PyObject
*swig_obj
[1] ;
22081 if (!args
) SWIG_fail
;
22082 swig_obj
[0] = args
;
22083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22084 if (!SWIG_IsOK(res1
)) {
22085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22087 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (int)(arg1
)->GetHeight();
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 resultobj
= SWIG_From_int(static_cast< int >(result
));
22101 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22102 PyObject
*resultobj
= 0;
22103 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22104 wxString
*result
= 0 ;
22107 PyObject
*swig_obj
[1] ;
22109 if (!args
) SWIG_fail
;
22110 swig_obj
[0] = args
;
22111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22112 if (!SWIG_IsOK(res1
)) {
22113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22115 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22120 result
= (wxString
*) &_result_ref
;
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22138 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22141 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22142 return SWIG_Py_Void();
22145 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22146 return SWIG_Python_InitShadowInstance(args
);
22149 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
= 0;
22151 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22152 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22153 int arg2
= (int) 0 ;
22154 int arg3
= (int) 0 ;
22155 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22156 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22157 wxMetaFileDC
*result
= 0 ;
22158 bool temp1
= false ;
22163 bool temp4
= false ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 PyObject
* obj2
= 0 ;
22167 PyObject
* obj3
= 0 ;
22168 char * kwnames
[] = {
22169 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22175 arg1
= wxString_in_helper(obj0
);
22176 if (arg1
== NULL
) SWIG_fail
;
22181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22182 if (!SWIG_IsOK(ecode2
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22185 arg2
= static_cast< int >(val2
);
22188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22189 if (!SWIG_IsOK(ecode3
)) {
22190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22192 arg3
= static_cast< int >(val3
);
22196 arg4
= wxString_in_helper(obj3
);
22197 if (arg4
== NULL
) SWIG_fail
;
22202 if (!wxPyCheckForApp()) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22231 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22234 wxMetaFile
*result
= 0 ;
22237 PyObject
*swig_obj
[1] ;
22239 if (!args
) SWIG_fail
;
22240 swig_obj
[0] = args
;
22241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22245 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (wxMetaFile
*)(arg1
)->Close();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22259 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22262 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22263 return SWIG_Py_Void();
22266 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22267 return SWIG_Python_InitShadowInstance(args
);
22270 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
= 0;
22272 wxPrintData
*arg1
= 0 ;
22273 wxPrinterDC
*result
= 0 ;
22276 PyObject
* obj0
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "printData", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22289 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22291 if (!wxPyCheckForApp()) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22304 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22308 return SWIG_Py_Void();
22311 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22312 return SWIG_Python_InitShadowInstance(args
);
22315 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
= 0;
22319 int arg3
= (int) true ;
22320 int arg4
= (int) 1 ;
22321 wxImageList
*result
= 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 PyObject
* obj2
= 0 ;
22333 PyObject
* obj3
= 0 ;
22334 char * kwnames
[] = {
22335 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22339 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22340 if (!SWIG_IsOK(ecode1
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22343 arg1
= static_cast< int >(val1
);
22344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22345 if (!SWIG_IsOK(ecode2
)) {
22346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22348 arg2
= static_cast< int >(val2
);
22350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22351 if (!SWIG_IsOK(ecode3
)) {
22352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22354 arg3
= static_cast< int >(val3
);
22357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22358 if (!SWIG_IsOK(ecode4
)) {
22359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22361 arg4
= static_cast< int >(val4
);
22364 if (!wxPyCheckForApp()) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22379 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22380 PyObject
*resultobj
= 0;
22381 wxImageList
*arg1
= (wxImageList
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22392 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_Py_Void();
22407 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
= 0;
22409 wxImageList
*arg1
= (wxImageList
*) 0 ;
22410 wxBitmap
*arg2
= 0 ;
22411 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22412 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22420 PyObject
* obj0
= 0 ;
22421 PyObject
* obj1
= 0 ;
22422 PyObject
* obj2
= 0 ;
22423 char * kwnames
[] = {
22424 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22429 if (!SWIG_IsOK(res1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22432 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22434 if (!SWIG_IsOK(res2
)) {
22435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22440 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22442 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22443 if (!SWIG_IsOK(res3
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22449 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= SWIG_From_int(static_cast< int >(result
));
22464 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
= 0;
22466 wxImageList
*arg1
= (wxImageList
*) 0 ;
22467 wxBitmap
*arg2
= 0 ;
22468 wxColour
*arg3
= 0 ;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 PyObject
* obj2
= 0 ;
22478 char * kwnames
[] = {
22479 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22487 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22489 if (!SWIG_IsOK(res2
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22495 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22498 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= SWIG_From_int(static_cast< int >(result
));
22513 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
= 0;
22515 wxImageList
*arg1
= (wxImageList
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 char * kwnames
[] = {
22525 (char *) "self",(char *) "icon", NULL
22528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22530 if (!SWIG_IsOK(res1
)) {
22531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22533 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22535 if (!SWIG_IsOK(res2
)) {
22536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22541 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_From_int(static_cast< int >(result
));
22555 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= 0;
22557 wxImageList
*arg1
= (wxImageList
*) 0 ;
22559 SwigValueWrapper
<wxBitmap
> result
;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char * kwnames
[] = {
22567 (char *) "self",(char *) "index", NULL
22570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22575 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22577 if (!SWIG_IsOK(ecode2
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22580 arg2
= static_cast< int >(val2
);
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22594 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
= 0;
22596 wxImageList
*arg1
= (wxImageList
*) 0 ;
22603 PyObject
* obj0
= 0 ;
22604 PyObject
* obj1
= 0 ;
22605 char * kwnames
[] = {
22606 (char *) "self",(char *) "index", NULL
22609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22611 if (!SWIG_IsOK(res1
)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22614 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22616 if (!SWIG_IsOK(ecode2
)) {
22617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22619 arg2
= static_cast< int >(val2
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22633 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
= 0;
22635 wxImageList
*arg1
= (wxImageList
*) 0 ;
22637 wxBitmap
*arg3
= 0 ;
22638 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22639 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 PyObject
* obj2
= 0 ;
22652 PyObject
* obj3
= 0 ;
22653 char * kwnames
[] = {
22654 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22659 if (!SWIG_IsOK(res1
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22662 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22664 if (!SWIG_IsOK(ecode2
)) {
22665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22667 arg2
= static_cast< int >(val2
);
22668 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22669 if (!SWIG_IsOK(res3
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22675 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22677 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22678 if (!SWIG_IsOK(res4
)) {
22679 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22684 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22701 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
= 0;
22703 wxImageList
*arg1
= (wxImageList
*) 0 ;
22708 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22709 bool arg7
= (bool) (bool)false ;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 PyObject
* obj2
= 0 ;
22728 PyObject
* obj3
= 0 ;
22729 PyObject
* obj4
= 0 ;
22730 PyObject
* obj5
= 0 ;
22731 PyObject
* obj6
= 0 ;
22732 char * kwnames
[] = {
22733 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22741 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22743 if (!SWIG_IsOK(ecode2
)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22746 arg2
= static_cast< int >(val2
);
22747 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22748 if (!SWIG_IsOK(res3
)) {
22749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22754 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22755 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22756 if (!SWIG_IsOK(ecode4
)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22759 arg4
= static_cast< int >(val4
);
22760 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22761 if (!SWIG_IsOK(ecode5
)) {
22762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22764 arg5
= static_cast< int >(val5
);
22766 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22767 if (!SWIG_IsOK(ecode6
)) {
22768 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22770 arg6
= static_cast< int >(val6
);
22773 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22774 if (!SWIG_IsOK(ecode7
)) {
22775 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22777 arg7
= static_cast< bool >(val7
);
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22794 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22795 PyObject
*resultobj
= 0;
22796 wxImageList
*arg1
= (wxImageList
*) 0 ;
22800 PyObject
*swig_obj
[1] ;
22802 if (!args
) SWIG_fail
;
22803 swig_obj
[0] = args
;
22804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22805 if (!SWIG_IsOK(res1
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22808 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (int)(arg1
)->GetImageCount();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_From_int(static_cast< int >(result
));
22822 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxImageList
*arg1
= (wxImageList
*) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char * kwnames
[] = {
22834 (char *) "self",(char *) "index", NULL
22837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22839 if (!SWIG_IsOK(res1
)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22842 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22844 if (!SWIG_IsOK(ecode2
)) {
22845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22847 arg2
= static_cast< int >(val2
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (bool)(arg1
)->Remove(arg2
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22863 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22864 PyObject
*resultobj
= 0;
22865 wxImageList
*arg1
= (wxImageList
*) 0 ;
22869 PyObject
*swig_obj
[1] ;
22871 if (!args
) SWIG_fail
;
22872 swig_obj
[0] = args
;
22873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22874 if (!SWIG_IsOK(res1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22877 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (bool)(arg1
)->RemoveAll();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22893 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
= 0;
22895 wxImageList
*arg1
= (wxImageList
*) 0 ;
22904 int res3
= SWIG_TMPOBJ
;
22906 int res4
= SWIG_TMPOBJ
;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 char * kwnames
[] = {
22910 (char *) "self",(char *) "index", NULL
22915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22917 if (!SWIG_IsOK(res1
)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22920 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22922 if (!SWIG_IsOK(ecode2
)) {
22923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22925 arg2
= static_cast< int >(val2
);
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= SWIG_Py_Void();
22933 if (SWIG_IsTmpObj(res3
)) {
22934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22936 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22939 if (SWIG_IsTmpObj(res4
)) {
22940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22942 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22951 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22954 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22955 return SWIG_Py_Void();
22958 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 return SWIG_Python_InitShadowInstance(args
);
22962 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22963 PyObject
*resultobj
= 0;
22964 wxStockGDI
*result
= 0 ;
22966 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (wxStockGDI
*)new wxStockGDI();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22980 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22981 PyObject
*resultobj
= 0;
22982 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22985 PyObject
*swig_obj
[1] ;
22987 if (!args
) SWIG_fail
;
22988 swig_obj
[0] = args
;
22989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22993 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_Py_Void();
23008 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23009 PyObject
*resultobj
= 0;
23011 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 wxStockGDI::DeleteAll();
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 resultobj
= SWIG_Py_Void();
23025 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23026 PyObject
*resultobj
= 0;
23027 wxStockGDI
*result
= 0 ;
23029 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 wxStockGDI
&_result_ref
= wxStockGDI::instance();
23034 result
= (wxStockGDI
*) &_result_ref
;
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23046 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
= 0;
23048 wxStockGDI::Item arg1
;
23049 wxBrush
*result
= 0 ;
23052 PyObject
* obj0
= 0 ;
23053 char * kwnames
[] = {
23054 (char *) "item", NULL
23057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
23058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23059 if (!SWIG_IsOK(ecode1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23062 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23076 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
= 0;
23078 wxStockGDI::Item arg1
;
23079 wxColour
*result
= 0 ;
23082 PyObject
* obj0
= 0 ;
23083 char * kwnames
[] = {
23084 (char *) "item", NULL
23087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
23088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23089 if (!SWIG_IsOK(ecode1
)) {
23090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23092 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23106 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
= 0;
23108 wxStockGDI::Item arg1
;
23109 wxCursor
*result
= 0 ;
23112 PyObject
* obj0
= 0 ;
23113 char * kwnames
[] = {
23114 (char *) "item", NULL
23117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
23118 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23119 if (!SWIG_IsOK(ecode1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23122 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
23136 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
= 0;
23138 wxStockGDI::Item arg1
;
23139 wxPen
*result
= 0 ;
23142 PyObject
* obj0
= 0 ;
23143 char * kwnames
[] = {
23144 (char *) "item", NULL
23147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
23148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23149 if (!SWIG_IsOK(ecode1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23152 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23166 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
= 0;
23168 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
23169 wxStockGDI::Item arg2
;
23170 wxFont
*result
= 0 ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 char * kwnames
[] = {
23178 (char *) "self",(char *) "item", NULL
23181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
23186 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
23187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23188 if (!SWIG_IsOK(ecode2
)) {
23189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
23191 arg2
= static_cast< wxStockGDI::Item
>(val2
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23205 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23208 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
23209 return SWIG_Py_Void();
23212 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23213 return SWIG_Python_InitShadowInstance(args
);
23216 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23217 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23222 SWIGINTERN PyObject
*NullBitmap_get(void) {
23223 PyObject
*pyobj
= 0;
23225 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23230 SWIGINTERN
int NullIcon_set(PyObject
*) {
23231 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23236 SWIGINTERN PyObject
*NullIcon_get(void) {
23237 PyObject
*pyobj
= 0;
23239 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23244 SWIGINTERN
int NullCursor_set(PyObject
*) {
23245 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23250 SWIGINTERN PyObject
*NullCursor_get(void) {
23251 PyObject
*pyobj
= 0;
23253 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23258 SWIGINTERN
int NullPen_set(PyObject
*) {
23259 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23264 SWIGINTERN PyObject
*NullPen_get(void) {
23265 PyObject
*pyobj
= 0;
23267 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23272 SWIGINTERN
int NullBrush_set(PyObject
*) {
23273 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23278 SWIGINTERN PyObject
*NullBrush_get(void) {
23279 PyObject
*pyobj
= 0;
23281 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23286 SWIGINTERN
int NullPalette_set(PyObject
*) {
23287 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23292 SWIGINTERN PyObject
*NullPalette_get(void) {
23293 PyObject
*pyobj
= 0;
23295 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23300 SWIGINTERN
int NullFont_set(PyObject
*) {
23301 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23306 SWIGINTERN PyObject
*NullFont_get(void) {
23307 PyObject
*pyobj
= 0;
23309 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23314 SWIGINTERN
int NullColour_set(PyObject
*) {
23315 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23320 SWIGINTERN PyObject
*NullColour_get(void) {
23321 PyObject
*pyobj
= 0;
23323 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23328 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23329 PyObject
*resultobj
= 0;
23330 wxGDIObjListBase
*result
= 0 ;
23332 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
23346 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 PyObject
*resultobj
= 0;
23348 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
23351 PyObject
*swig_obj
[1] ;
23353 if (!args
) SWIG_fail
;
23354 swig_obj
[0] = args
;
23355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
23359 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= SWIG_Py_Void();
23374 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23377 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
23378 return SWIG_Py_Void();
23381 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23382 return SWIG_Python_InitShadowInstance(args
);
23385 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
= 0;
23387 wxPenList
*arg1
= (wxPenList
*) 0 ;
23388 wxColour
*arg2
= 0 ;
23391 wxPen
*result
= 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 PyObject
* obj2
= 0 ;
23402 PyObject
* obj3
= 0 ;
23403 char * kwnames
[] = {
23404 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23409 if (!SWIG_IsOK(res1
)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23412 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23418 if (!SWIG_IsOK(ecode3
)) {
23419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23421 arg3
= static_cast< int >(val3
);
23422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23423 if (!SWIG_IsOK(ecode4
)) {
23424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23426 arg4
= static_cast< int >(val4
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23440 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
= 0;
23442 wxPenList
*arg1
= (wxPenList
*) 0 ;
23443 wxPen
*arg2
= (wxPen
*) 0 ;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 char * kwnames
[] = {
23451 (char *) "self",(char *) "pen", NULL
23454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23456 if (!SWIG_IsOK(res1
)) {
23457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23459 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23461 if (!SWIG_IsOK(res2
)) {
23462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23464 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 (arg1
)->AddPen(arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= SWIG_Py_Void();
23478 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
= 0;
23480 wxPenList
*arg1
= (wxPenList
*) 0 ;
23481 wxPen
*arg2
= (wxPen
*) 0 ;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 char * kwnames
[] = {
23489 (char *) "self",(char *) "pen", NULL
23492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23494 if (!SWIG_IsOK(res1
)) {
23495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23497 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23499 if (!SWIG_IsOK(res2
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23502 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 (arg1
)->RemovePen(arg2
);
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= SWIG_Py_Void();
23516 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23520 return SWIG_Py_Void();
23523 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
= 0;
23525 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23526 wxColour
*arg2
= 0 ;
23527 int arg3
= (int) wxSOLID
;
23528 wxBrush
*result
= 0 ;
23534 PyObject
* obj0
= 0 ;
23535 PyObject
* obj1
= 0 ;
23536 PyObject
* obj2
= 0 ;
23537 char * kwnames
[] = {
23538 (char *) "self",(char *) "colour",(char *) "style", NULL
23541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23543 if (!SWIG_IsOK(res1
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23546 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23553 if (!SWIG_IsOK(ecode3
)) {
23554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23556 arg3
= static_cast< int >(val3
);
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23571 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
= 0;
23573 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23574 wxBrush
*arg2
= (wxBrush
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char * kwnames
[] = {
23582 (char *) "self",(char *) "brush", NULL
23585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23587 if (!SWIG_IsOK(res1
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23590 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23592 if (!SWIG_IsOK(res2
)) {
23593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23595 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 (arg1
)->AddBrush(arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_Py_Void();
23609 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
= 0;
23611 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23612 wxBrush
*arg2
= (wxBrush
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char * kwnames
[] = {
23620 (char *) "self",(char *) "brush", NULL
23623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23625 if (!SWIG_IsOK(res1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23628 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23630 if (!SWIG_IsOK(res2
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23633 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 (arg1
)->RemoveBrush(arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_Py_Void();
23647 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23650 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23651 return SWIG_Py_Void();
23654 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
= 0;
23656 wxFontList
*arg1
= (wxFontList
*) 0 ;
23661 bool arg6
= (bool) false ;
23662 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23663 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23664 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23665 wxFont
*result
= 0 ;
23678 bool temp7
= false ;
23681 PyObject
* obj0
= 0 ;
23682 PyObject
* obj1
= 0 ;
23683 PyObject
* obj2
= 0 ;
23684 PyObject
* obj3
= 0 ;
23685 PyObject
* obj4
= 0 ;
23686 PyObject
* obj5
= 0 ;
23687 PyObject
* obj6
= 0 ;
23688 PyObject
* obj7
= 0 ;
23689 char * kwnames
[] = {
23690 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23695 if (!SWIG_IsOK(res1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23698 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23700 if (!SWIG_IsOK(ecode2
)) {
23701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23703 arg2
= static_cast< int >(val2
);
23704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23705 if (!SWIG_IsOK(ecode3
)) {
23706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23708 arg3
= static_cast< int >(val3
);
23709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23710 if (!SWIG_IsOK(ecode4
)) {
23711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23713 arg4
= static_cast< int >(val4
);
23714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23715 if (!SWIG_IsOK(ecode5
)) {
23716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23718 arg5
= static_cast< int >(val5
);
23720 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23721 if (!SWIG_IsOK(ecode6
)) {
23722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23724 arg6
= static_cast< bool >(val6
);
23728 arg7
= wxString_in_helper(obj6
);
23729 if (arg7
== NULL
) SWIG_fail
;
23734 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23735 if (!SWIG_IsOK(ecode8
)) {
23736 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23738 arg8
= static_cast< wxFontEncoding
>(val8
);
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23761 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
= 0;
23763 wxFontList
*arg1
= (wxFontList
*) 0 ;
23764 wxFont
*arg2
= (wxFont
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char * kwnames
[] = {
23772 (char *) "self",(char *) "font", NULL
23775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23777 if (!SWIG_IsOK(res1
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23780 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23782 if (!SWIG_IsOK(res2
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23785 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 (arg1
)->AddFont(arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_Py_Void();
23799 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
= 0;
23801 wxFontList
*arg1
= (wxFontList
*) 0 ;
23802 wxFont
*arg2
= (wxFont
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 char * kwnames
[] = {
23810 (char *) "self",(char *) "font", NULL
23813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23815 if (!SWIG_IsOK(res1
)) {
23816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23818 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23820 if (!SWIG_IsOK(res2
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23823 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 (arg1
)->RemoveFont(arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= SWIG_Py_Void();
23837 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23840 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23841 return SWIG_Py_Void();
23844 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23845 PyObject
*resultobj
= 0;
23846 wxColourDatabase
*result
= 0 ;
23848 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23850 if (!wxPyCheckForApp()) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (wxColourDatabase
*)new wxColourDatabase();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23863 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23864 PyObject
*resultobj
= 0;
23865 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23868 PyObject
*swig_obj
[1] ;
23870 if (!args
) SWIG_fail
;
23871 swig_obj
[0] = args
;
23872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23873 if (!SWIG_IsOK(res1
)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23876 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_Py_Void();
23891 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
= 0;
23893 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23894 wxString
*arg2
= 0 ;
23898 bool temp2
= false ;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 char * kwnames
[] = {
23902 (char *) "self",(char *) "name", NULL
23905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23910 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23912 arg2
= wxString_in_helper(obj1
);
23913 if (arg2
== NULL
) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23937 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
= 0;
23939 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23940 wxColour
*arg2
= 0 ;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 char * kwnames
[] = {
23948 (char *) "self",(char *) "colour", NULL
23951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23953 if (!SWIG_IsOK(res1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23956 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23980 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
= 0;
23982 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23983 wxString
*arg2
= 0 ;
23984 wxColour
*arg3
= 0 ;
23987 bool temp2
= false ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 PyObject
* obj2
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "self",(char *) "name",(char *) "colour", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24001 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24003 arg2
= wxString_in_helper(obj1
);
24004 if (arg2
== NULL
) SWIG_fail
;
24009 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24017 resultobj
= SWIG_Py_Void();
24032 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
= 0;
24034 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
24035 wxString
*arg2
= 0 ;
24041 bool temp2
= false ;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 PyObject
* obj2
= 0 ;
24051 PyObject
* obj3
= 0 ;
24052 PyObject
* obj4
= 0 ;
24053 char * kwnames
[] = {
24054 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24059 if (!SWIG_IsOK(res1
)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24062 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24064 arg2
= wxString_in_helper(obj1
);
24065 if (arg2
== NULL
) SWIG_fail
;
24068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24069 if (!SWIG_IsOK(ecode3
)) {
24070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24072 arg3
= static_cast< int >(val3
);
24073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24074 if (!SWIG_IsOK(ecode4
)) {
24075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24077 arg4
= static_cast< int >(val4
);
24078 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24079 if (!SWIG_IsOK(ecode5
)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24082 arg5
= static_cast< int >(val5
);
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_Py_Void();
24104 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24107 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24108 return SWIG_Py_Void();
24111 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24112 return SWIG_Python_InitShadowInstance(args
);
24115 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24116 PyObject
*resultobj
= 0;
24117 wxFontList
*result
= 0 ;
24119 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (wxFontList
*)_wxPyInitTheFontList();
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
24133 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24134 PyObject
*resultobj
= 0;
24135 wxPenList
*result
= 0 ;
24137 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (wxPenList
*)_wxPyInitThePenList();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
24151 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24152 PyObject
*resultobj
= 0;
24153 wxBrushList
*result
= 0 ;
24155 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (wxBrushList
*)_wxPyInitTheBrushList();
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
24169 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24170 PyObject
*resultobj
= 0;
24171 wxColourDatabase
*result
= 0 ;
24173 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24187 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24188 PyObject
*resultobj
= 0;
24189 wxEffects
*result
= 0 ;
24191 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (wxEffects
*)new wxEffects();
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24205 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24206 PyObject
*resultobj
= 0;
24207 wxEffects
*arg1
= (wxEffects
*) 0 ;
24211 PyObject
*swig_obj
[1] ;
24213 if (!args
) SWIG_fail
;
24214 swig_obj
[0] = args
;
24215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24216 if (!SWIG_IsOK(res1
)) {
24217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24219 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24233 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24234 PyObject
*resultobj
= 0;
24235 wxEffects
*arg1
= (wxEffects
*) 0 ;
24239 PyObject
*swig_obj
[1] ;
24241 if (!args
) SWIG_fail
;
24242 swig_obj
[0] = args
;
24243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24247 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24261 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24262 PyObject
*resultobj
= 0;
24263 wxEffects
*arg1
= (wxEffects
*) 0 ;
24267 PyObject
*swig_obj
[1] ;
24269 if (!args
) SWIG_fail
;
24270 swig_obj
[0] = args
;
24271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24275 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24289 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24290 PyObject
*resultobj
= 0;
24291 wxEffects
*arg1
= (wxEffects
*) 0 ;
24295 PyObject
*swig_obj
[1] ;
24297 if (!args
) SWIG_fail
;
24298 swig_obj
[0] = args
;
24299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24303 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24317 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24318 PyObject
*resultobj
= 0;
24319 wxEffects
*arg1
= (wxEffects
*) 0 ;
24323 PyObject
*swig_obj
[1] ;
24325 if (!args
) SWIG_fail
;
24326 swig_obj
[0] = args
;
24327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24331 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24345 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
= 0;
24347 wxEffects
*arg1
= (wxEffects
*) 0 ;
24348 wxColour
*arg2
= 0 ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 char * kwnames
[] = {
24355 (char *) "self",(char *) "c", NULL
24358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24360 if (!SWIG_IsOK(res1
)) {
24361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24363 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_Py_Void();
24381 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
= 0;
24383 wxEffects
*arg1
= (wxEffects
*) 0 ;
24384 wxColour
*arg2
= 0 ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 char * kwnames
[] = {
24391 (char *) "self",(char *) "c", NULL
24394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24399 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24402 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= SWIG_Py_Void();
24417 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
= 0;
24419 wxEffects
*arg1
= (wxEffects
*) 0 ;
24420 wxColour
*arg2
= 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char * kwnames
[] = {
24427 (char *) "self",(char *) "c", NULL
24430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24432 if (!SWIG_IsOK(res1
)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24435 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_Py_Void();
24453 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
= 0;
24455 wxEffects
*arg1
= (wxEffects
*) 0 ;
24456 wxColour
*arg2
= 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char * kwnames
[] = {
24463 (char *) "self",(char *) "c", NULL
24466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24471 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_Py_Void();
24489 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxEffects
*arg1
= (wxEffects
*) 0 ;
24492 wxColour
*arg2
= 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char * kwnames
[] = {
24499 (char *) "self",(char *) "c", NULL
24502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24504 if (!SWIG_IsOK(res1
)) {
24505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24507 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= SWIG_Py_Void();
24525 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
= 0;
24527 wxEffects
*arg1
= (wxEffects
*) 0 ;
24528 wxColour
*arg2
= 0 ;
24529 wxColour
*arg3
= 0 ;
24530 wxColour
*arg4
= 0 ;
24531 wxColour
*arg5
= 0 ;
24532 wxColour
*arg6
= 0 ;
24540 PyObject
* obj0
= 0 ;
24541 PyObject
* obj1
= 0 ;
24542 PyObject
* obj2
= 0 ;
24543 PyObject
* obj3
= 0 ;
24544 PyObject
* obj4
= 0 ;
24545 PyObject
* obj5
= 0 ;
24546 char * kwnames
[] = {
24547 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24555 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24562 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24566 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24570 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24574 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= SWIG_Py_Void();
24589 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxEffects
*arg1
= (wxEffects
*) 0 ;
24594 int arg4
= (int) 1 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 PyObject
* obj3
= 0 ;
24606 char * kwnames
[] = {
24607 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24612 if (!SWIG_IsOK(res1
)) {
24613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24615 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24617 if (!SWIG_IsOK(res2
)) {
24618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24623 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24626 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24629 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24630 if (!SWIG_IsOK(ecode4
)) {
24631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24633 arg4
= static_cast< int >(val4
);
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= SWIG_Py_Void();
24648 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
= 0;
24650 wxEffects
*arg1
= (wxEffects
*) 0 ;
24653 wxBitmap
*arg4
= 0 ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 PyObject
* obj2
= 0 ;
24665 PyObject
* obj3
= 0 ;
24666 char * kwnames
[] = {
24667 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24672 if (!SWIG_IsOK(res1
)) {
24673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24675 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24678 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24680 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24681 if (!SWIG_IsOK(res3
)) {
24682 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24687 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24688 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24689 if (!SWIG_IsOK(res4
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24695 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24714 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24715 return SWIG_Py_Void();
24718 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24719 return SWIG_Python_InitShadowInstance(args
);
24722 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
= 0;
24727 wxSplitterRenderParams
*result
= 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 PyObject
* obj2
= 0 ;
24737 char * kwnames
[] = {
24738 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24743 if (!SWIG_IsOK(ecode1
)) {
24744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24746 arg1
= static_cast< int >(val1
);
24747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24748 if (!SWIG_IsOK(ecode2
)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24751 arg2
= static_cast< int >(val2
);
24752 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24753 if (!SWIG_IsOK(ecode3
)) {
24754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24756 arg3
= static_cast< bool >(val3
);
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24770 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24771 PyObject
*resultobj
= 0;
24772 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24775 PyObject
*swig_obj
[1] ;
24777 if (!args
) SWIG_fail
;
24778 swig_obj
[0] = args
;
24779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24783 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= SWIG_Py_Void();
24798 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24799 PyObject
*resultobj
= 0;
24800 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24804 PyObject
*swig_obj
[1] ;
24806 if (!args
) SWIG_fail
;
24807 swig_obj
[0] = args
;
24808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24812 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24813 result
= (int)(int) ((arg1
)->widthSash
);
24814 resultobj
= SWIG_From_int(static_cast< int >(result
));
24821 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24822 PyObject
*resultobj
= 0;
24823 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24827 PyObject
*swig_obj
[1] ;
24829 if (!args
) SWIG_fail
;
24830 swig_obj
[0] = args
;
24831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24832 if (!SWIG_IsOK(res1
)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24835 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24836 result
= (int)(int) ((arg1
)->border
);
24837 resultobj
= SWIG_From_int(static_cast< int >(result
));
24844 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24845 PyObject
*resultobj
= 0;
24846 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24850 PyObject
*swig_obj
[1] ;
24852 if (!args
) SWIG_fail
;
24853 swig_obj
[0] = args
;
24854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24858 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24859 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24860 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24867 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24870 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24871 return SWIG_Py_Void();
24874 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24875 return SWIG_Python_InitShadowInstance(args
);
24878 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= 0;
24882 wxRendererVersion
*result
= 0 ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char * kwnames
[] = {
24890 (char *) "version_",(char *) "age_", NULL
24893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24894 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24895 if (!SWIG_IsOK(ecode1
)) {
24896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24898 arg1
= static_cast< int >(val1
);
24899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24900 if (!SWIG_IsOK(ecode2
)) {
24901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24903 arg2
= static_cast< int >(val2
);
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24917 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24918 PyObject
*resultobj
= 0;
24919 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24922 PyObject
*swig_obj
[1] ;
24924 if (!args
) SWIG_fail
;
24925 swig_obj
[0] = args
;
24926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24927 if (!SWIG_IsOK(res1
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24930 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_Py_Void();
24945 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
= 0;
24947 wxRendererVersion
*arg1
= 0 ;
24951 PyObject
* obj0
= 0 ;
24952 char * kwnames
[] = {
24953 (char *) "ver", NULL
24956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24957 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24958 if (!SWIG_IsOK(res1
)) {
24959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24964 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24980 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24981 PyObject
*resultobj
= 0;
24982 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24986 PyObject
*swig_obj
[1] ;
24988 if (!args
) SWIG_fail
;
24989 swig_obj
[0] = args
;
24990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24994 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24995 result
= (int)(int) ((arg1
)->version
);
24996 resultobj
= SWIG_From_int(static_cast< int >(result
));
25003 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25004 PyObject
*resultobj
= 0;
25005 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25009 PyObject
*swig_obj
[1] ;
25011 if (!args
) SWIG_fail
;
25012 swig_obj
[0] = args
;
25013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25017 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25018 result
= (int)(int) ((arg1
)->age
);
25019 resultobj
= SWIG_From_int(static_cast< int >(result
));
25026 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25029 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
25030 return SWIG_Py_Void();
25033 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25034 return SWIG_Python_InitShadowInstance(args
);
25037 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
= 0;
25039 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25040 wxWindow
*arg2
= (wxWindow
*) 0 ;
25043 int arg5
= (int) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 PyObject
* obj2
= 0 ;
25056 PyObject
* obj3
= 0 ;
25057 PyObject
* obj4
= 0 ;
25058 char * kwnames
[] = {
25059 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25064 if (!SWIG_IsOK(res1
)) {
25065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25067 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25069 if (!SWIG_IsOK(res2
)) {
25070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25072 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25073 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25074 if (!SWIG_IsOK(res3
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25080 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25083 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25087 if (!SWIG_IsOK(ecode5
)) {
25088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25090 arg5
= static_cast< int >(val5
);
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_Py_Void();
25105 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= 0;
25107 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25108 wxWindow
*arg2
= (wxWindow
*) 0 ;
25111 int arg5
= (int) 0 ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 PyObject
* obj2
= 0 ;
25124 PyObject
* obj3
= 0 ;
25125 PyObject
* obj4
= 0 ;
25126 char * kwnames
[] = {
25127 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25132 if (!SWIG_IsOK(res1
)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25135 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25137 if (!SWIG_IsOK(res2
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25140 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25141 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25142 if (!SWIG_IsOK(res3
)) {
25143 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25148 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25151 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25154 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25155 if (!SWIG_IsOK(ecode5
)) {
25156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25158 arg5
= static_cast< int >(val5
);
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_Py_Void();
25173 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
= 0;
25175 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25176 wxWindow
*arg2
= (wxWindow
*) 0 ;
25179 int arg5
= (int) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 PyObject
* obj2
= 0 ;
25192 PyObject
* obj3
= 0 ;
25193 PyObject
* obj4
= 0 ;
25194 char * kwnames
[] = {
25195 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25200 if (!SWIG_IsOK(res1
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25203 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25205 if (!SWIG_IsOK(res2
)) {
25206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25209 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25210 if (!SWIG_IsOK(res3
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25216 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25219 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25222 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25223 if (!SWIG_IsOK(ecode5
)) {
25224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25226 arg5
= static_cast< int >(val5
);
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= SWIG_Py_Void();
25241 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
= 0;
25243 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25244 wxWindow
*arg2
= (wxWindow
*) 0 ;
25248 wxOrientation arg6
;
25249 int arg7
= (int) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 PyObject
* obj2
= 0 ;
25266 PyObject
* obj3
= 0 ;
25267 PyObject
* obj4
= 0 ;
25268 PyObject
* obj5
= 0 ;
25269 PyObject
* obj6
= 0 ;
25270 char * kwnames
[] = {
25271 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25279 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25281 if (!SWIG_IsOK(res2
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25285 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25286 if (!SWIG_IsOK(res3
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25292 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25295 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25297 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25298 if (!SWIG_IsOK(ecode5
)) {
25299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25301 arg5
= static_cast< int >(val5
);
25302 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25303 if (!SWIG_IsOK(ecode6
)) {
25304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25306 arg6
= static_cast< wxOrientation
>(val6
);
25308 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25309 if (!SWIG_IsOK(ecode7
)) {
25310 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25312 arg7
= static_cast< int >(val7
);
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_Py_Void();
25327 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
= 0;
25329 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25330 wxWindow
*arg2
= (wxWindow
*) 0 ;
25333 int arg5
= (int) 0 ;
25343 PyObject
* obj0
= 0 ;
25344 PyObject
* obj1
= 0 ;
25345 PyObject
* obj2
= 0 ;
25346 PyObject
* obj3
= 0 ;
25347 PyObject
* obj4
= 0 ;
25348 char * kwnames
[] = {
25349 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25354 if (!SWIG_IsOK(res1
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25357 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25359 if (!SWIG_IsOK(res2
)) {
25360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25362 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25363 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25364 if (!SWIG_IsOK(res3
)) {
25365 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25370 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25373 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25376 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25377 if (!SWIG_IsOK(ecode5
)) {
25378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25380 arg5
= static_cast< int >(val5
);
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= SWIG_Py_Void();
25395 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
= 0;
25397 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25398 wxWindow
*arg2
= (wxWindow
*) 0 ;
25401 int arg5
= (int) 0 ;
25411 PyObject
* obj0
= 0 ;
25412 PyObject
* obj1
= 0 ;
25413 PyObject
* obj2
= 0 ;
25414 PyObject
* obj3
= 0 ;
25415 PyObject
* obj4
= 0 ;
25416 char * kwnames
[] = {
25417 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25425 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25427 if (!SWIG_IsOK(res2
)) {
25428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25430 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25431 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25432 if (!SWIG_IsOK(res3
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25438 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25441 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25445 if (!SWIG_IsOK(ecode5
)) {
25446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25448 arg5
= static_cast< int >(val5
);
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_Py_Void();
25463 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25466 wxWindow
*arg2
= (wxWindow
*) 0 ;
25469 int arg5
= (int) 0 ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 PyObject
* obj2
= 0 ;
25482 PyObject
* obj3
= 0 ;
25483 PyObject
* obj4
= 0 ;
25484 char * kwnames
[] = {
25485 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25490 if (!SWIG_IsOK(res1
)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25493 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25495 if (!SWIG_IsOK(res2
)) {
25496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
25498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25499 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25500 if (!SWIG_IsOK(res3
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25506 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25509 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25513 if (!SWIG_IsOK(ecode5
)) {
25514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
25516 arg5
= static_cast< int >(val5
);
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= SWIG_Py_Void();
25531 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
= 0;
25533 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25534 wxWindow
*arg2
= (wxWindow
*) 0 ;
25537 int arg5
= (int) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 PyObject
* obj2
= 0 ;
25550 PyObject
* obj3
= 0 ;
25551 PyObject
* obj4
= 0 ;
25552 char * kwnames
[] = {
25553 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25558 if (!SWIG_IsOK(res1
)) {
25559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25561 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25563 if (!SWIG_IsOK(res2
)) {
25564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25567 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25568 if (!SWIG_IsOK(res3
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25574 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25577 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25580 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25581 if (!SWIG_IsOK(ecode5
)) {
25582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
25584 arg5
= static_cast< int >(val5
);
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_Py_Void();
25599 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
= 0;
25601 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25602 wxWindow
*arg2
= (wxWindow
*) 0 ;
25605 int arg5
= (int) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj1
= 0 ;
25617 PyObject
* obj2
= 0 ;
25618 PyObject
* obj3
= 0 ;
25619 PyObject
* obj4
= 0 ;
25620 char * kwnames
[] = {
25621 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25629 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25631 if (!SWIG_IsOK(res2
)) {
25632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
25634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25635 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25636 if (!SWIG_IsOK(res3
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25642 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25645 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25648 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25649 if (!SWIG_IsOK(ecode5
)) {
25650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
25652 arg5
= static_cast< int >(val5
);
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_Py_Void();
25667 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
= 0;
25669 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25670 wxWindow
*arg2
= (wxWindow
*) 0 ;
25671 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char * kwnames
[] = {
25679 (char *) "self",(char *) "win", NULL
25682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25687 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25689 if (!SWIG_IsOK(res2
)) {
25690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25706 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 PyObject
*resultobj
= 0;
25708 wxRendererNative
*result
= 0 ;
25710 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25712 if (!wxPyCheckForApp()) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25716 result
= (wxRendererNative
*) &_result_ref
;
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25728 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25729 PyObject
*resultobj
= 0;
25730 wxRendererNative
*result
= 0 ;
25732 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25734 if (!wxPyCheckForApp()) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25738 result
= (wxRendererNative
*) &_result_ref
;
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25750 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxRendererNative
*result
= 0 ;
25754 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25756 if (!wxPyCheckForApp()) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25760 result
= (wxRendererNative
*) &_result_ref
;
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25772 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
= 0;
25774 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25775 wxRendererNative
*result
= 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char * kwnames
[] = {
25780 (char *) "renderer", NULL
25783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25785 if (!SWIG_IsOK(res1
)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25788 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25790 if (!wxPyCheckForApp()) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25803 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25804 PyObject
*resultobj
= 0;
25805 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25806 SwigValueWrapper
<wxRendererVersion
> result
;
25809 PyObject
*swig_obj
[1] ;
25811 if (!args
) SWIG_fail
;
25812 swig_obj
[0] = args
;
25813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25814 if (!SWIG_IsOK(res1
)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25817 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25831 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25834 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25835 return SWIG_Py_Void();
25838 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25839 PyObject
*resultobj
= 0;
25840 wxPseudoDC
*result
= 0 ;
25842 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= (wxPseudoDC
*)new wxPseudoDC();
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
25856 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25857 PyObject
*resultobj
= 0;
25858 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25861 PyObject
*swig_obj
[1] ;
25863 if (!args
) SWIG_fail
;
25864 swig_obj
[0] = args
;
25865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 (arg1
)->BeginDrawing();
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_Py_Void();
25883 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25884 PyObject
*resultobj
= 0;
25885 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25888 PyObject
*swig_obj
[1] ;
25890 if (!args
) SWIG_fail
;
25891 swig_obj
[0] = args
;
25892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25896 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->EndDrawing();
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_Py_Void();
25910 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25911 PyObject
*resultobj
= 0;
25912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25915 PyObject
*swig_obj
[1] ;
25917 if (!args
) SWIG_fail
;
25918 swig_obj
[0] = args
;
25919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
25920 if (!SWIG_IsOK(res1
)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25923 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_Py_Void();
25938 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25939 PyObject
*resultobj
= 0;
25940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25943 PyObject
*swig_obj
[1] ;
25945 if (!args
) SWIG_fail
;
25946 swig_obj
[0] = args
;
25947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25948 if (!SWIG_IsOK(res1
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25951 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 (arg1
)->RemoveAll();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_Py_Void();
25965 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25971 PyObject
*swig_obj
[1] ;
25973 if (!args
) SWIG_fail
;
25974 swig_obj
[0] = args
;
25975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25979 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (int)(arg1
)->GetLen();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_From_int(static_cast< int >(result
));
25993 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
= 0;
25995 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26001 PyObject
* obj0
= 0 ;
26002 PyObject
* obj1
= 0 ;
26003 char * kwnames
[] = {
26004 (char *) "self",(char *) "id", NULL
26007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26009 if (!SWIG_IsOK(res1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26012 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26014 if (!SWIG_IsOK(ecode2
)) {
26015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
26017 arg2
= static_cast< int >(val2
);
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 (arg1
)->SetId(arg2
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_Py_Void();
26031 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
= 0;
26033 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 char * kwnames
[] = {
26042 (char *) "self",(char *) "id", NULL
26045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26047 if (!SWIG_IsOK(res1
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26050 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26052 if (!SWIG_IsOK(ecode2
)) {
26053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
26055 arg2
= static_cast< int >(val2
);
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 (arg1
)->ClearId(arg2
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_Py_Void();
26069 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
= 0;
26071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char * kwnames
[] = {
26080 (char *) "self",(char *) "id", NULL
26083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26085 if (!SWIG_IsOK(res1
)) {
26086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26090 if (!SWIG_IsOK(ecode2
)) {
26091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
26093 arg2
= static_cast< int >(val2
);
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 (arg1
)->RemoveId(arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_Py_Void();
26107 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
= 0;
26109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 PyObject
* obj2
= 0 ;
26124 PyObject
* obj3
= 0 ;
26125 char * kwnames
[] = {
26126 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
26129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26131 if (!SWIG_IsOK(res1
)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26136 if (!SWIG_IsOK(ecode2
)) {
26137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
26139 arg2
= static_cast< int >(val2
);
26140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26141 if (!SWIG_IsOK(ecode3
)) {
26142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
26144 arg3
= static_cast< int >(val3
);
26145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26146 if (!SWIG_IsOK(ecode4
)) {
26147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
26149 arg4
= static_cast< int >(val4
);
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= SWIG_Py_Void();
26163 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
= 0;
26165 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26167 wxDC
*arg3
= (wxDC
*) 0 ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 PyObject
* obj2
= 0 ;
26177 char * kwnames
[] = {
26178 (char *) "self",(char *) "id",(char *) "dc", NULL
26181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26183 if (!SWIG_IsOK(res1
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26186 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26188 if (!SWIG_IsOK(ecode2
)) {
26189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
26191 arg2
= static_cast< int >(val2
);
26192 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
26193 if (!SWIG_IsOK(res3
)) {
26194 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
26196 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->DrawIdToDC(arg2
,arg3
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_Py_Void();
26210 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
= 0;
26212 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 PyObject
* obj2
= 0 ;
26223 char * kwnames
[] = {
26224 (char *) "self",(char *) "id",(char *) "rect", NULL
26227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26229 if (!SWIG_IsOK(res1
)) {
26230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26234 if (!SWIG_IsOK(ecode2
)) {
26235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
26237 arg2
= static_cast< int >(val2
);
26240 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 (arg1
)->SetIdBounds(arg2
,*arg3
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_Py_Void();
26255 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
= 0;
26257 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char * kwnames
[] = {
26267 (char *) "self",(char *) "id", NULL
26270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26275 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26277 if (!SWIG_IsOK(ecode2
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
26280 arg2
= static_cast< int >(val2
);
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
26294 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
= 0;
26296 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26297 wxDC
*arg2
= (wxDC
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 PyObject
* obj2
= 0 ;
26307 char * kwnames
[] = {
26308 (char *) "self",(char *) "dc",(char *) "rect", NULL
26311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26313 if (!SWIG_IsOK(res1
)) {
26314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26316 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26318 if (!SWIG_IsOK(res2
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
26321 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26324 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= SWIG_Py_Void();
26339 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
= 0;
26341 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26342 wxDC
*arg2
= (wxDC
*) 0 ;
26343 wxRegion
*arg3
= 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 PyObject
* obj2
= 0 ;
26353 char * kwnames
[] = {
26354 (char *) "self",(char *) "dc",(char *) "region", NULL
26357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26364 if (!SWIG_IsOK(res2
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
26367 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26368 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
26369 if (!SWIG_IsOK(res3
)) {
26370 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
26373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
26375 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_Py_Void();
26389 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
= 0;
26391 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26392 wxDC
*arg2
= (wxDC
*) 0 ;
26397 PyObject
* obj0
= 0 ;
26398 PyObject
* obj1
= 0 ;
26399 char * kwnames
[] = {
26400 (char *) "self",(char *) "dc", NULL
26403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26405 if (!SWIG_IsOK(res1
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26408 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26410 if (!SWIG_IsOK(res2
)) {
26411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
26413 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 (arg1
)->DrawToDC(arg2
);
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_Py_Void();
26427 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
= 0;
26429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26432 wxColour
*arg4
= 0 ;
26433 int arg5
= (int) wxFLOOD_SURFACE
;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 PyObject
* obj2
= 0 ;
26446 PyObject
* obj3
= 0 ;
26447 PyObject
* obj4
= 0 ;
26448 char * kwnames
[] = {
26449 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
26452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26457 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26459 if (!SWIG_IsOK(ecode2
)) {
26460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
26462 arg2
= static_cast< int >(val2
);
26463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26464 if (!SWIG_IsOK(ecode3
)) {
26465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
26467 arg3
= static_cast< int >(val3
);
26470 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26474 if (!SWIG_IsOK(ecode5
)) {
26475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
26477 arg5
= static_cast< int >(val5
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_Py_Void();
26492 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
= 0;
26494 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26495 wxPoint
*arg2
= 0 ;
26496 wxColour
*arg3
= 0 ;
26497 int arg4
= (int) wxFLOOD_SURFACE
;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 PyObject
* obj2
= 0 ;
26507 PyObject
* obj3
= 0 ;
26508 char * kwnames
[] = {
26509 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
26512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26517 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26524 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26528 if (!SWIG_IsOK(ecode4
)) {
26529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
26531 arg4
= static_cast< int >(val4
);
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_Py_Void();
26546 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
= 0;
26548 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26563 PyObject
* obj0
= 0 ;
26564 PyObject
* obj1
= 0 ;
26565 PyObject
* obj2
= 0 ;
26566 PyObject
* obj3
= 0 ;
26567 PyObject
* obj4
= 0 ;
26568 char * kwnames
[] = {
26569 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26574 if (!SWIG_IsOK(res1
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26577 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26579 if (!SWIG_IsOK(ecode2
)) {
26580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
26582 arg2
= static_cast< int >(val2
);
26583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26584 if (!SWIG_IsOK(ecode3
)) {
26585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
26587 arg3
= static_cast< int >(val3
);
26588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26589 if (!SWIG_IsOK(ecode4
)) {
26590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
26592 arg4
= static_cast< int >(val4
);
26593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26594 if (!SWIG_IsOK(ecode5
)) {
26595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
26597 arg5
= static_cast< int >(val5
);
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_Py_Void();
26611 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
= 0;
26613 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26614 wxPoint
*arg2
= 0 ;
26615 wxPoint
*arg3
= 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 PyObject
* obj2
= 0 ;
26623 char * kwnames
[] = {
26624 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
26627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26629 if (!SWIG_IsOK(res1
)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26632 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26639 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= SWIG_Py_Void();
26654 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
= 0;
26656 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26665 PyObject
* obj0
= 0 ;
26666 PyObject
* obj1
= 0 ;
26667 PyObject
* obj2
= 0 ;
26668 char * kwnames
[] = {
26669 (char *) "self",(char *) "x",(char *) "y", NULL
26672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26674 if (!SWIG_IsOK(res1
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26677 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26679 if (!SWIG_IsOK(ecode2
)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
26682 arg2
= static_cast< int >(val2
);
26683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26684 if (!SWIG_IsOK(ecode3
)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
26687 arg3
= static_cast< int >(val3
);
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 (arg1
)->CrossHair(arg2
,arg3
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= SWIG_Py_Void();
26701 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
= 0;
26703 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26704 wxPoint
*arg2
= 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 char * kwnames
[] = {
26711 (char *) "self",(char *) "pt", NULL
26714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26716 if (!SWIG_IsOK(res1
)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26719 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26722 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_Py_Void();
26737 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 PyObject
* obj2
= 0 ;
26763 PyObject
* obj3
= 0 ;
26764 PyObject
* obj4
= 0 ;
26765 PyObject
* obj5
= 0 ;
26766 PyObject
* obj6
= 0 ;
26767 char * kwnames
[] = {
26768 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
26771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26773 if (!SWIG_IsOK(res1
)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26776 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26778 if (!SWIG_IsOK(ecode2
)) {
26779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
26781 arg2
= static_cast< int >(val2
);
26782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26783 if (!SWIG_IsOK(ecode3
)) {
26784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
26786 arg3
= static_cast< int >(val3
);
26787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26788 if (!SWIG_IsOK(ecode4
)) {
26789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
26791 arg4
= static_cast< int >(val4
);
26792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26793 if (!SWIG_IsOK(ecode5
)) {
26794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
26796 arg5
= static_cast< int >(val5
);
26797 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
26798 if (!SWIG_IsOK(ecode6
)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
26801 arg6
= static_cast< int >(val6
);
26802 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
26803 if (!SWIG_IsOK(ecode7
)) {
26804 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
26806 arg7
= static_cast< int >(val7
);
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_Py_Void();
26820 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
= 0;
26822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26823 wxPoint
*arg2
= 0 ;
26824 wxPoint
*arg3
= 0 ;
26825 wxPoint
*arg4
= 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 PyObject
* obj2
= 0 ;
26834 PyObject
* obj3
= 0 ;
26835 char * kwnames
[] = {
26836 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
26839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26844 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26855 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_Py_Void();
26870 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
= 0;
26872 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 PyObject
* obj2
= 0 ;
26890 PyObject
* obj3
= 0 ;
26891 PyObject
* obj4
= 0 ;
26892 char * kwnames
[] = {
26893 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26898 if (!SWIG_IsOK(res1
)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26901 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26903 if (!SWIG_IsOK(ecode2
)) {
26904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
26906 arg2
= static_cast< int >(val2
);
26907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26908 if (!SWIG_IsOK(ecode3
)) {
26909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
26911 arg3
= static_cast< int >(val3
);
26912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26913 if (!SWIG_IsOK(ecode4
)) {
26914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
26916 arg4
= static_cast< int >(val4
);
26917 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26918 if (!SWIG_IsOK(ecode5
)) {
26919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
26921 arg5
= static_cast< int >(val5
);
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= SWIG_Py_Void();
26935 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
= 0;
26937 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char * kwnames
[] = {
26945 (char *) "self",(char *) "rect", NULL
26948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26953 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26956 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26971 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 PyObject
* obj2
= 0 ;
26997 PyObject
* obj3
= 0 ;
26998 PyObject
* obj4
= 0 ;
26999 PyObject
* obj5
= 0 ;
27000 PyObject
* obj6
= 0 ;
27001 char * kwnames
[] = {
27002 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
27005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27007 if (!SWIG_IsOK(res1
)) {
27008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27012 if (!SWIG_IsOK(ecode2
)) {
27013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
27015 arg2
= static_cast< int >(val2
);
27016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27017 if (!SWIG_IsOK(ecode3
)) {
27018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
27020 arg3
= static_cast< int >(val3
);
27021 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27022 if (!SWIG_IsOK(ecode4
)) {
27023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
27025 arg4
= static_cast< int >(val4
);
27026 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27027 if (!SWIG_IsOK(ecode5
)) {
27028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
27030 arg5
= static_cast< int >(val5
);
27031 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27032 if (!SWIG_IsOK(ecode6
)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
27035 arg6
= static_cast< double >(val6
);
27036 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27037 if (!SWIG_IsOK(ecode7
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
27040 arg7
= static_cast< double >(val7
);
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27057 wxPoint
*arg2
= 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 PyObject
* obj2
= 0 ;
27072 PyObject
* obj3
= 0 ;
27073 PyObject
* obj4
= 0 ;
27074 char * kwnames
[] = {
27075 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
27078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27090 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27092 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27093 if (!SWIG_IsOK(ecode4
)) {
27094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
27096 arg4
= static_cast< double >(val4
);
27097 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27098 if (!SWIG_IsOK(ecode5
)) {
27099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
27101 arg5
= static_cast< double >(val5
);
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_Py_Void();
27115 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
= 0;
27117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 PyObject
* obj2
= 0 ;
27129 char * kwnames
[] = {
27130 (char *) "self",(char *) "x",(char *) "y", NULL
27133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27140 if (!SWIG_IsOK(ecode2
)) {
27141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
27143 arg2
= static_cast< int >(val2
);
27144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27145 if (!SWIG_IsOK(ecode3
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
27148 arg3
= static_cast< int >(val3
);
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 (arg1
)->DrawPoint(arg2
,arg3
);
27152 wxPyEndAllowThreads(__tstate
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27155 resultobj
= SWIG_Py_Void();
27162 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
= 0;
27164 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27165 wxPoint
*arg2
= 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char * kwnames
[] = {
27172 (char *) "self",(char *) "pt", NULL
27175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_Py_Void();
27198 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
= 0;
27200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27215 PyObject
* obj0
= 0 ;
27216 PyObject
* obj1
= 0 ;
27217 PyObject
* obj2
= 0 ;
27218 PyObject
* obj3
= 0 ;
27219 PyObject
* obj4
= 0 ;
27220 char * kwnames
[] = {
27221 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27231 if (!SWIG_IsOK(ecode2
)) {
27232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
27234 arg2
= static_cast< int >(val2
);
27235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27236 if (!SWIG_IsOK(ecode3
)) {
27237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
27239 arg3
= static_cast< int >(val3
);
27240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27241 if (!SWIG_IsOK(ecode4
)) {
27242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
27244 arg4
= static_cast< int >(val4
);
27245 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27246 if (!SWIG_IsOK(ecode5
)) {
27247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
27249 arg5
= static_cast< int >(val5
);
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_Py_Void();
27263 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
= 0;
27265 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 PyObject
* obj1
= 0 ;
27272 char * kwnames
[] = {
27273 (char *) "self",(char *) "rect", NULL
27276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= SWIG_Py_Void();
27299 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
= 0;
27301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27302 wxPoint
*arg2
= 0 ;
27308 PyObject
* obj0
= 0 ;
27309 PyObject
* obj1
= 0 ;
27310 PyObject
* obj2
= 0 ;
27311 char * kwnames
[] = {
27312 (char *) "self",(char *) "pt",(char *) "sz", NULL
27315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27317 if (!SWIG_IsOK(res1
)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27327 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= SWIG_Py_Void();
27342 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
= 0;
27344 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 PyObject
* obj2
= 0 ;
27365 PyObject
* obj3
= 0 ;
27366 PyObject
* obj4
= 0 ;
27367 PyObject
* obj5
= 0 ;
27368 char * kwnames
[] = {
27369 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
27372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27374 if (!SWIG_IsOK(res1
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27377 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27379 if (!SWIG_IsOK(ecode2
)) {
27380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
27382 arg2
= static_cast< int >(val2
);
27383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27384 if (!SWIG_IsOK(ecode3
)) {
27385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
27387 arg3
= static_cast< int >(val3
);
27388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27389 if (!SWIG_IsOK(ecode4
)) {
27390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
27392 arg4
= static_cast< int >(val4
);
27393 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27394 if (!SWIG_IsOK(ecode5
)) {
27395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
27397 arg5
= static_cast< int >(val5
);
27398 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27399 if (!SWIG_IsOK(ecode6
)) {
27400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
27402 arg6
= static_cast< double >(val6
);
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= SWIG_Py_Void();
27416 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
= 0;
27418 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 PyObject
* obj1
= 0 ;
27428 PyObject
* obj2
= 0 ;
27429 char * kwnames
[] = {
27430 (char *) "self",(char *) "r",(char *) "radius", NULL
27433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27435 if (!SWIG_IsOK(res1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27441 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27443 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27444 if (!SWIG_IsOK(ecode3
)) {
27445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
27447 arg3
= static_cast< double >(val3
);
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_Py_Void();
27461 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
= 0;
27463 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27464 wxPoint
*arg2
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 PyObject
* obj2
= 0 ;
27476 PyObject
* obj3
= 0 ;
27477 char * kwnames
[] = {
27478 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
27481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27483 if (!SWIG_IsOK(res1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27493 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27495 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27496 if (!SWIG_IsOK(ecode4
)) {
27497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
27499 arg4
= static_cast< double >(val4
);
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_Py_Void();
27513 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
= 0;
27515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 PyObject
* obj2
= 0 ;
27530 PyObject
* obj3
= 0 ;
27531 char * kwnames
[] = {
27532 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
27535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27542 if (!SWIG_IsOK(ecode2
)) {
27543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
27545 arg2
= static_cast< int >(val2
);
27546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27547 if (!SWIG_IsOK(ecode3
)) {
27548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
27550 arg3
= static_cast< int >(val3
);
27551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27552 if (!SWIG_IsOK(ecode4
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
27555 arg4
= static_cast< int >(val4
);
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= SWIG_Py_Void();
27569 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
= 0;
27571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27572 wxPoint
*arg2
= 0 ;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 PyObject
* obj2
= 0 ;
27582 char * kwnames
[] = {
27583 (char *) "self",(char *) "pt",(char *) "radius", NULL
27586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27588 if (!SWIG_IsOK(res1
)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27591 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27597 if (!SWIG_IsOK(ecode3
)) {
27598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
27600 arg3
= static_cast< int >(val3
);
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_Py_Void();
27614 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
= 0;
27616 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27631 PyObject
* obj0
= 0 ;
27632 PyObject
* obj1
= 0 ;
27633 PyObject
* obj2
= 0 ;
27634 PyObject
* obj3
= 0 ;
27635 PyObject
* obj4
= 0 ;
27636 char * kwnames
[] = {
27637 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27642 if (!SWIG_IsOK(res1
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27645 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27647 if (!SWIG_IsOK(ecode2
)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
27650 arg2
= static_cast< int >(val2
);
27651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27652 if (!SWIG_IsOK(ecode3
)) {
27653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
27655 arg3
= static_cast< int >(val3
);
27656 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27657 if (!SWIG_IsOK(ecode4
)) {
27658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
27660 arg4
= static_cast< int >(val4
);
27661 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27662 if (!SWIG_IsOK(ecode5
)) {
27663 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
27665 arg5
= static_cast< int >(val5
);
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_Py_Void();
27679 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
= 0;
27681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27686 PyObject
* obj0
= 0 ;
27687 PyObject
* obj1
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "self",(char *) "rect", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27697 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27700 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27704 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
27705 wxPyEndAllowThreads(__tstate
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= SWIG_Py_Void();
27715 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
= 0;
27717 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27718 wxPoint
*arg2
= 0 ;
27724 PyObject
* obj0
= 0 ;
27725 PyObject
* obj1
= 0 ;
27726 PyObject
* obj2
= 0 ;
27727 char * kwnames
[] = {
27728 (char *) "self",(char *) "pt",(char *) "sz", NULL
27731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27736 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27743 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_Py_Void();
27758 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
= 0;
27760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27772 PyObject
* obj0
= 0 ;
27773 PyObject
* obj1
= 0 ;
27774 PyObject
* obj2
= 0 ;
27775 PyObject
* obj3
= 0 ;
27776 char * kwnames
[] = {
27777 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
27780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27782 if (!SWIG_IsOK(res1
)) {
27783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27787 if (!SWIG_IsOK(res2
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27793 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27795 if (!SWIG_IsOK(ecode3
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
27798 arg3
= static_cast< int >(val3
);
27799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27800 if (!SWIG_IsOK(ecode4
)) {
27801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
27803 arg4
= static_cast< int >(val4
);
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_Py_Void();
27817 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
= 0;
27819 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27821 wxPoint
*arg3
= 0 ;
27827 PyObject
* obj0
= 0 ;
27828 PyObject
* obj1
= 0 ;
27829 PyObject
* obj2
= 0 ;
27830 char * kwnames
[] = {
27831 (char *) "self",(char *) "icon",(char *) "pt", NULL
27834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27836 if (!SWIG_IsOK(res1
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27839 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27841 if (!SWIG_IsOK(res2
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
27845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
27847 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27858 resultobj
= SWIG_Py_Void();
27865 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
= 0;
27867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27868 wxBitmap
*arg2
= 0 ;
27871 bool arg5
= (bool) false ;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 PyObject
* obj2
= 0 ;
27885 PyObject
* obj3
= 0 ;
27886 PyObject
* obj4
= 0 ;
27887 char * kwnames
[] = {
27888 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
27891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27893 if (!SWIG_IsOK(res1
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27896 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27898 if (!SWIG_IsOK(res2
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27904 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27906 if (!SWIG_IsOK(ecode3
)) {
27907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
27909 arg3
= static_cast< int >(val3
);
27910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27911 if (!SWIG_IsOK(ecode4
)) {
27912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
27914 arg4
= static_cast< int >(val4
);
27916 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
27917 if (!SWIG_IsOK(ecode5
)) {
27918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
27920 arg5
= static_cast< bool >(val5
);
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
= 0;
27937 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27938 wxBitmap
*arg2
= 0 ;
27939 wxPoint
*arg3
= 0 ;
27940 bool arg4
= (bool) false ;
27948 PyObject
* obj0
= 0 ;
27949 PyObject
* obj1
= 0 ;
27950 PyObject
* obj2
= 0 ;
27951 PyObject
* obj3
= 0 ;
27952 char * kwnames
[] = {
27953 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
27956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27958 if (!SWIG_IsOK(res1
)) {
27959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27961 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27963 if (!SWIG_IsOK(res2
)) {
27964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27969 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27972 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27975 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27976 if (!SWIG_IsOK(ecode4
)) {
27977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
27979 arg4
= static_cast< bool >(val4
);
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= SWIG_Py_Void();
27994 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
= 0;
27996 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27997 wxString
*arg2
= 0 ;
28002 bool temp2
= false ;
28007 PyObject
* obj0
= 0 ;
28008 PyObject
* obj1
= 0 ;
28009 PyObject
* obj2
= 0 ;
28010 PyObject
* obj3
= 0 ;
28011 char * kwnames
[] = {
28012 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
28015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28017 if (!SWIG_IsOK(res1
)) {
28018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28020 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28022 arg2
= wxString_in_helper(obj1
);
28023 if (arg2
== NULL
) SWIG_fail
;
28026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28027 if (!SWIG_IsOK(ecode3
)) {
28028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
28030 arg3
= static_cast< int >(val3
);
28031 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28032 if (!SWIG_IsOK(ecode4
)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
28035 arg4
= static_cast< int >(val4
);
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= SWIG_Py_Void();
28057 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
= 0;
28059 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28060 wxString
*arg2
= 0 ;
28061 wxPoint
*arg3
= 0 ;
28064 bool temp2
= false ;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 PyObject
* obj2
= 0 ;
28069 char * kwnames
[] = {
28070 (char *) "self",(char *) "text",(char *) "pt", NULL
28073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28080 arg2
= wxString_in_helper(obj1
);
28081 if (arg2
== NULL
) SWIG_fail
;
28086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= SWIG_Py_Void();
28109 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
= 0;
28111 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28112 wxString
*arg2
= 0 ;
28118 bool temp2
= false ;
28125 PyObject
* obj0
= 0 ;
28126 PyObject
* obj1
= 0 ;
28127 PyObject
* obj2
= 0 ;
28128 PyObject
* obj3
= 0 ;
28129 PyObject
* obj4
= 0 ;
28130 char * kwnames
[] = {
28131 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
28134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28141 arg2
= wxString_in_helper(obj1
);
28142 if (arg2
== NULL
) SWIG_fail
;
28145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28146 if (!SWIG_IsOK(ecode3
)) {
28147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
28149 arg3
= static_cast< int >(val3
);
28150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28151 if (!SWIG_IsOK(ecode4
)) {
28152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
28154 arg4
= static_cast< int >(val4
);
28155 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28156 if (!SWIG_IsOK(ecode5
)) {
28157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
28159 arg5
= static_cast< double >(val5
);
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= SWIG_Py_Void();
28181 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
= 0;
28183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28184 wxString
*arg2
= 0 ;
28185 wxPoint
*arg3
= 0 ;
28189 bool temp2
= false ;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 PyObject
* obj2
= 0 ;
28196 PyObject
* obj3
= 0 ;
28197 char * kwnames
[] = {
28198 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
28201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28206 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28208 arg2
= wxString_in_helper(obj1
);
28209 if (arg2
== NULL
) SWIG_fail
;
28214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28216 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28217 if (!SWIG_IsOK(ecode4
)) {
28218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
28220 arg4
= static_cast< double >(val4
);
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_Py_Void();
28242 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
= 0;
28244 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28246 wxPoint
*arg3
= (wxPoint
*) 0 ;
28247 int arg4
= (int) 0 ;
28248 int arg5
= (int) 0 ;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 PyObject
* obj2
= 0 ;
28258 PyObject
* obj3
= 0 ;
28259 char * kwnames
[] = {
28260 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
28263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28270 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
28271 if (arg3
== NULL
) SWIG_fail
;
28274 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
28275 if (!SWIG_IsOK(ecode4
)) {
28276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
28278 arg4
= static_cast< int >(val4
);
28281 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
28282 if (!SWIG_IsOK(ecode5
)) {
28283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
28285 arg5
= static_cast< int >(val5
);
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= SWIG_Py_Void();
28295 if (arg3
) delete [] arg3
;
28300 if (arg3
) delete [] arg3
;
28306 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
= 0;
28308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28310 wxPoint
*arg3
= (wxPoint
*) 0 ;
28311 int arg4
= (int) 0 ;
28312 int arg5
= (int) 0 ;
28313 int arg6
= (int) wxODDEVEN_RULE
;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 PyObject
* obj2
= 0 ;
28325 PyObject
* obj3
= 0 ;
28326 PyObject
* obj4
= 0 ;
28327 char * kwnames
[] = {
28328 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
28331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28333 if (!SWIG_IsOK(res1
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28336 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28338 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
28339 if (arg3
== NULL
) SWIG_fail
;
28342 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
28343 if (!SWIG_IsOK(ecode4
)) {
28344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
28346 arg4
= static_cast< int >(val4
);
28349 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
28350 if (!SWIG_IsOK(ecode5
)) {
28351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
28353 arg5
= static_cast< int >(val5
);
28356 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
28357 if (!SWIG_IsOK(ecode6
)) {
28358 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
28360 arg6
= static_cast< int >(val6
);
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= SWIG_Py_Void();
28370 if (arg3
) delete [] arg3
;
28375 if (arg3
) delete [] arg3
;
28381 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
= 0;
28383 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28384 wxString
*arg2
= 0 ;
28386 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
28387 int arg5
= (int) -1 ;
28390 bool temp2
= false ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 PyObject
* obj2
= 0 ;
28399 PyObject
* obj3
= 0 ;
28400 PyObject
* obj4
= 0 ;
28401 char * kwnames
[] = {
28402 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
28405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28412 arg2
= wxString_in_helper(obj1
);
28413 if (arg2
== NULL
) SWIG_fail
;
28418 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28422 if (!SWIG_IsOK(ecode4
)) {
28423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
28425 arg4
= static_cast< int >(val4
);
28428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28429 if (!SWIG_IsOK(ecode5
)) {
28430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
28432 arg5
= static_cast< int >(val5
);
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= SWIG_Py_Void();
28455 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
= 0;
28457 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28458 wxString
*arg2
= 0 ;
28459 wxBitmap
*arg3
= 0 ;
28461 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
28462 int arg6
= (int) -1 ;
28465 bool temp2
= false ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 PyObject
* obj2
= 0 ;
28476 PyObject
* obj3
= 0 ;
28477 PyObject
* obj4
= 0 ;
28478 PyObject
* obj5
= 0 ;
28479 char * kwnames
[] = {
28480 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
28483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28485 if (!SWIG_IsOK(res1
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28490 arg2
= wxString_in_helper(obj1
);
28491 if (arg2
== NULL
) SWIG_fail
;
28494 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28495 if (!SWIG_IsOK(res3
)) {
28496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28501 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28504 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28508 if (!SWIG_IsOK(ecode5
)) {
28509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
28511 arg5
= static_cast< int >(val5
);
28514 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28515 if (!SWIG_IsOK(ecode6
)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
28518 arg6
= static_cast< int >(val6
);
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 resultobj
= SWIG_Py_Void();
28541 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
= 0;
28543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28545 wxPoint
*arg3
= (wxPoint
*) 0 ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 char * kwnames
[] = {
28551 (char *) "self",(char *) "points", NULL
28554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28556 if (!SWIG_IsOK(res1
)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28559 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28561 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
28562 if (arg3
== NULL
) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 (arg1
)->DrawSpline(arg2
,arg3
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_Py_Void();
28572 if (arg3
) delete [] arg3
;
28577 if (arg3
) delete [] arg3
;
28583 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28584 PyObject
*resultobj
= 0;
28585 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28588 PyObject
*swig_obj
[1] ;
28590 if (!args
) SWIG_fail
;
28591 swig_obj
[0] = args
;
28592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28593 if (!SWIG_IsOK(res1
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= SWIG_Py_Void();
28610 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
= 0;
28612 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 char * kwnames
[] = {
28621 (char *) "self",(char *) "font", NULL
28624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28631 if (!SWIG_IsOK(res2
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28637 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 (arg1
)->SetFont((wxFont
const &)*arg2
);
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28644 resultobj
= SWIG_Py_Void();
28651 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
= 0;
28653 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 char * kwnames
[] = {
28662 (char *) "self",(char *) "pen", NULL
28665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28667 if (!SWIG_IsOK(res1
)) {
28668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28670 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28672 if (!SWIG_IsOK(res2
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28678 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 (arg1
)->SetPen((wxPen
const &)*arg2
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= SWIG_Py_Void();
28692 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
= 0;
28694 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28695 wxBrush
*arg2
= 0 ;
28700 PyObject
* obj0
= 0 ;
28701 PyObject
* obj1
= 0 ;
28702 char * kwnames
[] = {
28703 (char *) "self",(char *) "brush", NULL
28706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28708 if (!SWIG_IsOK(res1
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28711 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28713 if (!SWIG_IsOK(res2
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28719 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_Py_Void();
28733 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
= 0;
28735 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28736 wxBrush
*arg2
= 0 ;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 char * kwnames
[] = {
28744 (char *) "self",(char *) "brush", NULL
28747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28749 if (!SWIG_IsOK(res1
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28752 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28754 if (!SWIG_IsOK(res2
)) {
28755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
28758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
28760 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= SWIG_Py_Void();
28774 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
= 0;
28776 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28782 PyObject
* obj0
= 0 ;
28783 PyObject
* obj1
= 0 ;
28784 char * kwnames
[] = {
28785 (char *) "self",(char *) "mode", NULL
28788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28790 if (!SWIG_IsOK(res1
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28793 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28795 if (!SWIG_IsOK(ecode2
)) {
28796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
28798 arg2
= static_cast< int >(val2
);
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 (arg1
)->SetBackgroundMode(arg2
);
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28805 resultobj
= SWIG_Py_Void();
28812 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
= 0;
28814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28815 wxPalette
*arg2
= 0 ;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 char * kwnames
[] = {
28823 (char *) "self",(char *) "palette", NULL
28826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28828 if (!SWIG_IsOK(res1
)) {
28829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
28833 if (!SWIG_IsOK(res2
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
28837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
28839 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= SWIG_Py_Void();
28853 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
= 0;
28855 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28856 wxColour
*arg2
= 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 char * kwnames
[] = {
28863 (char *) "self",(char *) "colour", NULL
28866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28871 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28882 resultobj
= SWIG_Py_Void();
28889 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
= 0;
28891 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28892 wxColour
*arg2
= 0 ;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 char * kwnames
[] = {
28899 (char *) "self",(char *) "colour", NULL
28902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28910 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_Py_Void();
28925 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
= 0;
28927 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char * kwnames
[] = {
28936 (char *) "self",(char *) "function", NULL
28939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28944 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28946 if (!SWIG_IsOK(ecode2
)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28949 arg2
= static_cast< int >(val2
);
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 (arg1
)->SetLogicalFunction(arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_Py_Void();
28963 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28966 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
28967 return SWIG_Py_Void();
28970 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28971 return SWIG_Python_InitShadowInstance(args
);
28974 static PyMethodDef SwigMethods
[] = {
28975 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
28976 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
28977 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
28978 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
28979 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
28980 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28982 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28983 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
28984 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
28985 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
28986 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
28987 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
28988 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28991 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28992 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
28993 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28995 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
28996 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
28997 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
28998 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
28999 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29000 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
29001 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29002 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29003 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
29004 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
29005 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
29006 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
29007 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29008 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
29009 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
29010 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
29011 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
29012 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
29013 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
29014 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
29015 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29017 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29019 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29020 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29021 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
29022 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29023 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
29024 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
29025 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29026 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29027 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29028 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
29029 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
29030 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29031 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29032 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
29033 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29034 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29035 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29036 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
29037 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
29038 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
29039 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
29040 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
29041 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
29042 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
29043 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29044 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
29045 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29050 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
29051 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29052 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
29053 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
29054 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
29055 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
29056 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
29057 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
29058 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
29059 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29063 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29064 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
29065 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29067 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29069 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29071 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29074 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
29075 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
29076 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29077 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
29078 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
29079 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
29080 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29081 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
29082 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
29083 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29084 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
29088 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29089 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
29090 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
29091 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
29092 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
29093 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
29099 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
29100 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
29102 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
29103 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
29105 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
29107 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
29108 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
29109 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
29110 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
29113 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
29117 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
29118 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
29120 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29122 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
29123 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
29125 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
29126 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
29127 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
29128 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
29133 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
29134 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
29139 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
29140 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
29146 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
29150 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
29160 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
29163 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
29164 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
29166 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
29167 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
29168 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
29169 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
29170 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
29171 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
29172 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
29173 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
29174 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
29175 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
29176 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
29177 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
29178 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
29179 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
29180 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
29181 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
29182 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
29184 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
29185 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
29186 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
29187 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
29188 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
29189 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
29190 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
29191 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
29201 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
29202 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
29204 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
29205 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
29206 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
29207 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
29208 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
29209 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
29210 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
29211 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
29212 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
29214 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
29215 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
29216 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
29219 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
29220 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
29221 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
29224 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
29230 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
29235 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
29236 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
29238 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
29244 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
29247 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
29248 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
29249 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
29250 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
29251 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
29252 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
29253 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
29254 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
29255 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
29256 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
29257 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
29258 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
29259 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
29271 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
29272 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
29273 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
29275 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
29276 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
29278 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
29279 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
29280 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
29281 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
29285 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
29286 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
29288 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
29289 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
29290 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
29291 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
29292 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
29293 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
29294 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
29295 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
29296 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
29298 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
29301 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
29302 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
29303 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
29304 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
29305 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
29306 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
29307 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
29308 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
29317 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
29318 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
29319 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
29320 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
29321 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
29322 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
29323 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
29329 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
29330 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
29331 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
29380 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
29382 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
29383 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
29384 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
29391 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
29392 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
29393 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
29394 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
29395 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
29400 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
29401 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
29402 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
29403 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
29412 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
29413 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
29414 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
29415 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
29416 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
29417 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
29418 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
29419 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
29420 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
29421 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
29422 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
29423 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
29426 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
29428 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
29430 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
29432 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
29433 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
29436 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
29437 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
29441 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
29443 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
29446 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
29447 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
29448 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
29449 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
29450 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
29451 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
29452 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
29459 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
29460 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
29463 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
29464 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
29465 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
29466 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
29467 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
29468 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
29469 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
29471 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
29472 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
29473 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
29476 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
29477 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
29478 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
29480 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
29481 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
29483 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
29484 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
29486 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
29487 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
29489 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
29490 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
29492 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
29495 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
29496 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
29497 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
29499 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
29500 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
29502 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
29503 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
29504 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
29505 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
29506 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
29507 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
29509 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
29510 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
29511 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
29513 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
29514 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
29516 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
29524 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
29526 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
29528 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
29529 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
29530 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
29531 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
29532 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
29533 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
29539 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
29540 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
29541 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
29542 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
29543 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
29544 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
29548 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
29552 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
29556 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
29557 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
29558 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
29563 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
29564 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
29565 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
29566 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
29567 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
29568 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
29569 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
29570 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
29571 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
29572 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
29573 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
29574 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
29583 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
29584 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
29586 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
29587 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
29588 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
29589 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
29590 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
29591 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
29593 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
29595 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
29596 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
29597 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
29598 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
29609 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
29610 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
29611 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
29613 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
29614 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
29615 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
29616 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
29617 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
29618 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
29619 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
29620 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
29669 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
29679 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
29680 { NULL
, NULL
, 0, NULL
}
29684 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29686 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
29687 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
29689 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
29690 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29692 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
29693 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
29695 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
29696 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
29698 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
29699 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
29701 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
29702 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
29704 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
29705 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
29707 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
29708 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
29710 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
29711 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
29713 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
29714 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
29716 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
29717 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
29719 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
29720 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
29722 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
29723 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
29725 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
29726 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
29728 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
29729 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
29731 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
29732 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
29734 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
29735 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29737 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
29738 return (void *)((wxDC
*) ((wxClientDC
*) x
));
29740 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
29741 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
29743 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
29744 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
29746 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
29747 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
29749 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
29750 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
29752 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
29753 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
29755 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
29756 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
29758 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
29759 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29761 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29762 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29764 static void *_p_wxPenTo_p_wxObject(void *x
) {
29765 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
29767 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
29768 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
29770 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29771 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29773 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29774 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29776 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29779 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29780 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29782 static void *_p_wxIconTo_p_wxObject(void *x
) {
29783 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
29785 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29786 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29788 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29789 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29791 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29792 return (void *)((wxObject
*) ((wxSizer
*) x
));
29794 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29795 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29797 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29800 static void *_p_wxEventTo_p_wxObject(void *x
) {
29801 return (void *)((wxObject
*) ((wxEvent
*) x
));
29803 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29804 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29806 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29807 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29809 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29810 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29812 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
29813 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
29815 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
29816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
29818 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29819 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29821 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29822 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29824 static void *_p_wxDCTo_p_wxObject(void *x
) {
29825 return (void *)((wxObject
*) ((wxDC
*) x
));
29827 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29828 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29830 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29831 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29833 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29834 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29836 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29837 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29839 static void *_p_wxControlTo_p_wxObject(void *x
) {
29840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29842 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29843 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29845 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
29846 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
29848 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29849 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29851 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
29852 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
29854 static void *_p_wxRegionTo_p_wxObject(void *x
) {
29855 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
29857 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29858 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29860 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
29861 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
29863 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
29864 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
29866 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
29867 return (void *)((wxObject
*) ((wxEffects
*) x
));
29869 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29870 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29872 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29875 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
29876 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
29878 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29879 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29881 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29882 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29884 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
29885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
29887 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29888 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29890 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29893 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29894 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29896 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29897 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29899 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29900 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29902 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29903 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29905 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29906 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29908 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29909 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29911 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29912 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29914 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29917 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29920 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29923 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29926 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29927 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29929 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29930 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29932 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29935 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29938 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
29939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
29941 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29942 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29944 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29947 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29950 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29951 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29953 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
29954 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
29956 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
29957 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29959 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
29960 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
29962 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
29963 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
29965 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
29966 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
29968 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29969 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29971 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29972 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29974 static void *_p_wxImageTo_p_wxObject(void *x
) {
29975 return (void *)((wxObject
*) ((wxImage
*) x
));
29977 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29978 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29980 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
29981 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
29983 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
29984 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
29986 static void *_p_wxImageListTo_p_wxObject(void *x
) {
29987 return (void *)((wxObject
*) ((wxImageList
*) x
));
29989 static void *_p_wxCursorTo_p_wxObject(void *x
) {
29990 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
29992 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
29993 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
29995 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
29996 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
29998 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30001 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30002 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30004 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30005 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30007 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30010 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30011 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30013 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30016 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
30017 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
30019 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30020 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30022 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
30023 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
30025 static void *_p_wxMaskTo_p_wxObject(void *x
) {
30026 return (void *)((wxObject
*) ((wxMask
*) x
));
30028 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30031 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30032 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30034 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30035 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30037 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30038 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30040 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30041 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30043 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30044 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30046 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30049 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30050 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30052 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30053 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30055 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30056 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30058 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30061 static void *_p_wxFontTo_p_wxObject(void *x
) {
30062 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
30064 static void *_p_wxBrushTo_p_wxObject(void *x
) {
30065 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
30067 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
30068 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
30070 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30073 static void *_p_wxColourTo_p_wxObject(void *x
) {
30074 return (void *)((wxObject
*) ((wxColour
*) x
));
30076 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30079 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30080 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30082 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30083 return (void *)((wxWindow
*) ((wxControl
*) x
));
30085 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30086 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30088 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30089 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30091 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
30092 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
30093 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};
30094 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
30095 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
30096 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
30097 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
30098 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
30099 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
30100 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
30101 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
30102 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
30103 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
30104 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
30105 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
30106 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
30107 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
30108 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
30109 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
30110 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
30111 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
30112 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
30113 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
30114 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
30115 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
30116 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
30117 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
30118 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
30119 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
30120 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
30121 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
30122 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
30123 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
30124 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
30125 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
30126 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
30127 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
30128 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
30129 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
30130 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
30131 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
30132 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
30133 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
30134 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
30135 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
30136 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
30137 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
30138 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
30139 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
30140 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
30141 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
30142 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
30143 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
30144 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
30145 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
30146 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
30147 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
30148 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
30149 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
30150 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
30151 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
30152 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
30153 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
30154 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
30155 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
30156 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
30157 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
30158 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
30159 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
30160 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
30161 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
30162 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
30163 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
30164 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
30165 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
30166 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
30167 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
30168 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
30169 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
30170 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
30171 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
30172 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
30173 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
30174 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
30175 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
30176 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
30177 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
30178 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
30179 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
30180 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
30181 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
30182 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
30183 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
30184 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
30185 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
30186 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
30187 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
30188 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
30189 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
30190 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
30191 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
30192 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
30193 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
30194 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
30195 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
30196 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
30197 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
30198 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
30199 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
30200 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
30201 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
30202 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
30203 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
30204 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
30205 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
30206 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
30207 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
30208 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
30209 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
30210 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
30211 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
30212 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
30213 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
30214 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
30215 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
30216 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
30217 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
30218 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
30219 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
30220 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
30221 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
30222 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
30223 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
30224 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
30225 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
30226 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
30227 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
30228 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
30229 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
30230 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
30232 static swig_type_info
*swig_type_initial
[] = {
30235 &_swigt__p_form_ops_t
,
30237 &_swigt__p_unsigned_char
,
30238 &_swigt__p_unsigned_int
,
30239 &_swigt__p_unsigned_long
,
30240 &_swigt__p_wxANIHandler
,
30241 &_swigt__p_wxAcceleratorTable
,
30242 &_swigt__p_wxActivateEvent
,
30243 &_swigt__p_wxBMPHandler
,
30244 &_swigt__p_wxBitmap
,
30245 &_swigt__p_wxBoxSizer
,
30246 &_swigt__p_wxBrush
,
30247 &_swigt__p_wxBrushList
,
30248 &_swigt__p_wxBufferedDC
,
30249 &_swigt__p_wxBufferedPaintDC
,
30250 &_swigt__p_wxCURHandler
,
30251 &_swigt__p_wxChildFocusEvent
,
30252 &_swigt__p_wxClientDC
,
30253 &_swigt__p_wxClipboardTextEvent
,
30254 &_swigt__p_wxCloseEvent
,
30255 &_swigt__p_wxColour
,
30256 &_swigt__p_wxColourDatabase
,
30257 &_swigt__p_wxCommandEvent
,
30258 &_swigt__p_wxContextMenuEvent
,
30259 &_swigt__p_wxControl
,
30260 &_swigt__p_wxControlWithItems
,
30261 &_swigt__p_wxCursor
,
30264 &_swigt__p_wxDateEvent
,
30265 &_swigt__p_wxDisplayChangedEvent
,
30266 &_swigt__p_wxDropFilesEvent
,
30267 &_swigt__p_wxDuplexMode
,
30268 &_swigt__p_wxEffects
,
30269 &_swigt__p_wxEncodingConverter
,
30270 &_swigt__p_wxEraseEvent
,
30271 &_swigt__p_wxEvent
,
30272 &_swigt__p_wxEvtHandler
,
30273 &_swigt__p_wxFSFile
,
30274 &_swigt__p_wxFileSystem
,
30275 &_swigt__p_wxFlexGridSizer
,
30276 &_swigt__p_wxFocusEvent
,
30278 &_swigt__p_wxFontList
,
30279 &_swigt__p_wxFontMapper
,
30280 &_swigt__p_wxGBSizerItem
,
30281 &_swigt__p_wxGDIObjListBase
,
30282 &_swigt__p_wxGDIObject
,
30283 &_swigt__p_wxGIFHandler
,
30284 &_swigt__p_wxGridBagSizer
,
30285 &_swigt__p_wxGridSizer
,
30286 &_swigt__p_wxICOHandler
,
30288 &_swigt__p_wxIconBundle
,
30289 &_swigt__p_wxIconLocation
,
30290 &_swigt__p_wxIconizeEvent
,
30291 &_swigt__p_wxIdleEvent
,
30292 &_swigt__p_wxImage
,
30293 &_swigt__p_wxImageHandler
,
30294 &_swigt__p_wxImageList
,
30295 &_swigt__p_wxIndividualLayoutConstraint
,
30296 &_swigt__p_wxInitDialogEvent
,
30297 &_swigt__p_wxJPEGHandler
,
30298 &_swigt__p_wxKeyEvent
,
30299 &_swigt__p_wxLanguageInfo
,
30300 &_swigt__p_wxLayoutConstraints
,
30301 &_swigt__p_wxLocale
,
30303 &_swigt__p_wxMaximizeEvent
,
30304 &_swigt__p_wxMemoryDC
,
30306 &_swigt__p_wxMenuBar
,
30307 &_swigt__p_wxMenuEvent
,
30308 &_swigt__p_wxMenuItem
,
30309 &_swigt__p_wxMetaFile
,
30310 &_swigt__p_wxMetaFileDC
,
30311 &_swigt__p_wxMirrorDC
,
30312 &_swigt__p_wxMouseCaptureChangedEvent
,
30313 &_swigt__p_wxMouseCaptureLostEvent
,
30314 &_swigt__p_wxMouseEvent
,
30315 &_swigt__p_wxMoveEvent
,
30316 &_swigt__p_wxNativeEncodingInfo
,
30317 &_swigt__p_wxNativeFontInfo
,
30318 &_swigt__p_wxNavigationKeyEvent
,
30319 &_swigt__p_wxNcPaintEvent
,
30320 &_swigt__p_wxNotifyEvent
,
30321 &_swigt__p_wxObject
,
30322 &_swigt__p_wxPCXHandler
,
30323 &_swigt__p_wxPNGHandler
,
30324 &_swigt__p_wxPNMHandler
,
30325 &_swigt__p_wxPaintDC
,
30326 &_swigt__p_wxPaintEvent
,
30327 &_swigt__p_wxPalette
,
30328 &_swigt__p_wxPaletteChangedEvent
,
30329 &_swigt__p_wxPaperSize
,
30331 &_swigt__p_wxPenList
,
30332 &_swigt__p_wxPoint
,
30333 &_swigt__p_wxPostScriptDC
,
30334 &_swigt__p_wxPrintData
,
30335 &_swigt__p_wxPrinterDC
,
30336 &_swigt__p_wxPseudoDC
,
30337 &_swigt__p_wxPyApp
,
30338 &_swigt__p_wxPyCommandEvent
,
30339 &_swigt__p_wxPyEvent
,
30340 &_swigt__p_wxPyFontEnumerator
,
30341 &_swigt__p_wxPyImageHandler
,
30342 &_swigt__p_wxPySizer
,
30343 &_swigt__p_wxPyValidator
,
30344 &_swigt__p_wxQueryNewPaletteEvent
,
30346 &_swigt__p_wxRegion
,
30347 &_swigt__p_wxRegionIterator
,
30348 &_swigt__p_wxRendererNative
,
30349 &_swigt__p_wxRendererVersion
,
30350 &_swigt__p_wxScreenDC
,
30351 &_swigt__p_wxScrollEvent
,
30352 &_swigt__p_wxScrollWinEvent
,
30353 &_swigt__p_wxSetCursorEvent
,
30354 &_swigt__p_wxShowEvent
,
30356 &_swigt__p_wxSizeEvent
,
30357 &_swigt__p_wxSizer
,
30358 &_swigt__p_wxSizerItem
,
30359 &_swigt__p_wxSplitterRenderParams
,
30360 &_swigt__p_wxStaticBoxSizer
,
30361 &_swigt__p_wxStdDialogButtonSizer
,
30362 &_swigt__p_wxStockGDI
,
30363 &_swigt__p_wxString
,
30364 &_swigt__p_wxSysColourChangedEvent
,
30365 &_swigt__p_wxTIFFHandler
,
30366 &_swigt__p_wxUpdateUIEvent
,
30367 &_swigt__p_wxValidator
,
30368 &_swigt__p_wxWindow
,
30369 &_swigt__p_wxWindowCreateEvent
,
30370 &_swigt__p_wxWindowDC
,
30371 &_swigt__p_wxWindowDestroyEvent
,
30372 &_swigt__p_wxXPMHandler
,
30375 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
30376 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
30377 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
30378 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
30379 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
30380 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
30381 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
30382 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
30383 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
30384 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
30385 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}};
30386 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
30387 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
30388 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
30389 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
30390 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
30391 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}};
30392 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
30393 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
30394 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
30395 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
30396 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
30397 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
30398 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
30399 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}};
30400 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}};
30401 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
30402 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
30403 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
30404 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
30405 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
30406 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
30407 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
30408 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
30409 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}};
30410 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
30411 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
30412 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
30413 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
30414 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
30415 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
30416 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
30417 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
30418 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
30419 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
30420 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
30421 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
30422 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
30423 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
30424 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
30425 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
30426 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
30427 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
30428 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
30429 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
30430 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
30431 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
30432 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
30433 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30434 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30435 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30436 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30437 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
30438 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
30439 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
30440 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
30441 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30442 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30443 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
30444 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
30445 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
30446 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
30447 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
30448 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
30449 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
30450 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
30451 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
30452 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
30453 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
30454 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
30455 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
30456 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
30457 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
30458 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
30459 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
30460 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
30461 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
30462 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
30463 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
30464 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
30465 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
30466 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
30467 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
30468 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
30469 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
30470 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
30471 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
30472 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30473 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30474 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30475 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
30476 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
30477 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
30478 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
30479 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
30480 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
30481 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
30482 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
30483 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
30484 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
30485 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
30486 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
30487 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
30488 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
30489 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
30490 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
30491 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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}};
30492 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
30493 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
30494 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
30495 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
30496 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
30497 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
30498 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
30499 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
30500 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
30501 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
30502 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
30503 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
30504 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
30505 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
30506 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
30507 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
30508 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
30509 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
30510 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
30511 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
30512 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
30513 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}};
30514 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
30516 static swig_cast_info
*swig_cast_initial
[] = {
30519 _swigc__p_form_ops_t
,
30521 _swigc__p_unsigned_char
,
30522 _swigc__p_unsigned_int
,
30523 _swigc__p_unsigned_long
,
30524 _swigc__p_wxANIHandler
,
30525 _swigc__p_wxAcceleratorTable
,
30526 _swigc__p_wxActivateEvent
,
30527 _swigc__p_wxBMPHandler
,
30528 _swigc__p_wxBitmap
,
30529 _swigc__p_wxBoxSizer
,
30531 _swigc__p_wxBrushList
,
30532 _swigc__p_wxBufferedDC
,
30533 _swigc__p_wxBufferedPaintDC
,
30534 _swigc__p_wxCURHandler
,
30535 _swigc__p_wxChildFocusEvent
,
30536 _swigc__p_wxClientDC
,
30537 _swigc__p_wxClipboardTextEvent
,
30538 _swigc__p_wxCloseEvent
,
30539 _swigc__p_wxColour
,
30540 _swigc__p_wxColourDatabase
,
30541 _swigc__p_wxCommandEvent
,
30542 _swigc__p_wxContextMenuEvent
,
30543 _swigc__p_wxControl
,
30544 _swigc__p_wxControlWithItems
,
30545 _swigc__p_wxCursor
,
30548 _swigc__p_wxDateEvent
,
30549 _swigc__p_wxDisplayChangedEvent
,
30550 _swigc__p_wxDropFilesEvent
,
30551 _swigc__p_wxDuplexMode
,
30552 _swigc__p_wxEffects
,
30553 _swigc__p_wxEncodingConverter
,
30554 _swigc__p_wxEraseEvent
,
30556 _swigc__p_wxEvtHandler
,
30557 _swigc__p_wxFSFile
,
30558 _swigc__p_wxFileSystem
,
30559 _swigc__p_wxFlexGridSizer
,
30560 _swigc__p_wxFocusEvent
,
30562 _swigc__p_wxFontList
,
30563 _swigc__p_wxFontMapper
,
30564 _swigc__p_wxGBSizerItem
,
30565 _swigc__p_wxGDIObjListBase
,
30566 _swigc__p_wxGDIObject
,
30567 _swigc__p_wxGIFHandler
,
30568 _swigc__p_wxGridBagSizer
,
30569 _swigc__p_wxGridSizer
,
30570 _swigc__p_wxICOHandler
,
30572 _swigc__p_wxIconBundle
,
30573 _swigc__p_wxIconLocation
,
30574 _swigc__p_wxIconizeEvent
,
30575 _swigc__p_wxIdleEvent
,
30577 _swigc__p_wxImageHandler
,
30578 _swigc__p_wxImageList
,
30579 _swigc__p_wxIndividualLayoutConstraint
,
30580 _swigc__p_wxInitDialogEvent
,
30581 _swigc__p_wxJPEGHandler
,
30582 _swigc__p_wxKeyEvent
,
30583 _swigc__p_wxLanguageInfo
,
30584 _swigc__p_wxLayoutConstraints
,
30585 _swigc__p_wxLocale
,
30587 _swigc__p_wxMaximizeEvent
,
30588 _swigc__p_wxMemoryDC
,
30590 _swigc__p_wxMenuBar
,
30591 _swigc__p_wxMenuEvent
,
30592 _swigc__p_wxMenuItem
,
30593 _swigc__p_wxMetaFile
,
30594 _swigc__p_wxMetaFileDC
,
30595 _swigc__p_wxMirrorDC
,
30596 _swigc__p_wxMouseCaptureChangedEvent
,
30597 _swigc__p_wxMouseCaptureLostEvent
,
30598 _swigc__p_wxMouseEvent
,
30599 _swigc__p_wxMoveEvent
,
30600 _swigc__p_wxNativeEncodingInfo
,
30601 _swigc__p_wxNativeFontInfo
,
30602 _swigc__p_wxNavigationKeyEvent
,
30603 _swigc__p_wxNcPaintEvent
,
30604 _swigc__p_wxNotifyEvent
,
30605 _swigc__p_wxObject
,
30606 _swigc__p_wxPCXHandler
,
30607 _swigc__p_wxPNGHandler
,
30608 _swigc__p_wxPNMHandler
,
30609 _swigc__p_wxPaintDC
,
30610 _swigc__p_wxPaintEvent
,
30611 _swigc__p_wxPalette
,
30612 _swigc__p_wxPaletteChangedEvent
,
30613 _swigc__p_wxPaperSize
,
30615 _swigc__p_wxPenList
,
30617 _swigc__p_wxPostScriptDC
,
30618 _swigc__p_wxPrintData
,
30619 _swigc__p_wxPrinterDC
,
30620 _swigc__p_wxPseudoDC
,
30622 _swigc__p_wxPyCommandEvent
,
30623 _swigc__p_wxPyEvent
,
30624 _swigc__p_wxPyFontEnumerator
,
30625 _swigc__p_wxPyImageHandler
,
30626 _swigc__p_wxPySizer
,
30627 _swigc__p_wxPyValidator
,
30628 _swigc__p_wxQueryNewPaletteEvent
,
30630 _swigc__p_wxRegion
,
30631 _swigc__p_wxRegionIterator
,
30632 _swigc__p_wxRendererNative
,
30633 _swigc__p_wxRendererVersion
,
30634 _swigc__p_wxScreenDC
,
30635 _swigc__p_wxScrollEvent
,
30636 _swigc__p_wxScrollWinEvent
,
30637 _swigc__p_wxSetCursorEvent
,
30638 _swigc__p_wxShowEvent
,
30640 _swigc__p_wxSizeEvent
,
30642 _swigc__p_wxSizerItem
,
30643 _swigc__p_wxSplitterRenderParams
,
30644 _swigc__p_wxStaticBoxSizer
,
30645 _swigc__p_wxStdDialogButtonSizer
,
30646 _swigc__p_wxStockGDI
,
30647 _swigc__p_wxString
,
30648 _swigc__p_wxSysColourChangedEvent
,
30649 _swigc__p_wxTIFFHandler
,
30650 _swigc__p_wxUpdateUIEvent
,
30651 _swigc__p_wxValidator
,
30652 _swigc__p_wxWindow
,
30653 _swigc__p_wxWindowCreateEvent
,
30654 _swigc__p_wxWindowDC
,
30655 _swigc__p_wxWindowDestroyEvent
,
30656 _swigc__p_wxXPMHandler
,
30660 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30662 static swig_const_info swig_const_table
[] = {
30663 {0, 0, 0, 0.0, 0, 0}};
30668 /* -----------------------------------------------------------------------------
30669 * Type initialization:
30670 * This problem is tough by the requirement that no dynamic
30671 * memory is used. Also, since swig_type_info structures store pointers to
30672 * swig_cast_info structures and swig_cast_info structures store pointers back
30673 * to swig_type_info structures, we need some lookup code at initialization.
30674 * The idea is that swig generates all the structures that are needed.
30675 * The runtime then collects these partially filled structures.
30676 * The SWIG_InitializeModule function takes these initial arrays out of
30677 * swig_module, and does all the lookup, filling in the swig_module.types
30678 * array with the correct data and linking the correct swig_cast_info
30679 * structures together.
30681 * The generated swig_type_info structures are assigned staticly to an initial
30682 * array. We just loop though that array, and handle each type individually.
30683 * First we lookup if this type has been already loaded, and if so, use the
30684 * loaded structure instead of the generated one. Then we have to fill in the
30685 * cast linked list. The cast data is initially stored in something like a
30686 * two-dimensional array. Each row corresponds to a type (there are the same
30687 * number of rows as there are in the swig_type_initial array). Each entry in
30688 * a column is one of the swig_cast_info structures for that type.
30689 * The cast_initial array is actually an array of arrays, because each row has
30690 * a variable number of columns. So to actually build the cast linked list,
30691 * we find the array of casts associated with the type, and loop through it
30692 * adding the casts to the list. The one last trick we need to do is making
30693 * sure the type pointer in the swig_cast_info struct is correct.
30695 * First off, we lookup the cast->type name to see if it is already loaded.
30696 * There are three cases to handle:
30697 * 1) If the cast->type has already been loaded AND the type we are adding
30698 * casting info to has not been loaded (it is in this module), THEN we
30699 * replace the cast->type pointer with the type pointer that has already
30701 * 2) If BOTH types (the one we are adding casting info to, and the
30702 * cast->type) are loaded, THEN the cast info has already been loaded by
30703 * the previous module so we just ignore it.
30704 * 3) Finally, if cast->type has not already been loaded, then we add that
30705 * swig_cast_info to the linked list (because the cast->type) pointer will
30707 * ----------------------------------------------------------------------------- */
30717 #define SWIGRUNTIME_DEBUG
30721 SWIG_InitializeModule(void *clientdata
) {
30723 swig_module_info
*module_head
;
30724 static int init_run
= 0;
30726 clientdata
= clientdata
;
30728 if (init_run
) return;
30731 /* Initialize the swig_module */
30732 swig_module
.type_initial
= swig_type_initial
;
30733 swig_module
.cast_initial
= swig_cast_initial
;
30735 /* Try and load any already created modules */
30736 module_head
= SWIG_GetModule(clientdata
);
30738 swig_module
.next
= module_head
->next
;
30739 module_head
->next
= &swig_module
;
30741 /* This is the first module loaded */
30742 swig_module
.next
= &swig_module
;
30743 SWIG_SetModule(clientdata
, &swig_module
);
30746 /* Now work on filling in swig_module.types */
30747 #ifdef SWIGRUNTIME_DEBUG
30748 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
30750 for (i
= 0; i
< swig_module
.size
; ++i
) {
30751 swig_type_info
*type
= 0;
30752 swig_type_info
*ret
;
30753 swig_cast_info
*cast
;
30755 #ifdef SWIGRUNTIME_DEBUG
30756 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30759 /* if there is another module already loaded */
30760 if (swig_module
.next
!= &swig_module
) {
30761 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
30764 /* Overwrite clientdata field */
30765 #ifdef SWIGRUNTIME_DEBUG
30766 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
30768 if (swig_module
.type_initial
[i
]->clientdata
) {
30769 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30770 #ifdef SWIGRUNTIME_DEBUG
30771 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30775 type
= swig_module
.type_initial
[i
];
30778 /* Insert casting types */
30779 cast
= swig_module
.cast_initial
[i
];
30780 while (cast
->type
) {
30781 /* Don't need to add information already in the list */
30783 #ifdef SWIGRUNTIME_DEBUG
30784 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30786 if (swig_module
.next
!= &swig_module
) {
30787 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30788 #ifdef SWIGRUNTIME_DEBUG
30789 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30793 if (type
== swig_module
.type_initial
[i
]) {
30794 #ifdef SWIGRUNTIME_DEBUG
30795 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30800 /* Check for casting already in the list */
30801 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30802 #ifdef SWIGRUNTIME_DEBUG
30803 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30805 if (!ocast
) ret
= 0;
30810 #ifdef SWIGRUNTIME_DEBUG
30811 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30814 type
->cast
->prev
= cast
;
30815 cast
->next
= type
->cast
;
30821 /* Set entry in modules->types array equal to the type */
30822 swig_module
.types
[i
] = type
;
30824 swig_module
.types
[i
] = 0;
30826 #ifdef SWIGRUNTIME_DEBUG
30827 printf("**** SWIG_InitializeModule: Cast List ******\n");
30828 for (i
= 0; i
< swig_module
.size
; ++i
) {
30830 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30831 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30832 while (cast
->type
) {
30833 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30837 printf("---- Total casts: %d\n",j
);
30839 printf("**** SWIG_InitializeModule: Cast List ******\n");
30843 /* This function will propagate the clientdata field of type to
30844 * any new swig_type_info structures that have been added into the list
30845 * of equivalent types. It is like calling
30846 * SWIG_TypeClientData(type, clientdata) a second time.
30849 SWIG_PropagateClientData(void) {
30851 swig_cast_info
*equiv
;
30852 static int init_run
= 0;
30854 if (init_run
) return;
30857 for (i
= 0; i
< swig_module
.size
; i
++) {
30858 if (swig_module
.types
[i
]->clientdata
) {
30859 equiv
= swig_module
.types
[i
]->cast
;
30861 if (!equiv
->converter
) {
30862 if (equiv
->type
&& !equiv
->type
->clientdata
)
30863 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30865 equiv
= equiv
->next
;
30885 /* Python-specific SWIG API */
30886 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30887 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30888 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30890 /* -----------------------------------------------------------------------------
30891 * global variable support code.
30892 * ----------------------------------------------------------------------------- */
30894 typedef struct swig_globalvar
{
30895 char *name
; /* Name of global variable */
30896 PyObject
*(*get_attr
)(void); /* Return the current value */
30897 int (*set_attr
)(PyObject
*); /* Set the value */
30898 struct swig_globalvar
*next
;
30901 typedef struct swig_varlinkobject
{
30903 swig_globalvar
*vars
;
30904 } swig_varlinkobject
;
30906 SWIGINTERN PyObject
*
30907 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
30908 return PyString_FromString("<Swig global variables>");
30911 SWIGINTERN PyObject
*
30912 swig_varlink_str(swig_varlinkobject
*v
) {
30913 PyObject
*str
= PyString_FromString("(");
30914 swig_globalvar
*var
;
30915 for (var
= v
->vars
; var
; var
=var
->next
) {
30916 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
30917 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
30919 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
30924 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
30925 PyObject
*str
= swig_varlink_str(v
);
30926 fprintf(fp
,"Swig global variables ");
30927 fprintf(fp
,"%s\n", PyString_AsString(str
));
30933 swig_varlink_dealloc(swig_varlinkobject
*v
) {
30934 swig_globalvar
*var
= v
->vars
;
30936 swig_globalvar
*n
= var
->next
;
30943 SWIGINTERN PyObject
*
30944 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30945 PyObject
*res
= NULL
;
30946 swig_globalvar
*var
= v
->vars
;
30948 if (strcmp(var
->name
,n
) == 0) {
30949 res
= (*var
->get_attr
)();
30954 if (res
== NULL
&& !PyErr_Occurred()) {
30955 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30961 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30963 swig_globalvar
*var
= v
->vars
;
30965 if (strcmp(var
->name
,n
) == 0) {
30966 res
= (*var
->set_attr
)(p
);
30971 if (res
== 1 && !PyErr_Occurred()) {
30972 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30977 SWIGINTERN PyTypeObject
*
30978 swig_varlink_type(void) {
30979 static char varlink__doc__
[] = "Swig var link object";
30980 static PyTypeObject varlink_type
;
30981 static int type_init
= 0;
30983 const PyTypeObject tmp
30985 PyObject_HEAD_INIT(NULL
)
30986 0, /* Number of items in variable part (ob_size) */
30987 (char *)"swigvarlink", /* Type name (tp_name) */
30988 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30989 0, /* Itemsize (tp_itemsize) */
30990 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
30991 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30992 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30993 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30994 0, /* tp_compare */
30995 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30996 0, /* tp_as_number */
30997 0, /* tp_as_sequence */
30998 0, /* tp_as_mapping */
31001 (reprfunc
)swig_varlink_str
, /* tp_str */
31002 0, /* tp_getattro */
31003 0, /* tp_setattro */
31004 0, /* tp_as_buffer */
31006 varlink__doc__
, /* tp_doc */
31007 0, /* tp_traverse */
31009 0, /* tp_richcompare */
31010 0, /* tp_weaklistoffset */
31011 #if PY_VERSION_HEX >= 0x02020000
31012 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
31014 #if PY_VERSION_HEX >= 0x02030000
31017 #ifdef COUNT_ALLOCS
31018 0,0,0,0 /* tp_alloc -> tp_next */
31021 varlink_type
= tmp
;
31022 varlink_type
.ob_type
= &PyType_Type
;
31025 return &varlink_type
;
31028 /* Create a variable linking object for use later */
31029 SWIGINTERN PyObject
*
31030 SWIG_Python_newvarlink(void) {
31031 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
31035 return ((PyObject
*) result
);
31039 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
31040 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
31041 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
31043 size_t size
= strlen(name
)+1;
31044 gv
->name
= (char *)malloc(size
);
31046 strncpy(gv
->name
,name
,size
);
31047 gv
->get_attr
= get_attr
;
31048 gv
->set_attr
= set_attr
;
31049 gv
->next
= v
->vars
;
31055 SWIGINTERN PyObject
*
31057 static PyObject
*_SWIG_globals
= 0;
31058 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
31059 return _SWIG_globals
;
31062 /* -----------------------------------------------------------------------------
31063 * constants/methods manipulation
31064 * ----------------------------------------------------------------------------- */
31066 /* Install Constants */
31068 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
31071 for (i
= 0; constants
[i
].type
; ++i
) {
31072 switch(constants
[i
].type
) {
31073 case SWIG_PY_POINTER
:
31074 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
31076 case SWIG_PY_BINARY
:
31077 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
31084 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
31090 /* -----------------------------------------------------------------------------*/
31091 /* Fix SwigMethods to carry the callback ptrs when needed */
31092 /* -----------------------------------------------------------------------------*/
31095 SWIG_Python_FixMethods(PyMethodDef
*methods
,
31096 swig_const_info
*const_table
,
31097 swig_type_info
**types
,
31098 swig_type_info
**types_initial
) {
31100 for (i
= 0; methods
[i
].ml_name
; ++i
) {
31101 const char *c
= methods
[i
].ml_doc
;
31102 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
31104 swig_const_info
*ci
= 0;
31105 const char *name
= c
+ 10;
31106 for (j
= 0; const_table
[j
].type
; ++j
) {
31107 if (strncmp(const_table
[j
].name
, name
,
31108 strlen(const_table
[j
].name
)) == 0) {
31109 ci
= &(const_table
[j
]);
31114 size_t shift
= (ci
->ptype
) - types
;
31115 swig_type_info
*ty
= types_initial
[shift
];
31116 size_t ldoc
= (c
- methods
[i
].ml_doc
);
31117 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
31118 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
31121 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
31123 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
31125 strncpy(buff
, "swig_ptr: ", 10);
31127 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
31128 methods
[i
].ml_doc
= ndoc
;
31140 /* -----------------------------------------------------------------------------*
31141 * Partial Init method
31142 * -----------------------------------------------------------------------------*/
31147 SWIGEXPORT
void SWIG_init(void) {
31150 /* Fix SwigMethods to carry the callback ptrs when needed */
31151 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
31153 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31154 d
= PyModule_GetDict(m
);
31156 SWIG_InitializeModule(0);
31157 SWIG_InstallConstants(d
,swig_const_table
);
31160 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
31161 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
31162 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
31163 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
31164 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
31165 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
31166 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
31167 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
31168 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
31169 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
31170 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
31171 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
31172 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
31173 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
31174 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
31175 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
31176 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
31177 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
31178 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
31179 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
31180 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
31181 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
31182 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
31183 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
31184 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
31185 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
31186 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
31187 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
31188 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
31189 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
31190 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
31191 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
31192 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
31193 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
31194 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
31195 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
31196 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
31197 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
31198 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
31199 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
31200 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
31201 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
31202 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
31203 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
31204 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
31205 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
31206 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
31207 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
31208 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
31209 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
31210 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
31211 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
31212 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
31213 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
31214 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
31215 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
31216 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
31217 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
31218 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
31219 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
31220 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
31221 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
31222 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
31223 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
31224 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
31225 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
31226 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
31227 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
31228 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
31229 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
31230 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
31231 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
31232 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
31233 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
31234 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
31235 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
31236 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
31237 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
31238 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
31239 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
31240 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
31241 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
31242 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
31243 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
31244 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
31245 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
31246 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
31247 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
31248 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
31249 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
31250 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
31251 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
31252 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
31253 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
31254 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
31255 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
31256 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
31257 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
31258 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
31259 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
31260 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
31261 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
31262 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
31263 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
31264 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
31265 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
31266 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
31267 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
31268 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
31269 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
31270 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
31271 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
31272 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
31273 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
31274 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
31275 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
31276 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
31277 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
31278 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
31279 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
31280 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
31281 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
31282 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
31283 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
31284 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
31285 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
31286 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
31287 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
31288 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
31289 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
31291 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
31293 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
31294 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
31295 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
31296 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
31297 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
31298 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
31299 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
31300 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
31301 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
31302 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
31303 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
31304 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
31305 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
31306 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
31307 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
31308 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
31309 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
31310 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
31311 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
31312 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
31313 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
31314 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
31315 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
31316 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
31317 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
31318 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
31319 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
31320 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
31321 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
31322 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
31323 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
31324 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
31325 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
31326 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
31327 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
31328 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
31329 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
31330 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
31331 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
31332 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
31333 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
31334 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
31335 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
31336 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
31337 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
31338 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
31339 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
31340 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
31341 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
31342 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
31343 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
31344 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
31345 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
31346 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
31347 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
31348 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
31349 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
31350 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
31351 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
31352 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
31353 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
31354 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
31355 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
31356 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
31357 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
31358 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
31359 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
31360 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
31361 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
31362 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
31363 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
31364 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
31365 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
31366 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
31367 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
31368 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
31369 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
31370 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
31371 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
31372 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
31373 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
31374 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
31375 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
31376 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
31377 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
31378 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
31379 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
31380 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
31381 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
31382 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
31383 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
31384 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
31385 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
31386 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
31387 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
31388 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
31389 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
31390 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
31391 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
31392 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
31393 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
31394 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
31395 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
31396 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
31397 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
31398 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
31399 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
31400 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
31401 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
31402 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
31403 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
31404 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
31405 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
31406 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
31407 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
31408 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
31409 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
31410 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
31411 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
31412 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
31413 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
31414 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
31415 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
31416 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
31417 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
31418 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
31419 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
31420 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
31421 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
31422 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
31423 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
31424 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
31425 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
31426 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
31427 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
31428 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
31429 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
31430 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
31431 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
31432 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
31433 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
31434 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
31435 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
31436 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
31437 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
31438 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
31439 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
31440 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
31441 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
31442 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
31443 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
31444 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
31445 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
31446 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
31447 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
31448 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
31449 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
31450 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
31451 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
31452 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
31453 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
31454 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
31455 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
31456 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
31457 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
31458 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
31459 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
31460 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
31461 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
31462 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
31463 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
31464 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
31465 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
31466 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
31467 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
31468 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
31469 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
31470 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
31471 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
31472 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
31473 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
31474 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
31475 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
31476 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
31477 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
31478 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
31479 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
31480 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
31481 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
31482 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
31483 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
31484 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
31485 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
31486 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
31487 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
31488 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
31489 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
31490 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
31491 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
31492 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
31493 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
31494 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
31495 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
31496 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
31497 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
31498 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
31499 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
31500 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
31501 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
31502 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
31503 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
31504 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
31505 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
31506 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
31507 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
31508 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
31509 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
31510 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
31511 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
31512 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
31513 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
31514 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
31515 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
31516 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
31517 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
31518 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
31519 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
31520 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
31521 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
31522 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
31523 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
31524 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
31525 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
31526 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
31527 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
31528 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
31529 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
31530 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
31531 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
31532 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
31533 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
31534 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
31535 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
31536 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
31537 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
31538 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
31539 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
31540 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
31541 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
31542 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
31543 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
31544 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
31545 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
31546 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
31547 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
31548 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
31549 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
31550 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
31551 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
31552 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
31553 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
31554 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
31555 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
31556 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
31557 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
31558 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
31559 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
31560 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
31561 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
31562 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
31563 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
31564 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
31565 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
31566 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
31567 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
31568 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
31569 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
31570 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
31571 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
31572 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
31573 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
31574 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
31575 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
31576 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
31577 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
31578 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
31579 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
31580 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
31581 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
31582 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
31583 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
31584 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
31585 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
31586 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
31587 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
31588 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
31589 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
31590 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
31591 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
31592 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
31593 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
31594 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
31595 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
31596 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
31597 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
31598 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
31599 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
31600 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
31601 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
31602 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
31603 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
31604 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
31605 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
31606 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
31608 // Work around a chicken/egg problem in drawlist.cpp
31609 wxPyDrawList_SetAPIPtr();