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 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2913 wxSize
size(self
->GetWidth(), self
->GetHeight());
2916 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2917 wxMask
*mask
= new wxMask(*self
, colour
);
2918 self
->SetMask(mask
);
2920 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2921 self
->SetWidth(size
.x
);
2922 self
->SetHeight(size
.y
);
2924 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2926 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2928 return new wxMask(bitmap
, *wxBLACK
);
2930 return new wxMask(bitmap
, colour
);
2933 #include <wx/iconbndl.h>
2935 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2936 wxIcon
* icon
= new wxIcon();
2937 icon
->CopyFromBitmap(bmp
);
2940 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2941 char** cArray
= NULL
;
2944 cArray
= ConvertListOfStrings(listOfStrings
);
2947 icon
= new wxIcon(cArray
);
2951 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2955 return new wxIconLocation(*filename
);
2958 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2965 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2972 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2974 wxImage
img(cursorName
, type
);
2975 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2976 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2977 return new wxCursor(img
);
2979 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2984 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2987 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2988 return self
->operator bool();
2991 #include <wx/fontutil.h>
2992 #include <wx/fontmap.h>
2993 #include <wx/fontenum.h>
2997 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2999 if (obj
== Py_True
) {
3000 if (val
) *val
= true;
3002 } else if (obj
== Py_False
) {
3003 if (val
) *val
= false;
3007 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3008 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3013 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3014 return self
->ToString();
3017 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3018 static wxNativeEncodingInfo info
;
3019 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3026 SWIGINTERNINLINE PyObject
*
3027 SWIG_From_size_t (size_t value
)
3029 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3033 SWIGINTERNINLINE
int
3034 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3037 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3038 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3042 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3043 wxFontEncoding alt_enc
;
3044 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3045 return PyInt_FromLong(alt_enc
);
3051 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3052 wxNativeFontInfo nfi
;
3053 nfi
.FromString(info
);
3054 return new wxFont(nfi
);
3056 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3057 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3059 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3060 return wxFontBase::New(pixelSize
, family
,
3061 style
, weight
, underlined
,
3064 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3065 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3067 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3068 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3070 class wxPyFontEnumerator
: public wxFontEnumerator
{
3072 wxPyFontEnumerator() {}
3073 ~wxPyFontEnumerator() {}
3075 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3076 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3081 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3082 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3085 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3087 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3088 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3089 ret
= wxArrayString2PyList_helper(arr
);
3090 wxPyEndBlockThreads(blocked
);
3093 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3095 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 ret
= wxArrayString2PyList_helper(arr
);
3098 wxPyEndBlockThreads(blocked
);
3104 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3107 loc
= new wxLocale();
3109 loc
= new wxLocale(language
, flags
);
3110 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3111 // for the floating point conversions and such to work right.
3112 #if PY_VERSION_HEX < 0x02040000
3113 setlocale(LC_NUMERIC
, "C");
3117 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3118 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3119 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3120 // for the floating point conversions and such to work right.
3121 #if PY_VERSION_HEX < 0x02040000
3122 setlocale(LC_NUMERIC
, "C");
3126 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3127 bool rc
= self
->Init(language
, flags
);
3128 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3129 // for the floating point conversions and such to work right.
3130 #if PY_VERSION_HEX < 0x02040000
3131 setlocale(LC_NUMERIC
, "C");
3136 #include "wx/wxPython/pydrawxxx.h"
3138 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3140 self
->GetPixel(x
, y
, &col
);
3143 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3145 self
->GetPixel(pt
, &col
);
3150 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3152 if (PyNumber_Check(obj
)) {
3153 if (val
) *val
= PyFloat_AsDouble(obj
);
3156 return SWIG_TypeError
;
3159 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3161 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3164 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3166 self
->GetClippingBox(rect
);
3169 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3171 self
->GetPartialTextExtents(text
, widths
);
3175 #define SWIG_From_double PyFloat_FromDouble
3177 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3178 self
->SetLogicalOrigin(point
.x
, point
.y
);
3180 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3181 self
->SetDeviceOrigin(point
.x
, point
.y
);
3183 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3184 self
->CalcBoundingBox(point
.x
, point
.y
);
3186 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3187 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3189 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3190 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3192 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3193 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3195 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3196 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3198 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3199 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3201 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3202 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3205 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3213 #include <wx/dcbuffer.h>
3216 #include <wx/dcps.h>
3219 class wxMetaFile
: public wxObject
{
3221 wxMetaFile(const wxString
&)
3222 { wxPyRaiseNotImplemented(); }
3225 class wxMetaFileDC
: public wxClientDC
{
3227 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3228 { wxPyRaiseNotImplemented(); }
3233 class wxPrinterDC
: public wxClientDC
{
3235 wxPrinterDC(const wxPrintData
&)
3236 { wxPyRaiseNotImplemented(); }
3242 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3243 self
->AddColour(name
, wxColour(red
, green
, blue
));
3246 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3247 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3248 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3249 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3252 #include <wx/effects.h>
3255 #include "wx/renderer.h"
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3265 #include "wx/wxPython/pseudodc.h"
3267 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3269 self
->GetIdBounds(id
, rect
);
3275 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3276 PyObject
*resultobj
= 0;
3277 wxGDIObject
*result
= 0 ;
3279 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3281 if (!wxPyCheckForApp()) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= (wxGDIObject
*)new wxGDIObject();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3294 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3295 PyObject
*resultobj
= 0;
3296 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3299 PyObject
*swig_obj
[1] ;
3301 if (!args
) SWIG_fail
;
3303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3304 if (!SWIG_IsOK(res1
)) {
3305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3307 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= SWIG_Py_Void();
3322 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3323 PyObject
*resultobj
= 0;
3324 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3328 PyObject
*swig_obj
[1] ;
3330 if (!args
) SWIG_fail
;
3332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3333 if (!SWIG_IsOK(res1
)) {
3334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3336 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (bool)(arg1
)->IsNull();
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3352 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3355 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3356 return SWIG_Py_Void();
3359 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3360 return SWIG_Python_InitShadowInstance(args
);
3363 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
= 0;
3365 byte arg1
= (byte
) 0 ;
3366 byte arg2
= (byte
) 0 ;
3367 byte arg3
= (byte
) 0 ;
3368 wxColour
*result
= 0 ;
3369 unsigned char val1
;
3371 unsigned char val2
;
3373 unsigned char val3
;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3377 PyObject
* obj2
= 0 ;
3378 char * kwnames
[] = {
3379 (char *) "red",(char *) "green",(char *) "blue", NULL
3382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3384 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3385 if (!SWIG_IsOK(ecode1
)) {
3386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3388 arg1
= static_cast< byte
>(val1
);
3391 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3392 if (!SWIG_IsOK(ecode2
)) {
3393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3395 arg2
= static_cast< byte
>(val2
);
3398 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3399 if (!SWIG_IsOK(ecode3
)) {
3400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3402 arg3
= static_cast< byte
>(val3
);
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3417 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
= 0;
3419 wxString
*arg1
= 0 ;
3420 wxColour
*result
= 0 ;
3421 bool temp1
= false ;
3422 PyObject
* obj0
= 0 ;
3423 char * kwnames
[] = {
3424 (char *) "colorName", NULL
3427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3429 arg1
= wxString_in_helper(obj0
);
3430 if (arg1
== NULL
) SWIG_fail
;
3434 if (!wxPyCheckForApp()) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3455 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
= 0;
3457 unsigned long arg1
;
3458 wxColour
*result
= 0 ;
3459 unsigned long val1
;
3461 PyObject
* obj0
= 0 ;
3462 char * kwnames
[] = {
3463 (char *) "colRGB", NULL
3466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3467 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3468 if (!SWIG_IsOK(ecode1
)) {
3469 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3471 arg1
= static_cast< unsigned long >(val1
);
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (wxColour
*)new wxColour(arg1
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3485 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3486 PyObject
*resultobj
= 0;
3487 wxColour
*arg1
= (wxColour
*) 0 ;
3490 PyObject
*swig_obj
[1] ;
3492 if (!args
) SWIG_fail
;
3494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3495 if (!SWIG_IsOK(res1
)) {
3496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3498 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= SWIG_Py_Void();
3513 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3514 PyObject
*resultobj
= 0;
3515 wxColour
*arg1
= (wxColour
*) 0 ;
3519 PyObject
*swig_obj
[1] ;
3521 if (!args
) SWIG_fail
;
3523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3524 if (!SWIG_IsOK(res1
)) {
3525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3527 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (byte
)(arg1
)->Red();
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3541 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3542 PyObject
*resultobj
= 0;
3543 wxColour
*arg1
= (wxColour
*) 0 ;
3547 PyObject
*swig_obj
[1] ;
3549 if (!args
) SWIG_fail
;
3551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3552 if (!SWIG_IsOK(res1
)) {
3553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3555 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (byte
)(arg1
)->Green();
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3569 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3570 PyObject
*resultobj
= 0;
3571 wxColour
*arg1
= (wxColour
*) 0 ;
3575 PyObject
*swig_obj
[1] ;
3577 if (!args
) SWIG_fail
;
3579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3580 if (!SWIG_IsOK(res1
)) {
3581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3583 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (byte
)(arg1
)->Blue();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3597 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3598 PyObject
*resultobj
= 0;
3599 wxColour
*arg1
= (wxColour
*) 0 ;
3603 PyObject
*swig_obj
[1] ;
3605 if (!args
) SWIG_fail
;
3607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3608 if (!SWIG_IsOK(res1
)) {
3609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3611 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (bool)(arg1
)->Ok();
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3627 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
= 0;
3629 wxColour
*arg1
= (wxColour
*) 0 ;
3635 unsigned char val2
;
3637 unsigned char val3
;
3639 unsigned char val4
;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3643 PyObject
* obj2
= 0 ;
3644 PyObject
* obj3
= 0 ;
3645 char * kwnames
[] = {
3646 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3651 if (!SWIG_IsOK(res1
)) {
3652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3654 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3655 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3656 if (!SWIG_IsOK(ecode2
)) {
3657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3659 arg2
= static_cast< byte
>(val2
);
3660 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3661 if (!SWIG_IsOK(ecode3
)) {
3662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3664 arg3
= static_cast< byte
>(val3
);
3665 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3666 if (!SWIG_IsOK(ecode4
)) {
3667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3669 arg4
= static_cast< byte
>(val4
);
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->Set(arg2
,arg3
,arg4
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_Py_Void();
3683 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
= 0;
3685 wxColour
*arg1
= (wxColour
*) 0 ;
3686 unsigned long arg2
;
3689 unsigned long val2
;
3691 PyObject
* obj0
= 0 ;
3692 PyObject
* obj1
= 0 ;
3693 char * kwnames
[] = {
3694 (char *) "self",(char *) "colRGB", NULL
3697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3699 if (!SWIG_IsOK(res1
)) {
3700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3702 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3703 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3704 if (!SWIG_IsOK(ecode2
)) {
3705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3707 arg2
= static_cast< unsigned long >(val2
);
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 resultobj
= SWIG_Py_Void();
3721 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
= 0;
3723 wxColour
*arg1
= (wxColour
*) 0 ;
3724 wxString
*arg2
= 0 ;
3727 bool temp2
= false ;
3728 PyObject
* obj0
= 0 ;
3729 PyObject
* obj1
= 0 ;
3730 char * kwnames
[] = {
3731 (char *) "self",(char *) "colourName", NULL
3734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3736 if (!SWIG_IsOK(res1
)) {
3737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3739 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3741 arg2
= wxString_in_helper(obj1
);
3742 if (arg2
== NULL
) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->InitFromName((wxString
const &)*arg2
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_Py_Void();
3766 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
= 0;
3768 wxColour
*arg1
= (wxColour
*) 0 ;
3769 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3775 PyObject
* obj0
= 0 ;
3776 PyObject
* obj1
= 0 ;
3777 char * kwnames
[] = {
3778 (char *) "self",(char *) "flags", NULL
3781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3786 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3788 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3789 if (!SWIG_IsOK(ecode2
)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3792 arg2
= static_cast< long >(val2
);
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3813 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 PyObject
*resultobj
= 0;
3815 wxColour
*arg1
= (wxColour
*) 0 ;
3819 PyObject
*swig_obj
[1] ;
3821 if (!args
) SWIG_fail
;
3823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3824 if (!SWIG_IsOK(res1
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3827 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_From_long(static_cast< long >(result
));
3841 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
= 0;
3843 wxColour
*arg1
= (wxColour
*) 0 ;
3844 PyObject
*arg2
= (PyObject
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3850 char * kwnames
[] = {
3851 (char *) "self",(char *) "other", NULL
3854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3856 if (!SWIG_IsOK(res1
)) {
3857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3859 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3862 result
= (bool)wxColour___eq__(arg1
,arg2
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3874 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
= 0;
3876 wxColour
*arg1
= (wxColour
*) 0 ;
3877 PyObject
*arg2
= (PyObject
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3883 char * kwnames
[] = {
3884 (char *) "self",(char *) "other", NULL
3887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3889 if (!SWIG_IsOK(res1
)) {
3890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3892 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3895 result
= (bool)wxColour___ne__(arg1
,arg2
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3907 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3908 PyObject
*resultobj
= 0;
3909 wxColour
*arg1
= (wxColour
*) 0 ;
3910 PyObject
*result
= 0 ;
3913 PyObject
*swig_obj
[1] ;
3915 if (!args
) SWIG_fail
;
3917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3918 if (!SWIG_IsOK(res1
)) {
3919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3921 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (PyObject
*)wxColour_Get(arg1
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3935 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3936 PyObject
*resultobj
= 0;
3937 wxColour
*arg1
= (wxColour
*) 0 ;
3938 unsigned long result
;
3941 PyObject
*swig_obj
[1] ;
3943 if (!args
) SWIG_fail
;
3945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3946 if (!SWIG_IsOK(res1
)) {
3947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3949 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (unsigned long)wxColour_GetRGB(arg1
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3963 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3966 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3967 return SWIG_Py_Void();
3970 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3971 return SWIG_Python_InitShadowInstance(args
);
3974 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
= 0;
3977 unsigned char *arg2
= (unsigned char *) 0 ;
3978 unsigned char *arg3
= (unsigned char *) 0 ;
3979 unsigned char *arg4
= (unsigned char *) 0 ;
3980 wxPalette
*result
= 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3991 PyObject
* obj2
= 0 ;
3992 PyObject
* obj3
= 0 ;
3993 char * kwnames
[] = {
3994 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3999 if (!SWIG_IsOK(ecode1
)) {
4000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4002 arg1
= static_cast< int >(val1
);
4003 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4004 if (!SWIG_IsOK(res2
)) {
4005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4007 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4008 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4009 if (!SWIG_IsOK(res3
)) {
4010 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4012 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4013 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4014 if (!SWIG_IsOK(res4
)) {
4015 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4017 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4019 if (!wxPyCheckForApp()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4032 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 PyObject
*resultobj
= 0;
4034 wxPalette
*arg1
= (wxPalette
*) 0 ;
4037 PyObject
*swig_obj
[1] ;
4039 if (!args
) SWIG_fail
;
4041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4042 if (!SWIG_IsOK(res1
)) {
4043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4045 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_Py_Void();
4060 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
= 0;
4062 wxPalette
*arg1
= (wxPalette
*) 0 ;
4069 unsigned char val2
;
4071 unsigned char val3
;
4073 unsigned char val4
;
4075 PyObject
* obj0
= 0 ;
4076 PyObject
* obj1
= 0 ;
4077 PyObject
* obj2
= 0 ;
4078 PyObject
* obj3
= 0 ;
4079 char * kwnames
[] = {
4080 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4085 if (!SWIG_IsOK(res1
)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4088 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4089 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4090 if (!SWIG_IsOK(ecode2
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4093 arg2
= static_cast< byte
>(val2
);
4094 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4095 if (!SWIG_IsOK(ecode3
)) {
4096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4098 arg3
= static_cast< byte
>(val3
);
4099 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4100 if (!SWIG_IsOK(ecode4
)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4103 arg4
= static_cast< byte
>(val4
);
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= SWIG_From_int(static_cast< int >(result
));
4117 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
= 0;
4119 wxPalette
*arg1
= (wxPalette
*) 0 ;
4121 byte
*arg3
= (byte
*) 0 ;
4122 byte
*arg4
= (byte
*) 0 ;
4123 byte
*arg5
= (byte
*) 0 ;
4130 int res3
= SWIG_TMPOBJ
;
4132 int res4
= SWIG_TMPOBJ
;
4134 int res5
= SWIG_TMPOBJ
;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4137 char * kwnames
[] = {
4138 (char *) "self",(char *) "pixel", NULL
4144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4146 if (!SWIG_IsOK(res1
)) {
4147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4149 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4151 if (!SWIG_IsOK(ecode2
)) {
4152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4154 arg2
= static_cast< int >(val2
);
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4164 if (SWIG_IsTmpObj(res3
)) {
4165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4167 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4170 if (SWIG_IsTmpObj(res4
)) {
4171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4173 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4176 if (SWIG_IsTmpObj(res5
)) {
4177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4179 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4188 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4189 PyObject
*resultobj
= 0;
4190 wxPalette
*arg1
= (wxPalette
*) 0 ;
4194 PyObject
*swig_obj
[1] ;
4196 if (!args
) SWIG_fail
;
4198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4199 if (!SWIG_IsOK(res1
)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4202 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_From_int(static_cast< int >(result
));
4216 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4217 PyObject
*resultobj
= 0;
4218 wxPalette
*arg1
= (wxPalette
*) 0 ;
4222 PyObject
*swig_obj
[1] ;
4224 if (!args
) SWIG_fail
;
4226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4227 if (!SWIG_IsOK(res1
)) {
4228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4230 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (bool)(arg1
)->Ok();
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4249 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4250 return SWIG_Py_Void();
4253 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4254 return SWIG_Python_InitShadowInstance(args
);
4257 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
= 0;
4259 wxColour
*arg1
= 0 ;
4260 int arg2
= (int) 1 ;
4261 int arg3
= (int) wxSOLID
;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj1
= 0 ;
4270 PyObject
* obj2
= 0 ;
4271 char * kwnames
[] = {
4272 (char *) "colour",(char *) "width",(char *) "style", NULL
4275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4278 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4282 if (!SWIG_IsOK(ecode2
)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4285 arg2
= static_cast< int >(val2
);
4288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4289 if (!SWIG_IsOK(ecode3
)) {
4290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4292 arg3
= static_cast< int >(val3
);
4295 if (!wxPyCheckForApp()) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4308 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxPen
*arg1
= (wxPen
*) 0 ;
4313 PyObject
*swig_obj
[1] ;
4315 if (!args
) SWIG_fail
;
4317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4318 if (!SWIG_IsOK(res1
)) {
4319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4321 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_Py_Void();
4336 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 PyObject
*resultobj
= 0;
4338 wxPen
*arg1
= (wxPen
*) 0 ;
4342 PyObject
*swig_obj
[1] ;
4344 if (!args
) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4350 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (int)(arg1
)->GetCap();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= SWIG_From_int(static_cast< int >(result
));
4364 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4365 PyObject
*resultobj
= 0;
4366 wxPen
*arg1
= (wxPen
*) 0 ;
4370 PyObject
*swig_obj
[1] ;
4372 if (!args
) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (arg1
)->GetColour();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4392 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4393 PyObject
*resultobj
= 0;
4394 wxPen
*arg1
= (wxPen
*) 0 ;
4398 PyObject
*swig_obj
[1] ;
4400 if (!args
) SWIG_fail
;
4402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4403 if (!SWIG_IsOK(res1
)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4406 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (int)(arg1
)->GetJoin();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_From_int(static_cast< int >(result
));
4420 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4421 PyObject
*resultobj
= 0;
4422 wxPen
*arg1
= (wxPen
*) 0 ;
4426 PyObject
*swig_obj
[1] ;
4428 if (!args
) SWIG_fail
;
4430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4431 if (!SWIG_IsOK(res1
)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4434 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (int)(arg1
)->GetStyle();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_From_int(static_cast< int >(result
));
4448 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4449 PyObject
*resultobj
= 0;
4450 wxPen
*arg1
= (wxPen
*) 0 ;
4454 PyObject
*swig_obj
[1] ;
4456 if (!args
) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4462 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (int)(arg1
)->GetWidth();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_From_int(static_cast< int >(result
));
4476 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4477 PyObject
*resultobj
= 0;
4478 wxPen
*arg1
= (wxPen
*) 0 ;
4482 PyObject
*swig_obj
[1] ;
4484 if (!args
) SWIG_fail
;
4486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4487 if (!SWIG_IsOK(res1
)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4490 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (bool)(arg1
)->Ok();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4506 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
= 0;
4508 wxPen
*arg1
= (wxPen
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4516 char * kwnames
[] = {
4517 (char *) "self",(char *) "cap_style", NULL
4520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4522 if (!SWIG_IsOK(res1
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4525 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4527 if (!SWIG_IsOK(ecode2
)) {
4528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4530 arg2
= static_cast< int >(val2
);
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 (arg1
)->SetCap(arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= SWIG_Py_Void();
4544 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
= 0;
4546 wxPen
*arg1
= (wxPen
*) 0 ;
4547 wxColour
*arg2
= 0 ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4553 char * kwnames
[] = {
4554 (char *) "self",(char *) "colour", NULL
4557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4559 if (!SWIG_IsOK(res1
)) {
4560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4562 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 (arg1
)->SetColour(*arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= SWIG_Py_Void();
4580 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxPen
*arg1
= (wxPen
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4590 char * kwnames
[] = {
4591 (char *) "self",(char *) "join_style", NULL
4594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4596 if (!SWIG_IsOK(res1
)) {
4597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4599 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4601 if (!SWIG_IsOK(ecode2
)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4604 arg2
= static_cast< int >(val2
);
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 (arg1
)->SetJoin(arg2
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_Py_Void();
4618 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
= 0;
4620 wxPen
*arg1
= (wxPen
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4628 char * kwnames
[] = {
4629 (char *) "self",(char *) "style", NULL
4632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4634 if (!SWIG_IsOK(res1
)) {
4635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4637 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4639 if (!SWIG_IsOK(ecode2
)) {
4640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4642 arg2
= static_cast< int >(val2
);
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 (arg1
)->SetStyle(arg2
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_Py_Void();
4656 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
= 0;
4658 wxPen
*arg1
= (wxPen
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 char * kwnames
[] = {
4667 (char *) "self",(char *) "width", NULL
4670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4672 if (!SWIG_IsOK(res1
)) {
4673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4675 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4677 if (!SWIG_IsOK(ecode2
)) {
4678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4680 arg2
= static_cast< int >(val2
);
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 (arg1
)->SetWidth(arg2
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= SWIG_Py_Void();
4694 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
= 0;
4696 wxPen
*arg1
= (wxPen
*) 0 ;
4698 wxDash
*arg3
= (wxDash
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4703 char * kwnames
[] = {
4704 (char *) "self",(char *) "dashes", NULL
4707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4709 if (!SWIG_IsOK(res1
)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4712 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4714 arg2
= PyList_Size(obj1
);
4715 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4716 if (arg3
== NULL
) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 (arg1
)->SetDashes(arg2
,arg3
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_Py_Void();
4726 if (arg3
) delete [] arg3
;
4731 if (arg3
) delete [] arg3
;
4737 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4738 PyObject
*resultobj
= 0;
4739 wxPen
*arg1
= (wxPen
*) 0 ;
4740 PyObject
*result
= 0 ;
4743 PyObject
*swig_obj
[1] ;
4745 if (!args
) SWIG_fail
;
4747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4748 if (!SWIG_IsOK(res1
)) {
4749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4751 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4765 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
= 0;
4767 wxPen
*arg1
= (wxPen
*) 0 ;
4768 PyObject
*arg2
= (PyObject
*) 0 ;
4769 PyObject
*arg3
= (PyObject
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 char * kwnames
[] = {
4776 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4784 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxPen__SetDashes(arg1
,arg2
,arg3
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_Py_Void();
4800 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxPen
*arg1
= (wxPen
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4814 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_From_int(static_cast< int >(result
));
4828 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
= 0;
4830 wxPen
*arg1
= (wxPen
*) 0 ;
4831 wxPen
*arg2
= (wxPen
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4839 char * kwnames
[] = {
4840 (char *) "self",(char *) "other", NULL
4843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4848 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4850 if (!SWIG_IsOK(res2
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4853 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4869 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
= 0;
4871 wxPen
*arg1
= (wxPen
*) 0 ;
4872 wxPen
*arg2
= (wxPen
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4880 char * kwnames
[] = {
4881 (char *) "self",(char *) "other", NULL
4884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4889 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4891 if (!SWIG_IsOK(res2
)) {
4892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4894 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4910 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4913 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4914 return SWIG_Py_Void();
4917 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4918 return SWIG_Python_InitShadowInstance(args
);
4921 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
= 0;
4923 wxColour
*arg1
= 0 ;
4924 int arg2
= (int) wxSOLID
;
4925 wxBrush
*result
= 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4931 char * kwnames
[] = {
4932 (char *) "colour",(char *) "style", NULL
4935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4938 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4942 if (!SWIG_IsOK(ecode2
)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4945 arg2
= static_cast< int >(val2
);
4948 if (!wxPyCheckForApp()) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4961 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
= 0;
4963 wxBitmap
*arg1
= 0 ;
4964 wxBrush
*result
= 0 ;
4967 PyObject
* obj0
= 0 ;
4968 char * kwnames
[] = {
4969 (char *) "stippleBitmap", NULL
4972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4973 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4974 if (!SWIG_IsOK(res1
)) {
4975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4980 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4982 if (!wxPyCheckForApp()) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4995 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxBrush
*arg1
= (wxBrush
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5008 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_Py_Void();
5023 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
= 0;
5025 wxBrush
*arg1
= (wxBrush
*) 0 ;
5026 wxColour
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "col", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5041 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 (arg1
)->SetColour((wxColour
const &)*arg2
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= SWIG_Py_Void();
5059 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
= 0;
5061 wxBrush
*arg1
= (wxBrush
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 char * kwnames
[] = {
5070 (char *) "self",(char *) "style", NULL
5073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5078 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5080 if (!SWIG_IsOK(ecode2
)) {
5081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5083 arg2
= static_cast< int >(val2
);
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetStyle(arg2
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_Py_Void();
5097 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
= 0;
5099 wxBrush
*arg1
= (wxBrush
*) 0 ;
5100 wxBitmap
*arg2
= 0 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5107 char * kwnames
[] = {
5108 (char *) "self",(char *) "stipple", NULL
5111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5116 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5118 if (!SWIG_IsOK(res2
)) {
5119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5124 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_Py_Void();
5138 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5139 PyObject
*resultobj
= 0;
5140 wxBrush
*arg1
= (wxBrush
*) 0 ;
5144 PyObject
*swig_obj
[1] ;
5146 if (!args
) SWIG_fail
;
5148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5149 if (!SWIG_IsOK(res1
)) {
5150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5152 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= ((wxBrush
const *)arg1
)->GetColour();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5166 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxBrush
*arg1
= (wxBrush
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5180 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_From_int(static_cast< int >(result
));
5194 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5195 PyObject
*resultobj
= 0;
5196 wxBrush
*arg1
= (wxBrush
*) 0 ;
5197 wxBitmap
*result
= 0 ;
5200 PyObject
*swig_obj
[1] ;
5202 if (!args
) SWIG_fail
;
5204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5205 if (!SWIG_IsOK(res1
)) {
5206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5208 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5222 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5223 PyObject
*resultobj
= 0;
5224 wxBrush
*arg1
= (wxBrush
*) 0 ;
5228 PyObject
*swig_obj
[1] ;
5230 if (!args
) SWIG_fail
;
5232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5233 if (!SWIG_IsOK(res1
)) {
5234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5236 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5252 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5253 PyObject
*resultobj
= 0;
5254 wxBrush
*arg1
= (wxBrush
*) 0 ;
5258 PyObject
*swig_obj
[1] ;
5260 if (!args
) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5266 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (bool)(arg1
)->Ok();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5282 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5285 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5286 return SWIG_Py_Void();
5289 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5290 return SWIG_Python_InitShadowInstance(args
);
5293 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= 0;
5295 wxString
*arg1
= 0 ;
5296 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5297 wxBitmap
*result
= 0 ;
5298 bool temp1
= false ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5303 char * kwnames
[] = {
5304 (char *) "name",(char *) "type", NULL
5307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5309 arg1
= wxString_in_helper(obj0
);
5310 if (arg1
== NULL
) SWIG_fail
;
5314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5315 if (!SWIG_IsOK(ecode2
)) {
5316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5318 arg2
= static_cast< wxBitmapType
>(val2
);
5321 if (!wxPyCheckForApp()) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5342 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5343 PyObject
*resultobj
= 0;
5344 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5347 PyObject
*swig_obj
[1] ;
5349 if (!args
) SWIG_fail
;
5351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5352 if (!SWIG_IsOK(res1
)) {
5353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5355 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_Py_Void();
5370 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
= 0;
5374 int arg3
= (int) -1 ;
5375 wxBitmap
*result
= 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5384 PyObject
* obj2
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "width",(char *) "height",(char *) "depth", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5391 if (!SWIG_IsOK(ecode1
)) {
5392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5394 arg1
= static_cast< int >(val1
);
5395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5396 if (!SWIG_IsOK(ecode2
)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5399 arg2
= static_cast< int >(val2
);
5401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5402 if (!SWIG_IsOK(ecode3
)) {
5403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5405 arg3
= static_cast< int >(val3
);
5408 if (!wxPyCheckForApp()) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5421 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5424 wxBitmap
*result
= 0 ;
5427 PyObject
* obj0
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "icon", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5433 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5434 if (!SWIG_IsOK(res1
)) {
5435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5440 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5442 if (!wxPyCheckForApp()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5455 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5458 int arg2
= (int) -1 ;
5459 wxBitmap
*result
= 0 ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5466 char * kwnames
[] = {
5467 (char *) "image",(char *) "depth", NULL
5470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5471 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5472 if (!SWIG_IsOK(res1
)) {
5473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5478 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5481 if (!SWIG_IsOK(ecode2
)) {
5482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5484 arg2
= static_cast< int >(val2
);
5487 if (!wxPyCheckForApp()) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5500 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
= 0;
5502 PyObject
*arg1
= (PyObject
*) 0 ;
5503 wxBitmap
*result
= 0 ;
5504 PyObject
* obj0
= 0 ;
5505 char * kwnames
[] = {
5506 (char *) "listOfStrings", NULL
5509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5512 if (!wxPyCheckForApp()) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5525 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
= 0;
5527 PyObject
*arg1
= (PyObject
*) 0 ;
5530 int arg4
= (int) 1 ;
5531 wxBitmap
*result
= 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5540 PyObject
* obj2
= 0 ;
5541 PyObject
* obj3
= 0 ;
5542 char * kwnames
[] = {
5543 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5549 if (!SWIG_IsOK(ecode2
)) {
5550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5552 arg2
= static_cast< int >(val2
);
5553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5554 if (!SWIG_IsOK(ecode3
)) {
5555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5557 arg3
= static_cast< int >(val3
);
5559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5560 if (!SWIG_IsOK(ecode4
)) {
5561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5563 arg4
= static_cast< int >(val4
);
5566 if (!wxPyCheckForApp()) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5579 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5580 PyObject
*resultobj
= 0;
5581 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5585 PyObject
*swig_obj
[1] ;
5587 if (!args
) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5593 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (bool)(arg1
)->Ok();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5610 PyObject
*resultobj
= 0;
5611 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5615 PyObject
*swig_obj
[1] ;
5617 if (!args
) SWIG_fail
;
5619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5620 if (!SWIG_IsOK(res1
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5623 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (int)(arg1
)->GetWidth();
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_From_int(static_cast< int >(result
));
5637 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5643 PyObject
*swig_obj
[1] ;
5645 if (!args
) SWIG_fail
;
5647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5648 if (!SWIG_IsOK(res1
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5651 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (int)(arg1
)->GetHeight();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_From_int(static_cast< int >(result
));
5665 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5666 PyObject
*resultobj
= 0;
5667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5671 PyObject
*swig_obj
[1] ;
5673 if (!args
) SWIG_fail
;
5675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5676 if (!SWIG_IsOK(res1
)) {
5677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5679 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= (int)(arg1
)->GetDepth();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_From_int(static_cast< int >(result
));
5693 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 PyObject
*resultobj
= 0;
5695 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5699 PyObject
*swig_obj
[1] ;
5701 if (!args
) SWIG_fail
;
5703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5704 if (!SWIG_IsOK(res1
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5707 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= wxBitmap_GetSize(arg1
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5721 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5722 PyObject
*resultobj
= 0;
5723 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5724 SwigValueWrapper
<wxImage
> result
;
5727 PyObject
*swig_obj
[1] ;
5729 if (!args
) SWIG_fail
;
5731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5732 if (!SWIG_IsOK(res1
)) {
5733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5735 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5749 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5750 PyObject
*resultobj
= 0;
5751 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5752 wxMask
*result
= 0 ;
5755 PyObject
*swig_obj
[1] ;
5757 if (!args
) SWIG_fail
;
5759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5760 if (!SWIG_IsOK(res1
)) {
5761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5763 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5777 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= 0;
5779 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5780 wxMask
*arg2
= (wxMask
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5786 char * kwnames
[] = {
5787 (char *) "self",(char *) "mask", NULL
5790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5792 if (!SWIG_IsOK(res1
)) {
5793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5795 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5796 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5797 if (!SWIG_IsOK(res2
)) {
5798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 (arg1
)->SetMask(arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_Py_Void();
5813 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
= 0;
5815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5816 wxColour
*arg2
= 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5822 char * kwnames
[] = {
5823 (char *) "self",(char *) "colour", NULL
5826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5828 if (!SWIG_IsOK(res1
)) {
5829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5834 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= SWIG_Py_Void();
5849 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= 0;
5851 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5853 SwigValueWrapper
<wxBitmap
> result
;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5859 char * kwnames
[] = {
5860 (char *) "self",(char *) "rect", NULL
5863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5868 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5871 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5886 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
= 0;
5888 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5889 wxString
*arg2
= 0 ;
5891 wxPalette
*arg4
= (wxPalette
*) NULL
;
5895 bool temp2
= false ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5902 PyObject
* obj2
= 0 ;
5903 PyObject
* obj3
= 0 ;
5904 char * kwnames
[] = {
5905 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5915 arg2
= wxString_in_helper(obj1
);
5916 if (arg2
== NULL
) SWIG_fail
;
5919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5920 if (!SWIG_IsOK(ecode3
)) {
5921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5923 arg3
= static_cast< wxBitmapType
>(val3
);
5925 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5926 if (!SWIG_IsOK(res4
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5929 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5954 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
= 0;
5956 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5957 wxString
*arg2
= 0 ;
5962 bool temp2
= false ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5967 PyObject
* obj2
= 0 ;
5968 char * kwnames
[] = {
5969 (char *) "self",(char *) "name",(char *) "type", NULL
5972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5977 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5979 arg2
= wxString_in_helper(obj1
);
5980 if (arg2
== NULL
) SWIG_fail
;
5983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5984 if (!SWIG_IsOK(ecode3
)) {
5985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5987 arg3
= static_cast< wxBitmapType
>(val3
);
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6012 PyObject
*resultobj
= 0;
6013 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6014 wxPalette
*result
= 0 ;
6017 PyObject
*swig_obj
[1] ;
6019 if (!args
) SWIG_fail
;
6021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6022 if (!SWIG_IsOK(res1
)) {
6023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6039 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
= 0;
6041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6049 PyObject
* obj1
= 0 ;
6050 char * kwnames
[] = {
6051 (char *) "self",(char *) "icon", NULL
6054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6056 if (!SWIG_IsOK(res1
)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6059 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6061 if (!SWIG_IsOK(res2
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6067 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
= 0;
6085 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6093 char * kwnames
[] = {
6094 (char *) "self",(char *) "height", NULL
6097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6099 if (!SWIG_IsOK(res1
)) {
6100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6102 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6104 if (!SWIG_IsOK(ecode2
)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6107 arg2
= static_cast< int >(val2
);
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 (arg1
)->SetHeight(arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= SWIG_Py_Void();
6121 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
= 0;
6123 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 char * kwnames
[] = {
6132 (char *) "self",(char *) "width", NULL
6135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6137 if (!SWIG_IsOK(res1
)) {
6138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6140 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6142 if (!SWIG_IsOK(ecode2
)) {
6143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6145 arg2
= static_cast< int >(val2
);
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->SetWidth(arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_Py_Void();
6159 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
= 0;
6161 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 char * kwnames
[] = {
6170 (char *) "self",(char *) "depth", NULL
6173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6175 if (!SWIG_IsOK(res1
)) {
6176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6178 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6180 if (!SWIG_IsOK(ecode2
)) {
6181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6183 arg2
= static_cast< int >(val2
);
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->SetDepth(arg2
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_Py_Void();
6197 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
= 0;
6199 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "self",(char *) "size", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_Py_Void();
6233 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= 0;
6235 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6236 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6244 char * kwnames
[] = {
6245 (char *) "self",(char *) "other", NULL
6248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6250 if (!SWIG_IsOK(res1
)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6253 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6255 if (!SWIG_IsOK(res2
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6258 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6274 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6285 char * kwnames
[] = {
6286 (char *) "self",(char *) "other", NULL
6289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6291 if (!SWIG_IsOK(res1
)) {
6292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6294 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res2
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6299 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6315 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6318 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6319 return SWIG_Py_Void();
6322 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6323 return SWIG_Python_InitShadowInstance(args
);
6326 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
= 0;
6328 wxBitmap
*arg1
= 0 ;
6329 wxColour
const &arg2_defvalue
= wxNullColour
;
6330 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6331 wxMask
*result
= 0 ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 char * kwnames
[] = {
6338 (char *) "bitmap",(char *) "colour", NULL
6341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6342 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6343 if (!SWIG_IsOK(res1
)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6349 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6353 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6357 if (!wxPyCheckForApp()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6370 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6371 PyObject
*resultobj
= 0;
6372 wxMask
*arg1
= (wxMask
*) 0 ;
6375 PyObject
*swig_obj
[1] ;
6377 if (!args
) SWIG_fail
;
6379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6380 if (!SWIG_IsOK(res1
)) {
6381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6383 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_Py_Void();
6398 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6401 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6402 return SWIG_Py_Void();
6405 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6406 return SWIG_Python_InitShadowInstance(args
);
6409 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
= 0;
6411 wxString
*arg1
= 0 ;
6413 int arg3
= (int) -1 ;
6414 int arg4
= (int) -1 ;
6415 wxIcon
*result
= 0 ;
6416 bool temp1
= false ;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6425 PyObject
* obj2
= 0 ;
6426 PyObject
* obj3
= 0 ;
6427 char * kwnames
[] = {
6428 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6433 arg1
= wxString_in_helper(obj0
);
6434 if (arg1
== NULL
) SWIG_fail
;
6437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6438 if (!SWIG_IsOK(ecode2
)) {
6439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6441 arg2
= static_cast< wxBitmapType
>(val2
);
6443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6444 if (!SWIG_IsOK(ecode3
)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6447 arg3
= static_cast< int >(val3
);
6450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6451 if (!SWIG_IsOK(ecode4
)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6454 arg4
= static_cast< int >(val4
);
6457 if (!wxPyCheckForApp()) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6478 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6479 PyObject
*resultobj
= 0;
6480 wxIcon
*arg1
= (wxIcon
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6491 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= SWIG_Py_Void();
6506 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6507 PyObject
*resultobj
= 0;
6508 wxIcon
*result
= 0 ;
6510 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6512 if (!wxPyCheckForApp()) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 result
= (wxIcon
*)new wxIcon();
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6525 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
= 0;
6527 wxIconLocation
*arg1
= 0 ;
6528 wxIcon
*result
= 0 ;
6531 PyObject
* obj0
= 0 ;
6532 char * kwnames
[] = {
6533 (char *) "loc", NULL
6536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6544 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6546 if (!wxPyCheckForApp()) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6559 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
= 0;
6561 wxBitmap
*arg1
= 0 ;
6562 wxIcon
*result
= 0 ;
6565 PyObject
* obj0
= 0 ;
6566 char * kwnames
[] = {
6567 (char *) "bmp", NULL
6570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6578 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6580 if (!wxPyCheckForApp()) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6593 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
= 0;
6595 PyObject
*arg1
= (PyObject
*) 0 ;
6596 wxIcon
*result
= 0 ;
6597 PyObject
* obj0
= 0 ;
6598 char * kwnames
[] = {
6599 (char *) "listOfStrings", NULL
6602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6605 if (!wxPyCheckForApp()) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (wxIcon
*)new_wxIcon(arg1
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6618 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
= 0;
6620 wxIcon
*arg1
= (wxIcon
*) 0 ;
6621 wxString
*arg2
= 0 ;
6626 bool temp2
= false ;
6629 PyObject
* obj0
= 0 ;
6630 PyObject
* obj1
= 0 ;
6631 PyObject
* obj2
= 0 ;
6632 char * kwnames
[] = {
6633 (char *) "self",(char *) "name",(char *) "type", NULL
6636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6638 if (!SWIG_IsOK(res1
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6641 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6643 arg2
= wxString_in_helper(obj1
);
6644 if (arg2
== NULL
) SWIG_fail
;
6647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6648 if (!SWIG_IsOK(ecode3
)) {
6649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6651 arg3
= static_cast< wxBitmapType
>(val3
);
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxIcon
*arg1
= (wxIcon
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6689 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)(arg1
)->Ok();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxIcon
*arg1
= (wxIcon
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6719 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (int)(arg1
)->GetWidth();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_From_int(static_cast< int >(result
));
6733 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6734 PyObject
*resultobj
= 0;
6735 wxIcon
*arg1
= (wxIcon
*) 0 ;
6739 PyObject
*swig_obj
[1] ;
6741 if (!args
) SWIG_fail
;
6743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6744 if (!SWIG_IsOK(res1
)) {
6745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6747 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (int)(arg1
)->GetHeight();
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= SWIG_From_int(static_cast< int >(result
));
6761 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6762 PyObject
*resultobj
= 0;
6763 wxIcon
*arg1
= (wxIcon
*) 0 ;
6767 PyObject
*swig_obj
[1] ;
6769 if (!args
) SWIG_fail
;
6771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6772 if (!SWIG_IsOK(res1
)) {
6773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6775 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (int)(arg1
)->GetDepth();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_From_int(static_cast< int >(result
));
6789 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
= 0;
6791 wxIcon
*arg1
= (wxIcon
*) 0 ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6799 char * kwnames
[] = {
6800 (char *) "self",(char *) "w", NULL
6803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6805 if (!SWIG_IsOK(res1
)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6808 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6810 if (!SWIG_IsOK(ecode2
)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6813 arg2
= static_cast< int >(val2
);
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetWidth(arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_Py_Void();
6827 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
= 0;
6829 wxIcon
*arg1
= (wxIcon
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 char * kwnames
[] = {
6838 (char *) "self",(char *) "h", NULL
6841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6843 if (!SWIG_IsOK(res1
)) {
6844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6846 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6848 if (!SWIG_IsOK(ecode2
)) {
6849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6851 arg2
= static_cast< int >(val2
);
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 (arg1
)->SetHeight(arg2
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_Py_Void();
6865 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
= 0;
6867 wxIcon
*arg1
= (wxIcon
*) 0 ;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6875 char * kwnames
[] = {
6876 (char *) "self",(char *) "d", NULL
6879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6881 if (!SWIG_IsOK(res1
)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6884 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6886 if (!SWIG_IsOK(ecode2
)) {
6887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6889 arg2
= static_cast< int >(val2
);
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 (arg1
)->SetDepth(arg2
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_Py_Void();
6903 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
= 0;
6905 wxIcon
*arg1
= (wxIcon
*) 0 ;
6906 wxBitmap
*arg2
= 0 ;
6911 PyObject
* obj0
= 0 ;
6912 PyObject
* obj1
= 0 ;
6913 char * kwnames
[] = {
6914 (char *) "self",(char *) "bmp", NULL
6917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6919 if (!SWIG_IsOK(res1
)) {
6920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6922 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6924 if (!SWIG_IsOK(res2
)) {
6925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6930 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_Py_Void();
6944 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6947 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6948 return SWIG_Py_Void();
6951 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6952 return SWIG_Python_InitShadowInstance(args
);
6955 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
= 0;
6957 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6958 int arg2
= (int) 0 ;
6959 wxIconLocation
*result
= 0 ;
6960 bool temp1
= false ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 char * kwnames
[] = {
6966 (char *) "filename",(char *) "num", NULL
6969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6972 arg1
= wxString_in_helper(obj0
);
6973 if (arg1
== NULL
) SWIG_fail
;
6978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6979 if (!SWIG_IsOK(ecode2
)) {
6980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6982 arg2
= static_cast< int >(val2
);
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7005 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7006 PyObject
*resultobj
= 0;
7007 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7010 PyObject
*swig_obj
[1] ;
7012 if (!args
) SWIG_fail
;
7014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7015 if (!SWIG_IsOK(res1
)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7018 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_Py_Void();
7033 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7034 PyObject
*resultobj
= 0;
7035 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7039 PyObject
*swig_obj
[1] ;
7041 if (!args
) SWIG_fail
;
7043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7044 if (!SWIG_IsOK(res1
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7047 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7063 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= 0;
7065 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7066 wxString
*arg2
= 0 ;
7069 bool temp2
= false ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7072 char * kwnames
[] = {
7073 (char *) "self",(char *) "filename", NULL
7076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7078 if (!SWIG_IsOK(res1
)) {
7079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7081 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7083 arg2
= wxString_in_helper(obj1
);
7084 if (arg2
== NULL
) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 (arg1
)->SetFileName((wxString
const &)*arg2
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= SWIG_Py_Void();
7108 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7109 PyObject
*resultobj
= 0;
7110 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7111 wxString
*result
= 0 ;
7114 PyObject
*swig_obj
[1] ;
7116 if (!args
) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7122 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7127 result
= (wxString
*) &_result_ref
;
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7145 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= 0;
7147 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 char * kwnames
[] = {
7156 (char *) "self",(char *) "num", NULL
7159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7164 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7166 if (!SWIG_IsOK(ecode2
)) {
7167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7169 arg2
= static_cast< int >(val2
);
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 wxIconLocation_SetIndex(arg1
,arg2
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_Py_Void();
7183 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7184 PyObject
*resultobj
= 0;
7185 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7189 PyObject
*swig_obj
[1] ;
7191 if (!args
) SWIG_fail
;
7193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7194 if (!SWIG_IsOK(res1
)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7197 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (int)wxIconLocation_GetIndex(arg1
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_From_int(static_cast< int >(result
));
7211 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7214 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7215 return SWIG_Py_Void();
7218 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7219 return SWIG_Python_InitShadowInstance(args
);
7222 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7223 PyObject
*resultobj
= 0;
7224 wxIconBundle
*result
= 0 ;
7226 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (wxIconBundle
*)new wxIconBundle();
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7240 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
= 0;
7242 wxString
*arg1
= 0 ;
7244 wxIconBundle
*result
= 0 ;
7245 bool temp1
= false ;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7250 char * kwnames
[] = {
7251 (char *) "file",(char *) "type", NULL
7254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7256 arg1
= wxString_in_helper(obj0
);
7257 if (arg1
== NULL
) SWIG_fail
;
7260 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7261 if (!SWIG_IsOK(ecode2
)) {
7262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7264 arg2
= static_cast< long >(val2
);
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7286 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
= 0;
7289 wxIconBundle
*result
= 0 ;
7292 PyObject
* obj0
= 0 ;
7293 char * kwnames
[] = {
7294 (char *) "icon", NULL
7297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7298 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7299 if (!SWIG_IsOK(res1
)) {
7300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7305 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7319 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7320 PyObject
*resultobj
= 0;
7321 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7324 PyObject
*swig_obj
[1] ;
7326 if (!args
) SWIG_fail
;
7328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7329 if (!SWIG_IsOK(res1
)) {
7330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7332 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_Py_Void();
7347 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
= 0;
7349 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7356 PyObject
* obj1
= 0 ;
7357 char * kwnames
[] = {
7358 (char *) "self",(char *) "icon", NULL
7361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7363 if (!SWIG_IsOK(res1
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7366 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7368 if (!SWIG_IsOK(res2
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7374 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_Py_Void();
7388 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
= 0;
7390 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7391 wxString
*arg2
= 0 ;
7395 bool temp2
= false ;
7398 PyObject
* obj0
= 0 ;
7399 PyObject
* obj1
= 0 ;
7400 PyObject
* obj2
= 0 ;
7401 char * kwnames
[] = {
7402 (char *) "self",(char *) "file",(char *) "type", NULL
7405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7407 if (!SWIG_IsOK(res1
)) {
7408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7410 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7412 arg2
= wxString_in_helper(obj1
);
7413 if (arg2
== NULL
) SWIG_fail
;
7416 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7417 if (!SWIG_IsOK(ecode3
)) {
7418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7420 arg3
= static_cast< long >(val3
);
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_Py_Void();
7442 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7446 wxIcon
*result
= 0 ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7452 char * kwnames
[] = {
7453 (char *) "self",(char *) "size", NULL
7456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7458 if (!SWIG_IsOK(res1
)) {
7459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7461 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7470 result
= (wxIcon
*) &_result_ref
;
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 wxIcon
* resultptr
= new wxIcon(*result
);
7477 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7485 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7488 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7489 return SWIG_Py_Void();
7492 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7493 return SWIG_Python_InitShadowInstance(args
);
7496 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
= 0;
7498 wxString
*arg1
= 0 ;
7500 int arg3
= (int) 0 ;
7501 int arg4
= (int) 0 ;
7502 wxCursor
*result
= 0 ;
7503 bool temp1
= false ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7512 PyObject
* obj2
= 0 ;
7513 PyObject
* obj3
= 0 ;
7514 char * kwnames
[] = {
7515 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7520 arg1
= wxString_in_helper(obj0
);
7521 if (arg1
== NULL
) SWIG_fail
;
7524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7525 if (!SWIG_IsOK(ecode2
)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7528 arg2
= static_cast< long >(val2
);
7530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7531 if (!SWIG_IsOK(ecode3
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7534 arg3
= static_cast< int >(val3
);
7537 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7538 if (!SWIG_IsOK(ecode4
)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7541 arg4
= static_cast< int >(val4
);
7544 if (!wxPyCheckForApp()) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7565 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7566 PyObject
*resultobj
= 0;
7567 wxCursor
*arg1
= (wxCursor
*) 0 ;
7570 PyObject
*swig_obj
[1] ;
7572 if (!args
) SWIG_fail
;
7574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7575 if (!SWIG_IsOK(res1
)) {
7576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7578 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_Py_Void();
7593 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
= 0;
7596 wxCursor
*result
= 0 ;
7599 PyObject
* obj0
= 0 ;
7600 char * kwnames
[] = {
7604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7605 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7606 if (!SWIG_IsOK(ecode1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7609 arg1
= static_cast< int >(val1
);
7611 if (!wxPyCheckForApp()) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (wxCursor
*)new wxCursor(arg1
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7624 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
= 0;
7627 wxCursor
*result
= 0 ;
7630 PyObject
* obj0
= 0 ;
7631 char * kwnames
[] = {
7632 (char *) "image", NULL
7635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7643 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7645 if (!wxPyCheckForApp()) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7658 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7659 PyObject
*resultobj
= 0;
7660 wxCursor
*arg1
= (wxCursor
*) 0 ;
7664 PyObject
*swig_obj
[1] ;
7666 if (!args
) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7672 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (bool)(arg1
)->Ok();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7688 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7691 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7692 return SWIG_Py_Void();
7695 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7696 return SWIG_Python_InitShadowInstance(args
);
7699 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
= 0;
7701 int arg1
= (int) 0 ;
7702 int arg2
= (int) 0 ;
7703 int arg3
= (int) 0 ;
7704 int arg4
= (int) 0 ;
7705 wxRegion
*result
= 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7716 PyObject
* obj2
= 0 ;
7717 PyObject
* obj3
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7724 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7725 if (!SWIG_IsOK(ecode1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7728 arg1
= static_cast< int >(val1
);
7731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7732 if (!SWIG_IsOK(ecode2
)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7735 arg2
= static_cast< int >(val2
);
7738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7739 if (!SWIG_IsOK(ecode3
)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7742 arg3
= static_cast< int >(val3
);
7745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7746 if (!SWIG_IsOK(ecode4
)) {
7747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7749 arg4
= static_cast< int >(val4
);
7752 if (!wxPyCheckForApp()) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7765 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
= 0;
7767 wxBitmap
*arg1
= 0 ;
7768 wxRegion
*result
= 0 ;
7771 PyObject
* obj0
= 0 ;
7772 char * kwnames
[] = {
7773 (char *) "bmp", NULL
7776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7777 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7778 if (!SWIG_IsOK(res1
)) {
7779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7784 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7786 if (!wxPyCheckForApp()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7799 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
= 0;
7801 wxBitmap
*arg1
= 0 ;
7802 wxColour
*arg2
= 0 ;
7803 int arg3
= (int) 0 ;
7804 wxRegion
*result
= 0 ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 PyObject
* obj2
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7825 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7828 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7832 if (!SWIG_IsOK(ecode3
)) {
7833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7835 arg3
= static_cast< int >(val3
);
7838 if (!wxPyCheckForApp()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7851 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7854 wxPoint
*arg2
= (wxPoint
*) 0 ;
7855 int arg3
= (int) wxWINDING_RULE
;
7856 wxRegion
*result
= 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 char * kwnames
[] = {
7862 (char *) "points",(char *) "fillStyle", NULL
7865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7867 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7868 if (arg2
== NULL
) SWIG_fail
;
7871 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7872 if (!SWIG_IsOK(ecode3
)) {
7873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7875 arg3
= static_cast< int >(val3
);
7878 if (!wxPyCheckForApp()) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7886 if (arg2
) delete [] arg2
;
7891 if (arg2
) delete [] arg2
;
7897 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7898 PyObject
*resultobj
= 0;
7899 wxRegion
*arg1
= (wxRegion
*) 0 ;
7902 PyObject
*swig_obj
[1] ;
7904 if (!args
) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7910 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_Py_Void();
7925 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7926 PyObject
*resultobj
= 0;
7927 wxRegion
*arg1
= (wxRegion
*) 0 ;
7930 PyObject
*swig_obj
[1] ;
7932 if (!args
) SWIG_fail
;
7934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7935 if (!SWIG_IsOK(res1
)) {
7936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7938 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_Py_Void();
7952 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
= 0;
7954 wxRegion
*arg1
= (wxRegion
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 PyObject
* obj2
= 0 ;
7967 char * kwnames
[] = {
7968 (char *) "self",(char *) "x",(char *) "y", NULL
7971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7973 if (!SWIG_IsOK(res1
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7976 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7978 if (!SWIG_IsOK(ecode2
)) {
7979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7981 arg2
= static_cast< int >(val2
);
7982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7983 if (!SWIG_IsOK(ecode3
)) {
7984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7986 arg3
= static_cast< int >(val3
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8002 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
= 0;
8004 wxRegion
*arg1
= (wxRegion
*) 0 ;
8007 wxRegionContain result
;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8016 PyObject
* obj2
= 0 ;
8017 char * kwnames
[] = {
8018 (char *) "self",(char *) "x",(char *) "y", NULL
8021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8023 if (!SWIG_IsOK(res1
)) {
8024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8026 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8028 if (!SWIG_IsOK(ecode2
)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8031 arg2
= static_cast< int >(val2
);
8032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8033 if (!SWIG_IsOK(ecode3
)) {
8034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8036 arg3
= static_cast< int >(val3
);
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_From_int(static_cast< int >(result
));
8050 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
= 0;
8052 wxRegion
*arg1
= (wxRegion
*) 0 ;
8054 wxRegionContain result
;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 char * kwnames
[] = {
8061 (char *) "self",(char *) "pt", NULL
8064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8066 if (!SWIG_IsOK(res1
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8069 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_From_int(static_cast< int >(result
));
8087 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
= 0;
8089 wxRegion
*arg1
= (wxRegion
*) 0 ;
8091 wxRegionContain result
;
8095 PyObject
* obj0
= 0 ;
8096 PyObject
* obj1
= 0 ;
8097 char * kwnames
[] = {
8098 (char *) "self",(char *) "rect", NULL
8101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8103 if (!SWIG_IsOK(res1
)) {
8104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8106 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8109 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_From_int(static_cast< int >(result
));
8124 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
= 0;
8126 wxRegion
*arg1
= (wxRegion
*) 0 ;
8131 wxRegionContain result
;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8145 PyObject
* obj3
= 0 ;
8146 PyObject
* obj4
= 0 ;
8147 char * kwnames
[] = {
8148 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8153 if (!SWIG_IsOK(res1
)) {
8154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8156 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8158 if (!SWIG_IsOK(ecode2
)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8161 arg2
= static_cast< int >(val2
);
8162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8163 if (!SWIG_IsOK(ecode3
)) {
8164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8166 arg3
= static_cast< int >(val3
);
8167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8168 if (!SWIG_IsOK(ecode4
)) {
8169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8171 arg4
= static_cast< int >(val4
);
8172 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8173 if (!SWIG_IsOK(ecode5
)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8176 arg5
= static_cast< int >(val5
);
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_From_int(static_cast< int >(result
));
8190 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 PyObject
*resultobj
= 0;
8192 wxRegion
*arg1
= (wxRegion
*) 0 ;
8196 PyObject
*swig_obj
[1] ;
8198 if (!args
) SWIG_fail
;
8200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8201 if (!SWIG_IsOK(res1
)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8204 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (arg1
)->GetBox();
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8218 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
= 0;
8220 wxRegion
*arg1
= (wxRegion
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8238 PyObject
* obj2
= 0 ;
8239 PyObject
* obj3
= 0 ;
8240 PyObject
* obj4
= 0 ;
8241 char * kwnames
[] = {
8242 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8247 if (!SWIG_IsOK(res1
)) {
8248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8250 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8252 if (!SWIG_IsOK(ecode2
)) {
8253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8255 arg2
= static_cast< int >(val2
);
8256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8257 if (!SWIG_IsOK(ecode3
)) {
8258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8260 arg3
= static_cast< int >(val3
);
8261 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8262 if (!SWIG_IsOK(ecode4
)) {
8263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8265 arg4
= static_cast< int >(val4
);
8266 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8267 if (!SWIG_IsOK(ecode5
)) {
8268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8270 arg5
= static_cast< int >(val5
);
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8286 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
= 0;
8288 wxRegion
*arg1
= (wxRegion
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "self",(char *) "rect", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8305 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8325 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
= 0;
8327 wxRegion
*arg1
= (wxRegion
*) 0 ;
8328 wxRegion
*arg2
= 0 ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8336 char * kwnames
[] = {
8337 (char *) "self",(char *) "region", NULL
8340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8342 if (!SWIG_IsOK(res1
)) {
8343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8345 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8347 if (!SWIG_IsOK(res2
)) {
8348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8353 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8369 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxRegion
*arg1
= (wxRegion
*) 0 ;
8375 PyObject
*swig_obj
[1] ;
8377 if (!args
) SWIG_fail
;
8379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8380 if (!SWIG_IsOK(res1
)) {
8381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8383 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)(arg1
)->IsEmpty();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8399 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
= 0;
8401 wxRegion
*arg1
= (wxRegion
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8420 PyObject
* obj3
= 0 ;
8421 PyObject
* obj4
= 0 ;
8422 char * kwnames
[] = {
8423 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8431 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8433 if (!SWIG_IsOK(ecode2
)) {
8434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8436 arg2
= static_cast< int >(val2
);
8437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8438 if (!SWIG_IsOK(ecode3
)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8441 arg3
= static_cast< int >(val3
);
8442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8443 if (!SWIG_IsOK(ecode4
)) {
8444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8446 arg4
= static_cast< int >(val4
);
8447 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8448 if (!SWIG_IsOK(ecode5
)) {
8449 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8451 arg5
= static_cast< int >(val5
);
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8467 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
= 0;
8469 wxRegion
*arg1
= (wxRegion
*) 0 ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8477 char * kwnames
[] = {
8478 (char *) "self",(char *) "rect", NULL
8481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8483 if (!SWIG_IsOK(res1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8486 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8489 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8506 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
= 0;
8508 wxRegion
*arg1
= (wxRegion
*) 0 ;
8509 wxRegion
*arg2
= 0 ;
8515 PyObject
* obj0
= 0 ;
8516 PyObject
* obj1
= 0 ;
8517 char * kwnames
[] = {
8518 (char *) "self",(char *) "region", NULL
8521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8523 if (!SWIG_IsOK(res1
)) {
8524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8526 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8528 if (!SWIG_IsOK(res2
)) {
8529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8534 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8550 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
= 0;
8552 wxRegion
*arg1
= (wxRegion
*) 0 ;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 PyObject
* obj2
= 0 ;
8571 PyObject
* obj3
= 0 ;
8572 PyObject
* obj4
= 0 ;
8573 char * kwnames
[] = {
8574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8582 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8584 if (!SWIG_IsOK(ecode2
)) {
8585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8587 arg2
= static_cast< int >(val2
);
8588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8589 if (!SWIG_IsOK(ecode3
)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8592 arg3
= static_cast< int >(val3
);
8593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8594 if (!SWIG_IsOK(ecode4
)) {
8595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8597 arg4
= static_cast< int >(val4
);
8598 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8599 if (!SWIG_IsOK(ecode5
)) {
8600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8602 arg5
= static_cast< int >(val5
);
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
= 0;
8620 wxRegion
*arg1
= (wxRegion
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 char * kwnames
[] = {
8629 (char *) "self",(char *) "rect", NULL
8632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8637 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8640 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8657 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
= 0;
8659 wxRegion
*arg1
= (wxRegion
*) 0 ;
8660 wxRegion
*arg2
= 0 ;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8668 char * kwnames
[] = {
8669 (char *) "self",(char *) "region", NULL
8672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8677 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8679 if (!SWIG_IsOK(res2
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8685 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8701 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
= 0;
8703 wxRegion
*arg1
= (wxRegion
*) 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8722 PyObject
* obj3
= 0 ;
8723 PyObject
* obj4
= 0 ;
8724 char * kwnames
[] = {
8725 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8730 if (!SWIG_IsOK(res1
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8733 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8735 if (!SWIG_IsOK(ecode2
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8738 arg2
= static_cast< int >(val2
);
8739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8743 arg3
= static_cast< int >(val3
);
8744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8745 if (!SWIG_IsOK(ecode4
)) {
8746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8748 arg4
= static_cast< int >(val4
);
8749 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8750 if (!SWIG_IsOK(ecode5
)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8753 arg5
= static_cast< int >(val5
);
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8769 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
= 0;
8771 wxRegion
*arg1
= (wxRegion
*) 0 ;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 char * kwnames
[] = {
8780 (char *) "self",(char *) "rect", NULL
8783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8785 if (!SWIG_IsOK(res1
)) {
8786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8791 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8808 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= 0;
8810 wxRegion
*arg1
= (wxRegion
*) 0 ;
8811 wxRegion
*arg2
= 0 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 char * kwnames
[] = {
8820 (char *) "self",(char *) "region", NULL
8823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8825 if (!SWIG_IsOK(res1
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8828 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8830 if (!SWIG_IsOK(res2
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8836 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8852 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8853 PyObject
*resultobj
= 0;
8854 wxRegion
*arg1
= (wxRegion
*) 0 ;
8855 SwigValueWrapper
<wxBitmap
> result
;
8858 PyObject
*swig_obj
[1] ;
8860 if (!args
) SWIG_fail
;
8862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8863 if (!SWIG_IsOK(res1
)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8866 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (arg1
)->ConvertToBitmap();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8880 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxRegion
*arg1
= (wxRegion
*) 0 ;
8883 wxBitmap
*arg2
= 0 ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "self",(char *) "bmp", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8902 if (!SWIG_IsOK(res2
)) {
8903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8908 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8924 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
= 0;
8926 wxRegion
*arg1
= (wxRegion
*) 0 ;
8927 wxBitmap
*arg2
= 0 ;
8928 wxColour
*arg3
= 0 ;
8929 int arg4
= (int) 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 PyObject
* obj2
= 0 ;
8941 PyObject
* obj3
= 0 ;
8942 char * kwnames
[] = {
8943 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8951 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8953 if (!SWIG_IsOK(res2
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8959 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8962 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8966 if (!SWIG_IsOK(ecode4
)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8969 arg4
= static_cast< int >(val4
);
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8986 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8989 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8990 return SWIG_Py_Void();
8993 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 return SWIG_Python_InitShadowInstance(args
);
8997 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxRegion
*arg1
= 0 ;
9000 wxRegionIterator
*result
= 0 ;
9003 PyObject
* obj0
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "region", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9016 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9018 if (!wxPyCheckForApp()) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9031 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 PyObject
*resultobj
= 0;
9033 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9036 PyObject
*swig_obj
[1] ;
9038 if (!args
) SWIG_fail
;
9040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9041 if (!SWIG_IsOK(res1
)) {
9042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9044 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_Py_Void();
9059 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 PyObject
*resultobj
= 0;
9061 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9065 PyObject
*swig_obj
[1] ;
9067 if (!args
) SWIG_fail
;
9069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9070 if (!SWIG_IsOK(res1
)) {
9071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9073 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (int)(arg1
)->GetX();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_From_int(static_cast< int >(result
));
9087 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9088 PyObject
*resultobj
= 0;
9089 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9093 PyObject
*swig_obj
[1] ;
9095 if (!args
) SWIG_fail
;
9097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9098 if (!SWIG_IsOK(res1
)) {
9099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9101 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (int)(arg1
)->GetY();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_From_int(static_cast< int >(result
));
9115 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9116 PyObject
*resultobj
= 0;
9117 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9121 PyObject
*swig_obj
[1] ;
9123 if (!args
) SWIG_fail
;
9125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9126 if (!SWIG_IsOK(res1
)) {
9127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9129 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (int)(arg1
)->GetW();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_From_int(static_cast< int >(result
));
9143 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9144 PyObject
*resultobj
= 0;
9145 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9149 PyObject
*swig_obj
[1] ;
9151 if (!args
) SWIG_fail
;
9153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9154 if (!SWIG_IsOK(res1
)) {
9155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9157 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (int)(arg1
)->GetWidth();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_From_int(static_cast< int >(result
));
9171 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9172 PyObject
*resultobj
= 0;
9173 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9177 PyObject
*swig_obj
[1] ;
9179 if (!args
) SWIG_fail
;
9181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9182 if (!SWIG_IsOK(res1
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9185 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (int)(arg1
)->GetH();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_From_int(static_cast< int >(result
));
9199 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9200 PyObject
*resultobj
= 0;
9201 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9205 PyObject
*swig_obj
[1] ;
9207 if (!args
) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9213 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (int)(arg1
)->GetHeight();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= SWIG_From_int(static_cast< int >(result
));
9227 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9228 PyObject
*resultobj
= 0;
9229 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9233 PyObject
*swig_obj
[1] ;
9235 if (!args
) SWIG_fail
;
9237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9238 if (!SWIG_IsOK(res1
)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9241 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (arg1
)->GetRect();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9255 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 PyObject
*resultobj
= 0;
9257 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9261 PyObject
*swig_obj
[1] ;
9263 if (!args
) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9269 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)(arg1
)->HaveRects();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9285 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9286 PyObject
*resultobj
= 0;
9287 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9290 PyObject
*swig_obj
[1] ;
9292 if (!args
) SWIG_fail
;
9294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9295 if (!SWIG_IsOK(res1
)) {
9296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9298 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_Py_Void();
9312 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9313 PyObject
*resultobj
= 0;
9314 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9325 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 wxRegionIterator_Next(arg1
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_Py_Void();
9339 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9345 PyObject
*swig_obj
[1] ;
9347 if (!args
) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9353 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9369 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9372 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9373 return SWIG_Py_Void();
9376 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9377 return SWIG_Python_InitShadowInstance(args
);
9380 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9381 PyObject
*resultobj
= 0;
9382 wxNativeFontInfo
*result
= 0 ;
9384 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9398 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9399 PyObject
*resultobj
= 0;
9400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9403 PyObject
*swig_obj
[1] ;
9405 if (!args
) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9411 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_Py_Void();
9426 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9427 PyObject
*resultobj
= 0;
9428 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9431 PyObject
*swig_obj
[1] ;
9433 if (!args
) SWIG_fail
;
9435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9436 if (!SWIG_IsOK(res1
)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9439 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_Py_Void();
9453 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "font", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9472 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9474 if (!SWIG_IsOK(res2
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9480 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_Py_Void();
9494 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9495 PyObject
*resultobj
= 0;
9496 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9500 PyObject
*swig_obj
[1] ;
9502 if (!args
) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9508 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_From_int(static_cast< int >(result
));
9522 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9523 PyObject
*resultobj
= 0;
9524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9528 PyObject
*swig_obj
[1] ;
9530 if (!args
) SWIG_fail
;
9532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9533 if (!SWIG_IsOK(res1
)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9536 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_From_int(static_cast< int >(result
));
9550 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9551 PyObject
*resultobj
= 0;
9552 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9553 wxFontWeight result
;
9556 PyObject
*swig_obj
[1] ;
9558 if (!args
) SWIG_fail
;
9560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9561 if (!SWIG_IsOK(res1
)) {
9562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9564 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_From_int(static_cast< int >(result
));
9578 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9579 PyObject
*resultobj
= 0;
9580 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9584 PyObject
*swig_obj
[1] ;
9586 if (!args
) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9592 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9608 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9609 PyObject
*resultobj
= 0;
9610 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9614 PyObject
*swig_obj
[1] ;
9616 if (!args
) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9622 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9642 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9643 PyObject
*resultobj
= 0;
9644 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9645 wxFontFamily result
;
9648 PyObject
*swig_obj
[1] ;
9650 if (!args
) SWIG_fail
;
9652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9653 if (!SWIG_IsOK(res1
)) {
9654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9656 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_From_int(static_cast< int >(result
));
9670 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9671 PyObject
*resultobj
= 0;
9672 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9673 wxFontEncoding result
;
9676 PyObject
*swig_obj
[1] ;
9678 if (!args
) SWIG_fail
;
9680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9681 if (!SWIG_IsOK(res1
)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9684 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_From_int(static_cast< int >(result
));
9698 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "pointsize", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9717 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9719 if (!SWIG_IsOK(ecode2
)) {
9720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9722 arg2
= static_cast< int >(val2
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetPointSize(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9736 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
= 0;
9738 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9745 PyObject
* obj1
= 0 ;
9746 char * kwnames
[] = {
9747 (char *) "self",(char *) "style", NULL
9750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9752 if (!SWIG_IsOK(res1
)) {
9753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9755 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9757 if (!SWIG_IsOK(ecode2
)) {
9758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9760 arg2
= static_cast< wxFontStyle
>(val2
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 (arg1
)->SetStyle(arg2
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_Py_Void();
9774 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 char * kwnames
[] = {
9785 (char *) "self",(char *) "weight", NULL
9788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9793 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9795 if (!SWIG_IsOK(ecode2
)) {
9796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9798 arg2
= static_cast< wxFontWeight
>(val2
);
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 (arg1
)->SetWeight(arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_Py_Void();
9812 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
= 0;
9814 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 char * kwnames
[] = {
9823 (char *) "self",(char *) "underlined", NULL
9826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9831 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9832 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9833 if (!SWIG_IsOK(ecode2
)) {
9834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9836 arg2
= static_cast< bool >(val2
);
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 (arg1
)->SetUnderlined(arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_Py_Void();
9850 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
= 0;
9852 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9859 char * kwnames
[] = {
9860 (char *) "self",(char *) "facename", NULL
9863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9865 if (!SWIG_IsOK(res1
)) {
9866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9868 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9870 wxString
* sptr
= wxString_in_helper(obj1
);
9871 if (sptr
== NULL
) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (bool)(arg1
)->SetFaceName(arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9890 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
= 0;
9892 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 char * kwnames
[] = {
9901 (char *) "self",(char *) "family", NULL
9904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9906 if (!SWIG_IsOK(res1
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9909 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9911 if (!SWIG_IsOK(ecode2
)) {
9912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9914 arg2
= static_cast< wxFontFamily
>(val2
);
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 (arg1
)->SetFamily(arg2
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_Py_Void();
9928 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
= 0;
9930 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9931 wxFontEncoding arg2
;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj1
= 0 ;
9938 char * kwnames
[] = {
9939 (char *) "self",(char *) "encoding", NULL
9942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9947 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9949 if (!SWIG_IsOK(ecode2
)) {
9950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9952 arg2
= static_cast< wxFontEncoding
>(val2
);
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 (arg1
)->SetEncoding(arg2
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_Py_Void();
9966 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
= 0;
9968 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9969 wxString
*arg2
= 0 ;
9973 bool temp2
= false ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9976 char * kwnames
[] = {
9977 (char *) "self",(char *) "s", NULL
9980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9982 if (!SWIG_IsOK(res1
)) {
9983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9985 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9987 arg2
= wxString_in_helper(obj1
);
9988 if (arg2
== NULL
) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10014 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10015 PyObject
*resultobj
= 0;
10016 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10020 PyObject
*swig_obj
[1] ;
10022 if (!args
) SWIG_fail
;
10023 swig_obj
[0] = args
;
10024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10028 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10048 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10049 PyObject
*resultobj
= 0;
10050 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10054 PyObject
*swig_obj
[1] ;
10056 if (!args
) SWIG_fail
;
10057 swig_obj
[0] = args
;
10058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10062 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= wxNativeFontInfo___str__(arg1
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10082 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
= 0;
10084 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10085 wxString
*arg2
= 0 ;
10089 bool temp2
= false ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 char * kwnames
[] = {
10093 (char *) "self",(char *) "s", NULL
10096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10101 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10103 arg2
= wxString_in_helper(obj1
);
10104 if (arg2
== NULL
) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10130 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10131 PyObject
*resultobj
= 0;
10132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10136 PyObject
*swig_obj
[1] ;
10138 if (!args
) SWIG_fail
;
10139 swig_obj
[0] = args
;
10140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10141 if (!SWIG_IsOK(res1
)) {
10142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10144 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10164 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10167 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10168 return SWIG_Py_Void();
10171 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10172 return SWIG_Python_InitShadowInstance(args
);
10175 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10176 PyObject
*resultobj
= 0;
10177 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10178 wxString
*arg2
= (wxString
*) 0 ;
10181 bool temp2
= false ;
10182 PyObject
*swig_obj
[2] ;
10184 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10186 if (!SWIG_IsOK(res1
)) {
10187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10189 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10191 arg2
= wxString_in_helper(swig_obj
[1]);
10192 if (arg2
== NULL
) SWIG_fail
;
10195 if (arg1
) (arg1
)->facename
= *arg2
;
10197 resultobj
= SWIG_Py_Void();
10212 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10213 PyObject
*resultobj
= 0;
10214 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10215 wxString
*result
= 0 ;
10218 PyObject
*swig_obj
[1] ;
10220 if (!args
) SWIG_fail
;
10221 swig_obj
[0] = args
;
10222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10223 if (!SWIG_IsOK(res1
)) {
10224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10226 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10227 result
= (wxString
*)& ((arg1
)->facename
);
10230 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10232 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10241 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10242 PyObject
*resultobj
= 0;
10243 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10244 wxFontEncoding arg2
;
10249 PyObject
*swig_obj
[2] ;
10251 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10253 if (!SWIG_IsOK(res1
)) {
10254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10256 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10257 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10258 if (!SWIG_IsOK(ecode2
)) {
10259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10261 arg2
= static_cast< wxFontEncoding
>(val2
);
10262 if (arg1
) (arg1
)->encoding
= arg2
;
10264 resultobj
= SWIG_Py_Void();
10271 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10272 PyObject
*resultobj
= 0;
10273 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10274 wxFontEncoding result
;
10277 PyObject
*swig_obj
[1] ;
10279 if (!args
) SWIG_fail
;
10280 swig_obj
[0] = args
;
10281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10282 if (!SWIG_IsOK(res1
)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10285 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10286 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10287 resultobj
= SWIG_From_int(static_cast< int >(result
));
10294 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10295 PyObject
*resultobj
= 0;
10296 wxNativeEncodingInfo
*result
= 0 ;
10298 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10312 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10313 PyObject
*resultobj
= 0;
10314 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10317 PyObject
*swig_obj
[1] ;
10319 if (!args
) SWIG_fail
;
10320 swig_obj
[0] = args
;
10321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10322 if (!SWIG_IsOK(res1
)) {
10323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10325 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_Py_Void();
10340 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
= 0;
10342 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10343 wxString
*arg2
= 0 ;
10347 bool temp2
= false ;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 char * kwnames
[] = {
10351 (char *) "self",(char *) "s", NULL
10354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10356 if (!SWIG_IsOK(res1
)) {
10357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10359 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10361 arg2
= wxString_in_helper(obj1
);
10362 if (arg2
== NULL
) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10388 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10389 PyObject
*resultobj
= 0;
10390 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10394 PyObject
*swig_obj
[1] ;
10396 if (!args
) SWIG_fail
;
10397 swig_obj
[0] = args
;
10398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10402 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10422 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10425 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10426 return SWIG_Py_Void();
10429 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10430 return SWIG_Python_InitShadowInstance(args
);
10433 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
= 0;
10435 wxFontEncoding arg1
;
10436 wxNativeEncodingInfo
*result
= 0 ;
10439 PyObject
* obj0
= 0 ;
10440 char * kwnames
[] = {
10441 (char *) "encoding", NULL
10444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10446 if (!SWIG_IsOK(ecode1
)) {
10447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10449 arg1
= static_cast< wxFontEncoding
>(val1
);
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10463 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
*resultobj
= 0;
10465 wxNativeEncodingInfo
*arg1
= 0 ;
10469 PyObject
* obj0
= 0 ;
10470 char * kwnames
[] = {
10471 (char *) "info", NULL
10474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10475 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10476 if (!SWIG_IsOK(res1
)) {
10477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10482 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10498 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxFontMapper
*result
= 0 ;
10502 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (wxFontMapper
*)new wxFontMapper();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10516 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10521 PyObject
*swig_obj
[1] ;
10523 if (!args
) SWIG_fail
;
10524 swig_obj
[0] = args
;
10525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10529 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_Py_Void();
10544 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 PyObject
*resultobj
= 0;
10546 wxFontMapper
*result
= 0 ;
10548 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (wxFontMapper
*)wxFontMapper::Get();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10562 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
= 0;
10564 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10565 wxFontMapper
*result
= 0 ;
10568 PyObject
* obj0
= 0 ;
10569 char * kwnames
[] = {
10570 (char *) "mapper", NULL
10573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10575 if (!SWIG_IsOK(res1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10578 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10592 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10595 wxString
*arg2
= 0 ;
10596 bool arg3
= (bool) true ;
10597 wxFontEncoding result
;
10600 bool temp2
= false ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 char * kwnames
[] = {
10607 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10612 if (!SWIG_IsOK(res1
)) {
10613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10615 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10617 arg2
= wxString_in_helper(obj1
);
10618 if (arg2
== NULL
) SWIG_fail
;
10622 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10623 if (!SWIG_IsOK(ecode3
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10626 arg3
= static_cast< bool >(val3
);
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_From_int(static_cast< int >(result
));
10649 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10650 PyObject
*resultobj
= 0;
10653 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10667 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10670 wxFontEncoding result
;
10673 PyObject
* obj0
= 0 ;
10674 char * kwnames
[] = {
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10679 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10680 if (!SWIG_IsOK(ecode1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10683 arg1
= static_cast< size_t >(val1
);
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_From_int(static_cast< int >(result
));
10697 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
= 0;
10699 wxFontEncoding arg1
;
10703 PyObject
* obj0
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "encoding", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10710 if (!SWIG_IsOK(ecode1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10713 arg1
= static_cast< wxFontEncoding
>(val1
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= wxFontMapper::GetEncodingName(arg1
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10733 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
= 0;
10735 wxFontEncoding arg1
;
10739 PyObject
* obj0
= 0 ;
10740 char * kwnames
[] = {
10741 (char *) "encoding", NULL
10744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10746 if (!SWIG_IsOK(ecode1
)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10749 arg1
= static_cast< wxFontEncoding
>(val1
);
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= wxFontMapper::GetEncodingDescription(arg1
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10769 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxString
*arg1
= 0 ;
10772 wxFontEncoding result
;
10773 bool temp1
= false ;
10774 PyObject
* obj0
= 0 ;
10775 char * kwnames
[] = {
10776 (char *) "name", NULL
10779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10781 arg1
= wxString_in_helper(obj0
);
10782 if (arg1
== NULL
) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_From_int(static_cast< int >(result
));
10806 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
= 0;
10808 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10809 wxString
*arg2
= 0 ;
10812 bool temp2
= false ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "prefix", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10824 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10826 arg2
= wxString_in_helper(obj1
);
10827 if (arg2
== NULL
) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_Py_Void();
10851 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10852 PyObject
*resultobj
= 0;
10855 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= wxFontMapper::GetDefaultConfigPath();
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10875 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
= 0;
10877 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10878 wxFontEncoding arg2
;
10879 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10881 bool arg4
= (bool) true ;
10882 PyObject
*result
= 0 ;
10887 bool temp3
= false ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 char * kwnames
[] = {
10895 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10900 if (!SWIG_IsOK(res1
)) {
10901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10903 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10905 if (!SWIG_IsOK(ecode2
)) {
10906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10908 arg2
= static_cast< wxFontEncoding
>(val2
);
10911 arg3
= wxString_in_helper(obj2
);
10912 if (arg3
== NULL
) SWIG_fail
;
10917 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10918 if (!SWIG_IsOK(ecode4
)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10921 arg4
= static_cast< bool >(val4
);
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= result
;
10944 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
= 0;
10946 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10947 wxFontEncoding arg2
;
10948 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10949 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10955 bool temp3
= false ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 PyObject
* obj2
= 0 ;
10959 char * kwnames
[] = {
10960 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10965 if (!SWIG_IsOK(res1
)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10968 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10970 if (!SWIG_IsOK(ecode2
)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10973 arg2
= static_cast< wxFontEncoding
>(val2
);
10976 arg3
= wxString_in_helper(obj2
);
10977 if (arg3
== NULL
) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
= 0;
11006 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11007 wxWindow
*arg2
= (wxWindow
*) 0 ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 char * kwnames
[] = {
11015 (char *) "self",(char *) "parent", NULL
11018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11023 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11025 if (!SWIG_IsOK(res2
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11028 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 (arg1
)->SetDialogParent(arg2
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_Py_Void();
11042 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11044 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11045 wxString
*arg2
= 0 ;
11048 bool temp2
= false ;
11049 PyObject
* obj0
= 0 ;
11050 PyObject
* obj1
= 0 ;
11051 char * kwnames
[] = {
11052 (char *) "self",(char *) "title", NULL
11055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11057 if (!SWIG_IsOK(res1
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11060 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11062 arg2
= wxString_in_helper(obj1
);
11063 if (arg2
== NULL
) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_Py_Void();
11087 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11090 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11091 return SWIG_Py_Void();
11094 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11095 return SWIG_Python_InitShadowInstance(args
);
11098 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
= 0;
11104 bool arg5
= (bool) false ;
11105 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11107 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11108 wxFont
*result
= 0 ;
11119 bool temp6
= false ;
11122 PyObject
* obj0
= 0 ;
11123 PyObject
* obj1
= 0 ;
11124 PyObject
* obj2
= 0 ;
11125 PyObject
* obj3
= 0 ;
11126 PyObject
* obj4
= 0 ;
11127 PyObject
* obj5
= 0 ;
11128 PyObject
* obj6
= 0 ;
11129 char * kwnames
[] = {
11130 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11134 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11135 if (!SWIG_IsOK(ecode1
)) {
11136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11138 arg1
= static_cast< int >(val1
);
11139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11140 if (!SWIG_IsOK(ecode2
)) {
11141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11143 arg2
= static_cast< int >(val2
);
11144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11145 if (!SWIG_IsOK(ecode3
)) {
11146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11148 arg3
= static_cast< int >(val3
);
11149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11150 if (!SWIG_IsOK(ecode4
)) {
11151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11153 arg4
= static_cast< int >(val4
);
11155 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11156 if (!SWIG_IsOK(ecode5
)) {
11157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11159 arg5
= static_cast< bool >(val5
);
11163 arg6
= wxString_in_helper(obj5
);
11164 if (arg6
== NULL
) SWIG_fail
;
11169 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11170 if (!SWIG_IsOK(ecode7
)) {
11171 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11173 arg7
= static_cast< wxFontEncoding
>(val7
);
11176 if (!wxPyCheckForApp()) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11197 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11198 PyObject
*resultobj
= 0;
11199 wxFont
*arg1
= (wxFont
*) 0 ;
11202 PyObject
*swig_obj
[1] ;
11204 if (!args
) SWIG_fail
;
11205 swig_obj
[0] = args
;
11206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11207 if (!SWIG_IsOK(res1
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11210 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= SWIG_Py_Void();
11225 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
= 0;
11227 wxNativeFontInfo
*arg1
= 0 ;
11228 wxFont
*result
= 0 ;
11231 PyObject
* obj0
= 0 ;
11232 char * kwnames
[] = {
11233 (char *) "info", NULL
11236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11237 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11238 if (!SWIG_IsOK(res1
)) {
11239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11244 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11246 if (!wxPyCheckForApp()) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11259 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= 0;
11261 wxString
*arg1
= 0 ;
11262 wxFont
*result
= 0 ;
11263 bool temp1
= false ;
11264 PyObject
* obj0
= 0 ;
11265 char * kwnames
[] = {
11266 (char *) "info", NULL
11269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11271 arg1
= wxString_in_helper(obj0
);
11272 if (arg1
== NULL
) SWIG_fail
;
11276 if (!wxPyCheckForApp()) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11297 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= 0;
11300 wxFontFamily arg2
;
11301 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11302 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11303 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11304 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11305 wxFont
*result
= 0 ;
11312 bool temp4
= false ;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 PyObject
* obj2
= 0 ;
11318 PyObject
* obj3
= 0 ;
11319 PyObject
* obj4
= 0 ;
11320 char * kwnames
[] = {
11321 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11326 if (!SWIG_IsOK(ecode1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11329 arg1
= static_cast< int >(val1
);
11330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11331 if (!SWIG_IsOK(ecode2
)) {
11332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11334 arg2
= static_cast< wxFontFamily
>(val2
);
11336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11337 if (!SWIG_IsOK(ecode3
)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11340 arg3
= static_cast< int >(val3
);
11344 arg4
= wxString_in_helper(obj3
);
11345 if (arg4
== NULL
) SWIG_fail
;
11350 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11351 if (!SWIG_IsOK(ecode5
)) {
11352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11354 arg5
= static_cast< wxFontEncoding
>(val5
);
11357 if (!wxPyCheckForApp()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11378 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
= 0;
11384 bool arg5
= (bool) false ;
11385 wxString
const &arg6_defvalue
= wxEmptyString
;
11386 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11387 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11388 wxFont
*result
= 0 ;
11398 bool temp6
= false ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 PyObject
* obj2
= 0 ;
11404 PyObject
* obj3
= 0 ;
11405 PyObject
* obj4
= 0 ;
11406 PyObject
* obj5
= 0 ;
11407 PyObject
* obj6
= 0 ;
11408 char * kwnames
[] = {
11409 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11415 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11418 if (!SWIG_IsOK(ecode2
)) {
11419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11421 arg2
= static_cast< int >(val2
);
11422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11423 if (!SWIG_IsOK(ecode3
)) {
11424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11426 arg3
= static_cast< int >(val3
);
11427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11428 if (!SWIG_IsOK(ecode4
)) {
11429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11431 arg4
= static_cast< int >(val4
);
11433 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11434 if (!SWIG_IsOK(ecode5
)) {
11435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11437 arg5
= static_cast< bool >(val5
);
11441 arg6
= wxString_in_helper(obj5
);
11442 if (arg6
== NULL
) SWIG_fail
;
11447 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11448 if (!SWIG_IsOK(ecode7
)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11451 arg7
= static_cast< wxFontEncoding
>(val7
);
11454 if (!wxPyCheckForApp()) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11475 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
= 0;
11478 wxFontFamily arg2
;
11479 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11480 wxString
const &arg4_defvalue
= wxEmptyString
;
11481 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11482 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11483 wxFont
*result
= 0 ;
11489 bool temp4
= false ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 PyObject
* obj2
= 0 ;
11495 PyObject
* obj3
= 0 ;
11496 PyObject
* obj4
= 0 ;
11497 char * kwnames
[] = {
11498 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11504 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11507 if (!SWIG_IsOK(ecode2
)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11510 arg2
= static_cast< wxFontFamily
>(val2
);
11512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11513 if (!SWIG_IsOK(ecode3
)) {
11514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11516 arg3
= static_cast< int >(val3
);
11520 arg4
= wxString_in_helper(obj3
);
11521 if (arg4
== NULL
) SWIG_fail
;
11526 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11527 if (!SWIG_IsOK(ecode5
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11530 arg5
= static_cast< wxFontEncoding
>(val5
);
11533 if (!wxPyCheckForApp()) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11554 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11555 PyObject
*resultobj
= 0;
11556 wxFont
*arg1
= (wxFont
*) 0 ;
11560 PyObject
*swig_obj
[1] ;
11562 if (!args
) SWIG_fail
;
11563 swig_obj
[0] = args
;
11564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11565 if (!SWIG_IsOK(res1
)) {
11566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11568 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 result
= (bool)((wxFont
const *)arg1
)->Ok();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11584 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
= 0;
11586 wxFont
*arg1
= (wxFont
*) 0 ;
11587 wxFont
*arg2
= (wxFont
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char * kwnames
[] = {
11596 (char *) "self",(char *) "other", NULL
11599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11604 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11606 if (!SWIG_IsOK(res2
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11609 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11625 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
= 0;
11627 wxFont
*arg1
= (wxFont
*) 0 ;
11628 wxFont
*arg2
= (wxFont
*) 0 ;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 char * kwnames
[] = {
11637 (char *) "self",(char *) "other", NULL
11640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11642 if (!SWIG_IsOK(res1
)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11645 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11647 if (!SWIG_IsOK(res2
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11650 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11666 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 PyObject
*resultobj
= 0;
11668 wxFont
*arg1
= (wxFont
*) 0 ;
11672 PyObject
*swig_obj
[1] ;
11674 if (!args
) SWIG_fail
;
11675 swig_obj
[0] = args
;
11676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11680 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_From_int(static_cast< int >(result
));
11694 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 PyObject
*resultobj
= 0;
11696 wxFont
*arg1
= (wxFont
*) 0 ;
11700 PyObject
*swig_obj
[1] ;
11702 if (!args
) SWIG_fail
;
11703 swig_obj
[0] = args
;
11704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11708 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11722 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 PyObject
*resultobj
= 0;
11724 wxFont
*arg1
= (wxFont
*) 0 ;
11728 PyObject
*swig_obj
[1] ;
11730 if (!args
) SWIG_fail
;
11731 swig_obj
[0] = args
;
11732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11733 if (!SWIG_IsOK(res1
)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11736 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11752 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11753 PyObject
*resultobj
= 0;
11754 wxFont
*arg1
= (wxFont
*) 0 ;
11758 PyObject
*swig_obj
[1] ;
11760 if (!args
) SWIG_fail
;
11761 swig_obj
[0] = args
;
11762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11766 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_From_int(static_cast< int >(result
));
11780 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11781 PyObject
*resultobj
= 0;
11782 wxFont
*arg1
= (wxFont
*) 0 ;
11786 PyObject
*swig_obj
[1] ;
11788 if (!args
) SWIG_fail
;
11789 swig_obj
[0] = args
;
11790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11791 if (!SWIG_IsOK(res1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11794 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_From_int(static_cast< int >(result
));
11808 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11809 PyObject
*resultobj
= 0;
11810 wxFont
*arg1
= (wxFont
*) 0 ;
11814 PyObject
*swig_obj
[1] ;
11816 if (!args
) SWIG_fail
;
11817 swig_obj
[0] = args
;
11818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11819 if (!SWIG_IsOK(res1
)) {
11820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11822 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_From_int(static_cast< int >(result
));
11836 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11837 PyObject
*resultobj
= 0;
11838 wxFont
*arg1
= (wxFont
*) 0 ;
11842 PyObject
*swig_obj
[1] ;
11844 if (!args
) SWIG_fail
;
11845 swig_obj
[0] = args
;
11846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11847 if (!SWIG_IsOK(res1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11850 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11866 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 PyObject
*resultobj
= 0;
11868 wxFont
*arg1
= (wxFont
*) 0 ;
11872 PyObject
*swig_obj
[1] ;
11874 if (!args
) SWIG_fail
;
11875 swig_obj
[0] = args
;
11876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11877 if (!SWIG_IsOK(res1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11880 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= ((wxFont
const *)arg1
)->GetFaceName();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11900 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11901 PyObject
*resultobj
= 0;
11902 wxFont
*arg1
= (wxFont
*) 0 ;
11903 wxFontEncoding result
;
11906 PyObject
*swig_obj
[1] ;
11908 if (!args
) SWIG_fail
;
11909 swig_obj
[0] = args
;
11910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11911 if (!SWIG_IsOK(res1
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11914 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_From_int(static_cast< int >(result
));
11928 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11929 PyObject
*resultobj
= 0;
11930 wxFont
*arg1
= (wxFont
*) 0 ;
11931 wxNativeFontInfo
*result
= 0 ;
11934 PyObject
*swig_obj
[1] ;
11936 if (!args
) SWIG_fail
;
11937 swig_obj
[0] = args
;
11938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11939 if (!SWIG_IsOK(res1
)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11942 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11956 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11957 PyObject
*resultobj
= 0;
11958 wxFont
*arg1
= (wxFont
*) 0 ;
11962 PyObject
*swig_obj
[1] ;
11964 if (!args
) SWIG_fail
;
11965 swig_obj
[0] = args
;
11966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11967 if (!SWIG_IsOK(res1
)) {
11968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11970 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11986 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11987 PyObject
*resultobj
= 0;
11988 wxFont
*arg1
= (wxFont
*) 0 ;
11992 PyObject
*swig_obj
[1] ;
11994 if (!args
) SWIG_fail
;
11995 swig_obj
[0] = args
;
11996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11997 if (!SWIG_IsOK(res1
)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12000 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12020 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12021 PyObject
*resultobj
= 0;
12022 wxFont
*arg1
= (wxFont
*) 0 ;
12026 PyObject
*swig_obj
[1] ;
12028 if (!args
) SWIG_fail
;
12029 swig_obj
[0] = args
;
12030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12031 if (!SWIG_IsOK(res1
)) {
12032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12034 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12054 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
= 0;
12056 wxFont
*arg1
= (wxFont
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 char * kwnames
[] = {
12065 (char *) "self",(char *) "pointSize", NULL
12068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12070 if (!SWIG_IsOK(res1
)) {
12071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12073 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12075 if (!SWIG_IsOK(ecode2
)) {
12076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12078 arg2
= static_cast< int >(val2
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->SetPointSize(arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_Py_Void();
12092 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
= 0;
12094 wxFont
*arg1
= (wxFont
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char * kwnames
[] = {
12102 (char *) "self",(char *) "pixelSize", NULL
12105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12110 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12113 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= SWIG_Py_Void();
12128 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
= 0;
12130 wxFont
*arg1
= (wxFont
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char * kwnames
[] = {
12139 (char *) "self",(char *) "family", NULL
12142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12144 if (!SWIG_IsOK(res1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12147 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12149 if (!SWIG_IsOK(ecode2
)) {
12150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12152 arg2
= static_cast< int >(val2
);
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->SetFamily(arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_Py_Void();
12166 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
= 0;
12168 wxFont
*arg1
= (wxFont
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 char * kwnames
[] = {
12177 (char *) "self",(char *) "style", NULL
12180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12185 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12187 if (!SWIG_IsOK(ecode2
)) {
12188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12190 arg2
= static_cast< int >(val2
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 (arg1
)->SetStyle(arg2
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_Py_Void();
12204 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 wxFont
*arg1
= (wxFont
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 char * kwnames
[] = {
12215 (char *) "self",(char *) "weight", NULL
12218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12223 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12225 if (!SWIG_IsOK(ecode2
)) {
12226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12228 arg2
= static_cast< int >(val2
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetWeight(arg2
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12242 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
= 0;
12244 wxFont
*arg1
= (wxFont
*) 0 ;
12245 wxString
*arg2
= 0 ;
12249 bool temp2
= false ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 char * kwnames
[] = {
12253 (char *) "self",(char *) "faceName", NULL
12256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12261 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12263 arg2
= wxString_in_helper(obj1
);
12264 if (arg2
== NULL
) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12290 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
= 0;
12292 wxFont
*arg1
= (wxFont
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char * kwnames
[] = {
12301 (char *) "self",(char *) "underlined", NULL
12304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12306 if (!SWIG_IsOK(res1
)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12309 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12311 if (!SWIG_IsOK(ecode2
)) {
12312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12314 arg2
= static_cast< bool >(val2
);
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 (arg1
)->SetUnderlined(arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_Py_Void();
12328 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
= 0;
12330 wxFont
*arg1
= (wxFont
*) 0 ;
12331 wxFontEncoding arg2
;
12336 PyObject
* obj0
= 0 ;
12337 PyObject
* obj1
= 0 ;
12338 char * kwnames
[] = {
12339 (char *) "self",(char *) "encoding", NULL
12342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12347 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12349 if (!SWIG_IsOK(ecode2
)) {
12350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12352 arg2
= static_cast< wxFontEncoding
>(val2
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->SetEncoding(arg2
);
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_Py_Void();
12366 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
= 0;
12368 wxFont
*arg1
= (wxFont
*) 0 ;
12369 wxNativeFontInfo
*arg2
= 0 ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 char * kwnames
[] = {
12377 (char *) "self",(char *) "info", NULL
12380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12382 if (!SWIG_IsOK(res1
)) {
12383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12385 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12387 if (!SWIG_IsOK(res2
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12393 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
= 0;
12409 wxFont
*arg1
= (wxFont
*) 0 ;
12410 wxString
*arg2
= 0 ;
12414 bool temp2
= false ;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 char * kwnames
[] = {
12418 (char *) "self",(char *) "info", NULL
12421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12423 if (!SWIG_IsOK(res1
)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12426 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12428 arg2
= wxString_in_helper(obj1
);
12429 if (arg2
== NULL
) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12455 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
= 0;
12457 wxFont
*arg1
= (wxFont
*) 0 ;
12458 wxString
*arg2
= 0 ;
12462 bool temp2
= false ;
12463 PyObject
* obj0
= 0 ;
12464 PyObject
* obj1
= 0 ;
12465 char * kwnames
[] = {
12466 (char *) "self",(char *) "info", NULL
12469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12471 if (!SWIG_IsOK(res1
)) {
12472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12474 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12476 arg2
= wxString_in_helper(obj1
);
12477 if (arg2
== NULL
) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12503 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxFont
*arg1
= (wxFont
*) 0 ;
12509 PyObject
*swig_obj
[1] ;
12511 if (!args
) SWIG_fail
;
12512 swig_obj
[0] = args
;
12513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12517 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12537 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12538 PyObject
*resultobj
= 0;
12539 wxFont
*arg1
= (wxFont
*) 0 ;
12543 PyObject
*swig_obj
[1] ;
12545 if (!args
) SWIG_fail
;
12546 swig_obj
[0] = args
;
12547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12548 if (!SWIG_IsOK(res1
)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12551 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= ((wxFont
const *)arg1
)->GetStyleString();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12571 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12572 PyObject
*resultobj
= 0;
12573 wxFont
*arg1
= (wxFont
*) 0 ;
12577 PyObject
*swig_obj
[1] ;
12579 if (!args
) SWIG_fail
;
12580 swig_obj
[0] = args
;
12581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12582 if (!SWIG_IsOK(res1
)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12585 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= ((wxFont
const *)arg1
)->GetWeightString();
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12605 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
= 0;
12607 wxFont
*arg1
= (wxFont
*) 0 ;
12608 bool arg2
= (bool) true ;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 char * kwnames
[] = {
12616 (char *) "self",(char *) "no", NULL
12619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12624 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12627 if (!SWIG_IsOK(ecode2
)) {
12628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12630 arg2
= static_cast< bool >(val2
);
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetNoAntiAliasing(arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12645 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12646 PyObject
*resultobj
= 0;
12647 wxFont
*arg1
= (wxFont
*) 0 ;
12651 PyObject
*swig_obj
[1] ;
12653 if (!args
) SWIG_fail
;
12654 swig_obj
[0] = args
;
12655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12659 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12675 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12676 PyObject
*resultobj
= 0;
12677 wxFontEncoding result
;
12679 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12681 if (!wxPyCheckForApp()) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_From_int(static_cast< int >(result
));
12694 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
= 0;
12696 wxFontEncoding arg1
;
12699 PyObject
* obj0
= 0 ;
12700 char * kwnames
[] = {
12701 (char *) "encoding", NULL
12704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12706 if (!SWIG_IsOK(ecode1
)) {
12707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12709 arg1
= static_cast< wxFontEncoding
>(val1
);
12711 if (!wxPyCheckForApp()) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 wxFont::SetDefaultEncoding(arg1
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= SWIG_Py_Void();
12724 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12727 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12728 return SWIG_Py_Void();
12731 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12732 return SWIG_Python_InitShadowInstance(args
);
12735 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12736 PyObject
*resultobj
= 0;
12737 wxPyFontEnumerator
*result
= 0 ;
12739 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12741 if (!wxPyCheckForApp()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12754 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12759 PyObject
*swig_obj
[1] ;
12761 if (!args
) SWIG_fail
;
12762 swig_obj
[0] = args
;
12763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12764 if (!SWIG_IsOK(res1
)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12767 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_Py_Void();
12782 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12785 PyObject
*arg2
= (PyObject
*) 0 ;
12786 PyObject
*arg3
= (PyObject
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 PyObject
* obj2
= 0 ;
12795 PyObject
* obj3
= 0 ;
12796 char * kwnames
[] = {
12797 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12805 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12808 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12809 if (!SWIG_IsOK(ecode4
)) {
12810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12812 arg4
= static_cast< bool >(val4
);
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_Py_Void();
12826 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
= 0;
12828 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12829 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12830 bool arg3
= (bool) false ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 PyObject
* obj2
= 0 ;
12841 char * kwnames
[] = {
12842 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12847 if (!SWIG_IsOK(res1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12850 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12853 if (!SWIG_IsOK(ecode2
)) {
12854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12856 arg2
= static_cast< wxFontEncoding
>(val2
);
12859 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12860 if (!SWIG_IsOK(ecode3
)) {
12861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12863 arg3
= static_cast< bool >(val3
);
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12880 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
= 0;
12882 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12883 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12884 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12888 bool temp2
= false ;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "self",(char *) "facename", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12900 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12903 arg2
= wxString_in_helper(obj1
);
12904 if (arg2
== NULL
) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12932 PyObject
*resultobj
= 0;
12933 PyObject
*result
= 0 ;
12935 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= result
;
12949 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12950 PyObject
*resultobj
= 0;
12951 PyObject
*result
= 0 ;
12953 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= result
;
12967 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
= 0;
12969 wxString
*arg1
= 0 ;
12971 bool temp1
= false ;
12972 PyObject
* obj0
= 0 ;
12973 char * kwnames
[] = {
12974 (char *) "str", NULL
12977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
12979 arg1
= wxString_in_helper(obj0
);
12980 if (arg1
== NULL
) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13006 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13009 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13010 return SWIG_Py_Void();
13013 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13014 return SWIG_Python_InitShadowInstance(args
);
13017 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13018 PyObject
*resultobj
= 0;
13019 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13025 PyObject
*swig_obj
[2] ;
13027 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13029 if (!SWIG_IsOK(res1
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13032 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13033 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13034 if (!SWIG_IsOK(ecode2
)) {
13035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13037 arg2
= static_cast< int >(val2
);
13038 if (arg1
) (arg1
)->Language
= arg2
;
13040 resultobj
= SWIG_Py_Void();
13047 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13048 PyObject
*resultobj
= 0;
13049 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13053 PyObject
*swig_obj
[1] ;
13055 if (!args
) SWIG_fail
;
13056 swig_obj
[0] = args
;
13057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13058 if (!SWIG_IsOK(res1
)) {
13059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13061 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13062 result
= (int) ((arg1
)->Language
);
13063 resultobj
= SWIG_From_int(static_cast< int >(result
));
13070 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13071 PyObject
*resultobj
= 0;
13072 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13073 wxString
*arg2
= (wxString
*) 0 ;
13076 bool temp2
= false ;
13077 PyObject
*swig_obj
[2] ;
13079 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13081 if (!SWIG_IsOK(res1
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13084 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13086 arg2
= wxString_in_helper(swig_obj
[1]);
13087 if (arg2
== NULL
) SWIG_fail
;
13090 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13092 resultobj
= SWIG_Py_Void();
13107 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 PyObject
*resultobj
= 0;
13109 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13110 wxString
*result
= 0 ;
13113 PyObject
*swig_obj
[1] ;
13115 if (!args
) SWIG_fail
;
13116 swig_obj
[0] = args
;
13117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13118 if (!SWIG_IsOK(res1
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13121 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13122 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13125 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13127 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13136 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13137 PyObject
*resultobj
= 0;
13138 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13139 wxString
*arg2
= (wxString
*) 0 ;
13142 bool temp2
= false ;
13143 PyObject
*swig_obj
[2] ;
13145 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13150 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13152 arg2
= wxString_in_helper(swig_obj
[1]);
13153 if (arg2
== NULL
) SWIG_fail
;
13156 if (arg1
) (arg1
)->Description
= *arg2
;
13158 resultobj
= SWIG_Py_Void();
13173 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13174 PyObject
*resultobj
= 0;
13175 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13176 wxString
*result
= 0 ;
13179 PyObject
*swig_obj
[1] ;
13181 if (!args
) SWIG_fail
;
13182 swig_obj
[0] = args
;
13183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13184 if (!SWIG_IsOK(res1
)) {
13185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13187 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13188 result
= (wxString
*)& ((arg1
)->Description
);
13191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13202 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13205 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13206 return SWIG_Py_Void();
13209 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
= 0;
13211 int arg1
= (int) -1 ;
13212 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13213 wxLocale
*result
= 0 ;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 char * kwnames
[] = {
13221 (char *) "language",(char *) "flags", NULL
13224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13227 if (!SWIG_IsOK(ecode1
)) {
13228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13230 arg1
= static_cast< int >(val1
);
13233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13234 if (!SWIG_IsOK(ecode2
)) {
13235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13237 arg2
= static_cast< int >(val2
);
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13252 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13253 PyObject
*resultobj
= 0;
13254 wxLocale
*arg1
= (wxLocale
*) 0 ;
13257 PyObject
*swig_obj
[1] ;
13259 if (!args
) SWIG_fail
;
13260 swig_obj
[0] = args
;
13261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13262 if (!SWIG_IsOK(res1
)) {
13263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13265 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_Py_Void();
13280 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
= 0;
13282 wxLocale
*arg1
= (wxLocale
*) 0 ;
13283 wxString
*arg2
= 0 ;
13284 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13285 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13286 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13287 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13288 bool arg5
= (bool) true ;
13289 bool arg6
= (bool) false ;
13293 bool temp2
= false ;
13294 bool temp3
= false ;
13295 bool temp4
= false ;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 PyObject
* obj2
= 0 ;
13303 PyObject
* obj3
= 0 ;
13304 PyObject
* obj4
= 0 ;
13305 PyObject
* obj5
= 0 ;
13306 char * kwnames
[] = {
13307 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13315 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13317 arg2
= wxString_in_helper(obj1
);
13318 if (arg2
== NULL
) SWIG_fail
;
13323 arg3
= wxString_in_helper(obj2
);
13324 if (arg3
== NULL
) SWIG_fail
;
13330 arg4
= wxString_in_helper(obj3
);
13331 if (arg4
== NULL
) SWIG_fail
;
13336 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13337 if (!SWIG_IsOK(ecode5
)) {
13338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13340 arg5
= static_cast< bool >(val5
);
13343 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13344 if (!SWIG_IsOK(ecode6
)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13347 arg6
= static_cast< bool >(val6
);
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13388 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
= 0;
13390 wxLocale
*arg1
= (wxLocale
*) 0 ;
13391 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13392 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 PyObject
* obj2
= 0 ;
13403 char * kwnames
[] = {
13404 (char *) "self",(char *) "language",(char *) "flags", NULL
13407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13409 if (!SWIG_IsOK(res1
)) {
13410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13412 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13415 if (!SWIG_IsOK(ecode2
)) {
13416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13418 arg2
= static_cast< int >(val2
);
13421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13422 if (!SWIG_IsOK(ecode3
)) {
13423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13425 arg3
= static_cast< int >(val3
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13442 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13443 PyObject
*resultobj
= 0;
13446 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (int)wxLocale::GetSystemLanguage();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_From_int(static_cast< int >(result
));
13460 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13461 PyObject
*resultobj
= 0;
13462 wxFontEncoding result
;
13464 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= SWIG_From_int(static_cast< int >(result
));
13478 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13479 PyObject
*resultobj
= 0;
13482 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= wxLocale::GetSystemEncodingName();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13502 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13503 PyObject
*resultobj
= 0;
13504 wxLocale
*arg1
= (wxLocale
*) 0 ;
13508 PyObject
*swig_obj
[1] ;
13510 if (!args
) SWIG_fail
;
13511 swig_obj
[0] = args
;
13512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13513 if (!SWIG_IsOK(res1
)) {
13514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13516 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13532 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13533 PyObject
*resultobj
= 0;
13534 wxLocale
*arg1
= (wxLocale
*) 0 ;
13538 PyObject
*swig_obj
[1] ;
13540 if (!args
) SWIG_fail
;
13541 swig_obj
[0] = args
;
13542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13546 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= ((wxLocale
const *)arg1
)->GetLocale();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13566 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13567 PyObject
*resultobj
= 0;
13568 wxLocale
*arg1
= (wxLocale
*) 0 ;
13572 PyObject
*swig_obj
[1] ;
13574 if (!args
) SWIG_fail
;
13575 swig_obj
[0] = args
;
13576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13577 if (!SWIG_IsOK(res1
)) {
13578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13580 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= SWIG_From_int(static_cast< int >(result
));
13594 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13595 PyObject
*resultobj
= 0;
13596 wxLocale
*arg1
= (wxLocale
*) 0 ;
13600 PyObject
*swig_obj
[1] ;
13602 if (!args
) SWIG_fail
;
13603 swig_obj
[0] = args
;
13604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13605 if (!SWIG_IsOK(res1
)) {
13606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13608 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= ((wxLocale
const *)arg1
)->GetSysName();
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13628 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13629 PyObject
*resultobj
= 0;
13630 wxLocale
*arg1
= (wxLocale
*) 0 ;
13634 PyObject
*swig_obj
[1] ;
13636 if (!args
) SWIG_fail
;
13637 swig_obj
[0] = args
;
13638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13639 if (!SWIG_IsOK(res1
)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13642 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13662 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
= 0;
13664 wxString
*arg1
= 0 ;
13665 bool temp1
= false ;
13666 PyObject
* obj0
= 0 ;
13667 char * kwnames
[] = {
13668 (char *) "prefix", NULL
13671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13673 arg1
= wxString_in_helper(obj0
);
13674 if (arg1
== NULL
) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= 0;
13700 wxLocale
*arg1
= (wxLocale
*) 0 ;
13701 wxString
*arg2
= 0 ;
13705 bool temp2
= false ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char * kwnames
[] = {
13709 (char *) "self",(char *) "szDomain", NULL
13712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13717 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13719 arg2
= wxString_in_helper(obj1
);
13720 if (arg2
== NULL
) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13746 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
= 0;
13748 wxLocale
*arg1
= (wxLocale
*) 0 ;
13749 wxString
*arg2
= 0 ;
13753 bool temp2
= false ;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char * kwnames
[] = {
13757 (char *) "self",(char *) "szDomain", NULL
13760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13762 if (!SWIG_IsOK(res1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13765 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13767 arg2
= wxString_in_helper(obj1
);
13768 if (arg2
== NULL
) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13794 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
= 0;
13797 wxLanguageInfo
*result
= 0 ;
13800 PyObject
* obj0
= 0 ;
13801 char * kwnames
[] = {
13802 (char *) "lang", NULL
13805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13807 if (!SWIG_IsOK(ecode1
)) {
13808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13810 arg1
= static_cast< int >(val1
);
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13824 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
= 0;
13830 PyObject
* obj0
= 0 ;
13831 char * kwnames
[] = {
13832 (char *) "lang", NULL
13835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13836 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13837 if (!SWIG_IsOK(ecode1
)) {
13838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13840 arg1
= static_cast< int >(val1
);
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= wxLocale::GetLanguageName(arg1
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13860 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
= 0;
13862 wxString
*arg1
= 0 ;
13863 wxLanguageInfo
*result
= 0 ;
13864 bool temp1
= false ;
13865 PyObject
* obj0
= 0 ;
13866 char * kwnames
[] = {
13867 (char *) "locale", NULL
13870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13872 arg1
= wxString_in_helper(obj0
);
13873 if (arg1
== NULL
) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13897 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
= 0;
13899 wxLanguageInfo
*arg1
= 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char * kwnames
[] = {
13904 (char *) "info", NULL
13907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13908 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13909 if (!SWIG_IsOK(res1
)) {
13910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13915 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_Py_Void();
13929 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
= 0;
13931 wxLocale
*arg1
= (wxLocale
*) 0 ;
13932 wxString
*arg2
= 0 ;
13933 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13934 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13938 bool temp2
= false ;
13939 bool temp3
= false ;
13940 PyObject
* obj0
= 0 ;
13941 PyObject
* obj1
= 0 ;
13942 PyObject
* obj2
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13952 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13954 arg2
= wxString_in_helper(obj1
);
13955 if (arg2
== NULL
) SWIG_fail
;
13960 arg3
= wxString_in_helper(obj2
);
13961 if (arg3
== NULL
) SWIG_fail
;
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14000 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 PyObject
*resultobj
= 0;
14002 wxLocale
*arg1
= (wxLocale
*) 0 ;
14003 wxString
*result
= 0 ;
14006 PyObject
*swig_obj
[1] ;
14008 if (!args
) SWIG_fail
;
14009 swig_obj
[0] = args
;
14010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14011 if (!SWIG_IsOK(res1
)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14014 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14019 result
= (wxString
*) &_result_ref
;
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14037 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14040 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14041 return SWIG_Py_Void();
14044 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14045 return SWIG_Python_InitShadowInstance(args
);
14048 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14049 PyObject
*resultobj
= 0;
14050 wxLocale
*result
= 0 ;
14052 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (wxLocale
*)wxGetLocale();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14066 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14067 PyObject
*resultobj
= 0;
14068 wxString
*arg1
= 0 ;
14070 bool temp1
= false ;
14072 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14074 arg1
= wxString_in_helper(swig_obj
[0]);
14075 if (arg1
== NULL
) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= wxGetTranslation((wxString
const &)*arg1
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14105 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14106 PyObject
*resultobj
= 0;
14107 wxString
*arg1
= 0 ;
14108 wxString
*arg2
= 0 ;
14111 bool temp1
= false ;
14112 bool temp2
= false ;
14116 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14118 arg1
= wxString_in_helper(swig_obj
[0]);
14119 if (arg1
== NULL
) SWIG_fail
;
14123 arg2
= wxString_in_helper(swig_obj
[1]);
14124 if (arg2
== NULL
) SWIG_fail
;
14127 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14128 if (!SWIG_IsOK(ecode3
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14131 arg3
= static_cast< size_t >(val3
);
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14167 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14171 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14174 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14177 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14181 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14186 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14187 PyObject
*resultobj
= 0;
14188 wxEncodingConverter
*result
= 0 ;
14190 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14204 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14205 PyObject
*resultobj
= 0;
14206 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14209 PyObject
*swig_obj
[1] ;
14211 if (!args
) SWIG_fail
;
14212 swig_obj
[0] = args
;
14213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14214 if (!SWIG_IsOK(res1
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14217 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 resultobj
= SWIG_Py_Void();
14232 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
= 0;
14234 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14235 wxFontEncoding arg2
;
14236 wxFontEncoding arg3
;
14237 int arg4
= (int) wxCONVERT_STRICT
;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 PyObject
* obj3
= 0 ;
14251 char * kwnames
[] = {
14252 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14260 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14262 if (!SWIG_IsOK(ecode2
)) {
14263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14265 arg2
= static_cast< wxFontEncoding
>(val2
);
14266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14267 if (!SWIG_IsOK(ecode3
)) {
14268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14270 arg3
= static_cast< wxFontEncoding
>(val3
);
14272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14273 if (!SWIG_IsOK(ecode4
)) {
14274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14276 arg4
= static_cast< int >(val4
);
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14293 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
= 0;
14295 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14296 wxString
*arg2
= 0 ;
14300 bool temp2
= false ;
14301 PyObject
* obj0
= 0 ;
14302 PyObject
* obj1
= 0 ;
14303 char * kwnames
[] = {
14304 (char *) "self",(char *) "input", NULL
14307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14309 if (!SWIG_IsOK(res1
)) {
14310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14312 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14314 arg2
= wxString_in_helper(obj1
);
14315 if (arg2
== NULL
) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14345 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
= 0;
14347 wxFontEncoding arg1
;
14348 int arg2
= (int) wxPLATFORM_CURRENT
;
14349 wxFontEncodingArray result
;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 char * kwnames
[] = {
14357 (char *) "enc",(char *) "platform", NULL
14360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14362 if (!SWIG_IsOK(ecode1
)) {
14363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14365 arg1
= static_cast< wxFontEncoding
>(val1
);
14367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14368 if (!SWIG_IsOK(ecode2
)) {
14369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14371 arg2
= static_cast< int >(val2
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= PyList_New(0);
14381 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14382 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14383 PyList_Append(resultobj
, number
);
14393 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
= 0;
14395 wxFontEncoding arg1
;
14396 wxFontEncodingArray result
;
14399 PyObject
* obj0
= 0 ;
14400 char * kwnames
[] = {
14401 (char *) "enc", NULL
14404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14406 if (!SWIG_IsOK(ecode1
)) {
14407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14409 arg1
= static_cast< wxFontEncoding
>(val1
);
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= PyList_New(0);
14418 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14419 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14420 PyList_Append(resultobj
, number
);
14430 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
= 0;
14432 wxFontEncoding arg1
;
14433 wxFontEncoding arg2
;
14439 PyObject
* obj0
= 0 ;
14440 PyObject
* obj1
= 0 ;
14441 char * kwnames
[] = {
14442 (char *) "encIn",(char *) "encOut", NULL
14445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14447 if (!SWIG_IsOK(ecode1
)) {
14448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14450 arg1
= static_cast< wxFontEncoding
>(val1
);
14451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14452 if (!SWIG_IsOK(ecode2
)) {
14453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14455 arg2
= static_cast< wxFontEncoding
>(val2
);
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14471 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14474 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14475 return SWIG_Py_Void();
14478 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14479 return SWIG_Python_InitShadowInstance(args
);
14482 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14483 PyObject
*resultobj
= 0;
14484 wxDC
*arg1
= (wxDC
*) 0 ;
14487 PyObject
*swig_obj
[1] ;
14489 if (!args
) SWIG_fail
;
14490 swig_obj
[0] = args
;
14491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14492 if (!SWIG_IsOK(res1
)) {
14493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_Py_Void();
14510 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
= 0;
14512 wxDC
*arg1
= (wxDC
*) 0 ;
14515 wxColour
*arg4
= 0 ;
14516 int arg5
= (int) wxFLOOD_SURFACE
;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 PyObject
* obj2
= 0 ;
14530 PyObject
* obj3
= 0 ;
14531 PyObject
* obj4
= 0 ;
14532 char * kwnames
[] = {
14533 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14538 if (!SWIG_IsOK(res1
)) {
14539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14543 if (!SWIG_IsOK(ecode2
)) {
14544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14546 arg2
= static_cast< int >(val2
);
14547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14548 if (!SWIG_IsOK(ecode3
)) {
14549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14551 arg3
= static_cast< int >(val3
);
14554 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14557 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14558 if (!SWIG_IsOK(ecode5
)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14561 arg5
= static_cast< int >(val5
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14578 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
= 0;
14580 wxDC
*arg1
= (wxDC
*) 0 ;
14581 wxPoint
*arg2
= 0 ;
14582 wxColour
*arg3
= 0 ;
14583 int arg4
= (int) wxFLOOD_SURFACE
;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 PyObject
* obj2
= 0 ;
14594 PyObject
* obj3
= 0 ;
14595 char * kwnames
[] = {
14596 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14601 if (!SWIG_IsOK(res1
)) {
14602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14611 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14615 if (!SWIG_IsOK(ecode4
)) {
14616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14618 arg4
= static_cast< int >(val4
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14635 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
= 0;
14637 wxDC
*arg1
= (wxDC
*) 0 ;
14639 wxColour
*arg3
= 0 ;
14640 wxColour
*arg4
= 0 ;
14641 wxPoint
*arg5
= 0 ;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 PyObject
* obj2
= 0 ;
14651 PyObject
* obj3
= 0 ;
14652 PyObject
* obj4
= 0 ;
14653 char * kwnames
[] = {
14654 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14659 if (!SWIG_IsOK(res1
)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14665 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14669 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14673 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14677 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_Py_Void();
14692 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
= 0;
14694 wxDC
*arg1
= (wxDC
*) 0 ;
14696 wxColour
*arg3
= 0 ;
14697 wxColour
*arg4
= 0 ;
14698 wxDirection arg5
= (wxDirection
) wxEAST
;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 PyObject
* obj2
= 0 ;
14709 PyObject
* obj3
= 0 ;
14710 PyObject
* obj4
= 0 ;
14711 char * kwnames
[] = {
14712 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14717 if (!SWIG_IsOK(res1
)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14723 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14727 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14731 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14734 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14735 if (!SWIG_IsOK(ecode5
)) {
14736 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14738 arg5
= static_cast< wxDirection
>(val5
);
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_Py_Void();
14753 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
= 0;
14755 wxDC
*arg1
= (wxDC
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 PyObject
* obj2
= 0 ;
14768 char * kwnames
[] = {
14769 (char *) "self",(char *) "x",(char *) "y", NULL
14772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14774 if (!SWIG_IsOK(res1
)) {
14775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14779 if (!SWIG_IsOK(ecode2
)) {
14780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14782 arg2
= static_cast< int >(val2
);
14783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14784 if (!SWIG_IsOK(ecode3
)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14787 arg3
= static_cast< int >(val3
);
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14801 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
= 0;
14803 wxDC
*arg1
= (wxDC
*) 0 ;
14804 wxPoint
*arg2
= 0 ;
14809 PyObject
* obj0
= 0 ;
14810 PyObject
* obj1
= 0 ;
14811 char * kwnames
[] = {
14812 (char *) "self",(char *) "pt", NULL
14815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14817 if (!SWIG_IsOK(res1
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14838 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
= 0;
14840 wxDC
*arg1
= (wxDC
*) 0 ;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 PyObject
* obj2
= 0 ;
14858 PyObject
* obj3
= 0 ;
14859 PyObject
* obj4
= 0 ;
14860 char * kwnames
[] = {
14861 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14866 if (!SWIG_IsOK(res1
)) {
14867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14871 if (!SWIG_IsOK(ecode2
)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14874 arg2
= static_cast< int >(val2
);
14875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14876 if (!SWIG_IsOK(ecode3
)) {
14877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14879 arg3
= static_cast< int >(val3
);
14880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14881 if (!SWIG_IsOK(ecode4
)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14884 arg4
= static_cast< int >(val4
);
14885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14886 if (!SWIG_IsOK(ecode5
)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14889 arg5
= static_cast< int >(val5
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_Py_Void();
14903 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxDC
*arg1
= (wxDC
*) 0 ;
14906 wxPoint
*arg2
= 0 ;
14907 wxPoint
*arg3
= 0 ;
14912 PyObject
* obj0
= 0 ;
14913 PyObject
* obj1
= 0 ;
14914 PyObject
* obj2
= 0 ;
14915 char * kwnames
[] = {
14916 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14921 if (!SWIG_IsOK(res1
)) {
14922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_Py_Void();
14946 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
= 0;
14948 wxDC
*arg1
= (wxDC
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 PyObject
* obj2
= 0 ;
14960 char * kwnames
[] = {
14961 (char *) "self",(char *) "x",(char *) "y", NULL
14964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14966 if (!SWIG_IsOK(res1
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14971 if (!SWIG_IsOK(ecode2
)) {
14972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14974 arg2
= static_cast< int >(val2
);
14975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14976 if (!SWIG_IsOK(ecode3
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14979 arg3
= static_cast< int >(val3
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 (arg1
)->CrossHair(arg2
,arg3
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_Py_Void();
14993 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
= 0;
14995 wxDC
*arg1
= (wxDC
*) 0 ;
14996 wxPoint
*arg2
= 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char * kwnames
[] = {
15003 (char *) "self",(char *) "pt", NULL
15006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 resultobj
= SWIG_Py_Void();
15029 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
= 0;
15031 wxDC
*arg1
= (wxDC
*) 0 ;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 PyObject
* obj2
= 0 ;
15055 PyObject
* obj3
= 0 ;
15056 PyObject
* obj4
= 0 ;
15057 PyObject
* obj5
= 0 ;
15058 PyObject
* obj6
= 0 ;
15059 char * kwnames
[] = {
15060 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15065 if (!SWIG_IsOK(res1
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15070 if (!SWIG_IsOK(ecode2
)) {
15071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15073 arg2
= static_cast< int >(val2
);
15074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15075 if (!SWIG_IsOK(ecode3
)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15078 arg3
= static_cast< int >(val3
);
15079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15080 if (!SWIG_IsOK(ecode4
)) {
15081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15083 arg4
= static_cast< int >(val4
);
15084 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15085 if (!SWIG_IsOK(ecode5
)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15088 arg5
= static_cast< int >(val5
);
15089 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15090 if (!SWIG_IsOK(ecode6
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15093 arg6
= static_cast< int >(val6
);
15094 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15095 if (!SWIG_IsOK(ecode7
)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15098 arg7
= static_cast< int >(val7
);
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_Py_Void();
15112 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
= 0;
15114 wxDC
*arg1
= (wxDC
*) 0 ;
15115 wxPoint
*arg2
= 0 ;
15116 wxPoint
*arg3
= 0 ;
15117 wxPoint
*arg4
= 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 PyObject
* obj2
= 0 ;
15126 PyObject
* obj3
= 0 ;
15127 char * kwnames
[] = {
15128 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15143 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_Py_Void();
15162 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
= 0;
15164 wxDC
*arg1
= (wxDC
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 PyObject
* obj3
= 0 ;
15183 PyObject
* obj4
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15195 if (!SWIG_IsOK(ecode2
)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15198 arg2
= static_cast< int >(val2
);
15199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15200 if (!SWIG_IsOK(ecode3
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15203 arg3
= static_cast< int >(val3
);
15204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15205 if (!SWIG_IsOK(ecode4
)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15208 arg4
= static_cast< int >(val4
);
15209 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15210 if (!SWIG_IsOK(ecode5
)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15213 arg5
= static_cast< int >(val5
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_Py_Void();
15227 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
= 0;
15229 wxDC
*arg1
= (wxDC
*) 0 ;
15234 PyObject
* obj0
= 0 ;
15235 PyObject
* obj1
= 0 ;
15236 char * kwnames
[] = {
15237 (char *) "self",(char *) "rect", NULL
15240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15242 if (!SWIG_IsOK(res1
)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15248 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= SWIG_Py_Void();
15263 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
= 0;
15265 wxDC
*arg1
= (wxDC
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 PyObject
* obj3
= 0 ;
15290 PyObject
* obj4
= 0 ;
15291 PyObject
* obj5
= 0 ;
15292 PyObject
* obj6
= 0 ;
15293 char * kwnames
[] = {
15294 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15299 if (!SWIG_IsOK(res1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15304 if (!SWIG_IsOK(ecode2
)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15307 arg2
= static_cast< int >(val2
);
15308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15309 if (!SWIG_IsOK(ecode3
)) {
15310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15312 arg3
= static_cast< int >(val3
);
15313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15314 if (!SWIG_IsOK(ecode4
)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15317 arg4
= static_cast< int >(val4
);
15318 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15319 if (!SWIG_IsOK(ecode5
)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15322 arg5
= static_cast< int >(val5
);
15323 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15324 if (!SWIG_IsOK(ecode6
)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15327 arg6
= static_cast< double >(val6
);
15328 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15329 if (!SWIG_IsOK(ecode7
)) {
15330 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15332 arg7
= static_cast< double >(val7
);
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_Py_Void();
15346 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
= 0;
15348 wxDC
*arg1
= (wxDC
*) 0 ;
15349 wxPoint
*arg2
= 0 ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 PyObject
* obj2
= 0 ;
15364 PyObject
* obj3
= 0 ;
15365 PyObject
* obj4
= 0 ;
15366 char * kwnames
[] = {
15367 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15372 if (!SWIG_IsOK(res1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15382 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15384 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15385 if (!SWIG_IsOK(ecode4
)) {
15386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15388 arg4
= static_cast< double >(val4
);
15389 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15390 if (!SWIG_IsOK(ecode5
)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15393 arg5
= static_cast< double >(val5
);
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_Py_Void();
15407 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
= 0;
15409 wxDC
*arg1
= (wxDC
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 PyObject
* obj2
= 0 ;
15421 char * kwnames
[] = {
15422 (char *) "self",(char *) "x",(char *) "y", NULL
15425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15432 if (!SWIG_IsOK(ecode2
)) {
15433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15435 arg2
= static_cast< int >(val2
);
15436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15437 if (!SWIG_IsOK(ecode3
)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15440 arg3
= static_cast< int >(val3
);
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 (arg1
)->DrawPoint(arg2
,arg3
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= SWIG_Py_Void();
15454 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
= 0;
15456 wxDC
*arg1
= (wxDC
*) 0 ;
15457 wxPoint
*arg2
= 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char * kwnames
[] = {
15464 (char *) "self",(char *) "pt", NULL
15467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_Py_Void();
15490 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
= 0;
15492 wxDC
*arg1
= (wxDC
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 PyObject
* obj2
= 0 ;
15510 PyObject
* obj3
= 0 ;
15511 PyObject
* obj4
= 0 ;
15512 char * kwnames
[] = {
15513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15523 if (!SWIG_IsOK(ecode2
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15526 arg2
= static_cast< int >(val2
);
15527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15528 if (!SWIG_IsOK(ecode3
)) {
15529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15531 arg3
= static_cast< int >(val3
);
15532 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15533 if (!SWIG_IsOK(ecode4
)) {
15534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15536 arg4
= static_cast< int >(val4
);
15537 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15538 if (!SWIG_IsOK(ecode5
)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15541 arg5
= static_cast< int >(val5
);
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_Py_Void();
15555 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
= 0;
15557 wxDC
*arg1
= (wxDC
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 char * kwnames
[] = {
15565 (char *) "self",(char *) "rect", NULL
15568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15570 if (!SWIG_IsOK(res1
)) {
15571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15576 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_Py_Void();
15591 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= 0;
15593 wxDC
*arg1
= (wxDC
*) 0 ;
15594 wxPoint
*arg2
= 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 PyObject
* obj2
= 0 ;
15603 char * kwnames
[] = {
15604 (char *) "self",(char *) "pt",(char *) "sz", NULL
15607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15609 if (!SWIG_IsOK(res1
)) {
15610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15619 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_Py_Void();
15634 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
= 0;
15636 wxDC
*arg1
= (wxDC
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 PyObject
* obj2
= 0 ;
15657 PyObject
* obj3
= 0 ;
15658 PyObject
* obj4
= 0 ;
15659 PyObject
* obj5
= 0 ;
15660 char * kwnames
[] = {
15661 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15671 if (!SWIG_IsOK(ecode2
)) {
15672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15674 arg2
= static_cast< int >(val2
);
15675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15676 if (!SWIG_IsOK(ecode3
)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15679 arg3
= static_cast< int >(val3
);
15680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15681 if (!SWIG_IsOK(ecode4
)) {
15682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15684 arg4
= static_cast< int >(val4
);
15685 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15686 if (!SWIG_IsOK(ecode5
)) {
15687 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15689 arg5
= static_cast< int >(val5
);
15690 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15691 if (!SWIG_IsOK(ecode6
)) {
15692 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15694 arg6
= static_cast< double >(val6
);
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_Py_Void();
15708 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
= 0;
15710 wxDC
*arg1
= (wxDC
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 PyObject
* obj2
= 0 ;
15721 char * kwnames
[] = {
15722 (char *) "self",(char *) "r",(char *) "radius", NULL
15725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15727 if (!SWIG_IsOK(res1
)) {
15728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15733 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15735 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15736 if (!SWIG_IsOK(ecode3
)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15739 arg3
= static_cast< double >(val3
);
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= SWIG_Py_Void();
15753 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
= 0;
15755 wxDC
*arg1
= (wxDC
*) 0 ;
15756 wxPoint
*arg2
= 0 ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 PyObject
* obj2
= 0 ;
15768 PyObject
* obj3
= 0 ;
15769 char * kwnames
[] = {
15770 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15775 if (!SWIG_IsOK(res1
)) {
15776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15785 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15787 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15788 if (!SWIG_IsOK(ecode4
)) {
15789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15791 arg4
= static_cast< double >(val4
);
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_Py_Void();
15805 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
= 0;
15807 wxDC
*arg1
= (wxDC
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 PyObject
* obj2
= 0 ;
15822 PyObject
* obj3
= 0 ;
15823 char * kwnames
[] = {
15824 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15834 if (!SWIG_IsOK(ecode2
)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15837 arg2
= static_cast< int >(val2
);
15838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15839 if (!SWIG_IsOK(ecode3
)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15842 arg3
= static_cast< int >(val3
);
15843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15844 if (!SWIG_IsOK(ecode4
)) {
15845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15847 arg4
= static_cast< int >(val4
);
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_Py_Void();
15861 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
= 0;
15863 wxDC
*arg1
= (wxDC
*) 0 ;
15864 wxPoint
*arg2
= 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 PyObject
* obj2
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "self",(char *) "pt",(char *) "radius", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15889 if (!SWIG_IsOK(ecode3
)) {
15890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15892 arg3
= static_cast< int >(val3
);
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_Py_Void();
15906 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
= 0;
15908 wxDC
*arg1
= (wxDC
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 PyObject
* obj2
= 0 ;
15926 PyObject
* obj3
= 0 ;
15927 PyObject
* obj4
= 0 ;
15928 char * kwnames
[] = {
15929 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15934 if (!SWIG_IsOK(res1
)) {
15935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15939 if (!SWIG_IsOK(ecode2
)) {
15940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15942 arg2
= static_cast< int >(val2
);
15943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15944 if (!SWIG_IsOK(ecode3
)) {
15945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15947 arg3
= static_cast< int >(val3
);
15948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15949 if (!SWIG_IsOK(ecode4
)) {
15950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15952 arg4
= static_cast< int >(val4
);
15953 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15954 if (!SWIG_IsOK(ecode5
)) {
15955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15957 arg5
= static_cast< int >(val5
);
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_Py_Void();
15971 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= 0;
15973 wxDC
*arg1
= (wxDC
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 char * kwnames
[] = {
15981 (char *) "self",(char *) "rect", NULL
15984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15986 if (!SWIG_IsOK(res1
)) {
15987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15992 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= SWIG_Py_Void();
16007 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
= 0;
16009 wxDC
*arg1
= (wxDC
*) 0 ;
16010 wxPoint
*arg2
= 0 ;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 PyObject
* obj2
= 0 ;
16019 char * kwnames
[] = {
16020 (char *) "self",(char *) "pt",(char *) "sz", NULL
16023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16025 if (!SWIG_IsOK(res1
)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16031 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16035 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= SWIG_Py_Void();
16050 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
= 0;
16052 wxDC
*arg1
= (wxDC
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 PyObject
* obj2
= 0 ;
16067 PyObject
* obj3
= 0 ;
16068 char * kwnames
[] = {
16069 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16074 if (!SWIG_IsOK(res1
)) {
16075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16079 if (!SWIG_IsOK(res2
)) {
16080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16085 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16087 if (!SWIG_IsOK(ecode3
)) {
16088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16090 arg3
= static_cast< int >(val3
);
16091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16092 if (!SWIG_IsOK(ecode4
)) {
16093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16095 arg4
= static_cast< int >(val4
);
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= SWIG_Py_Void();
16109 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= 0;
16111 wxDC
*arg1
= (wxDC
*) 0 ;
16113 wxPoint
*arg3
= 0 ;
16119 PyObject
* obj0
= 0 ;
16120 PyObject
* obj1
= 0 ;
16121 PyObject
* obj2
= 0 ;
16122 char * kwnames
[] = {
16123 (char *) "self",(char *) "icon",(char *) "pt", NULL
16126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16128 if (!SWIG_IsOK(res1
)) {
16129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16133 if (!SWIG_IsOK(res2
)) {
16134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16139 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_Py_Void();
16157 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
= 0;
16159 wxDC
*arg1
= (wxDC
*) 0 ;
16160 wxBitmap
*arg2
= 0 ;
16163 bool arg5
= (bool) false ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 PyObject
* obj2
= 0 ;
16177 PyObject
* obj3
= 0 ;
16178 PyObject
* obj4
= 0 ;
16179 char * kwnames
[] = {
16180 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16185 if (!SWIG_IsOK(res1
)) {
16186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16190 if (!SWIG_IsOK(res2
)) {
16191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16196 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16198 if (!SWIG_IsOK(ecode3
)) {
16199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16201 arg3
= static_cast< int >(val3
);
16202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16203 if (!SWIG_IsOK(ecode4
)) {
16204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16206 arg4
= static_cast< int >(val4
);
16208 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16209 if (!SWIG_IsOK(ecode5
)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16212 arg5
= static_cast< bool >(val5
);
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= SWIG_Py_Void();
16227 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
= 0;
16229 wxDC
*arg1
= (wxDC
*) 0 ;
16230 wxBitmap
*arg2
= 0 ;
16231 wxPoint
*arg3
= 0 ;
16232 bool arg4
= (bool) false ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 PyObject
* obj2
= 0 ;
16243 PyObject
* obj3
= 0 ;
16244 char * kwnames
[] = {
16245 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16250 if (!SWIG_IsOK(res1
)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16255 if (!SWIG_IsOK(res2
)) {
16256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16261 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16267 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16268 if (!SWIG_IsOK(ecode4
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16271 arg4
= static_cast< bool >(val4
);
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_Py_Void();
16286 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
= 0;
16288 wxDC
*arg1
= (wxDC
*) 0 ;
16289 wxString
*arg2
= 0 ;
16294 bool temp2
= false ;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 PyObject
* obj2
= 0 ;
16302 PyObject
* obj3
= 0 ;
16303 char * kwnames
[] = {
16304 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16309 if (!SWIG_IsOK(res1
)) {
16310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16314 arg2
= wxString_in_helper(obj1
);
16315 if (arg2
== NULL
) SWIG_fail
;
16318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16319 if (!SWIG_IsOK(ecode3
)) {
16320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16322 arg3
= static_cast< int >(val3
);
16323 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16324 if (!SWIG_IsOK(ecode4
)) {
16325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16327 arg4
= static_cast< int >(val4
);
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= SWIG_Py_Void();
16349 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
= 0;
16351 wxDC
*arg1
= (wxDC
*) 0 ;
16352 wxString
*arg2
= 0 ;
16353 wxPoint
*arg3
= 0 ;
16356 bool temp2
= false ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 PyObject
* obj2
= 0 ;
16361 char * kwnames
[] = {
16362 (char *) "self",(char *) "text",(char *) "pt", NULL
16365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16367 if (!SWIG_IsOK(res1
)) {
16368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16372 arg2
= wxString_in_helper(obj1
);
16373 if (arg2
== NULL
) SWIG_fail
;
16378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_Py_Void();
16401 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
= 0;
16403 wxDC
*arg1
= (wxDC
*) 0 ;
16404 wxString
*arg2
= 0 ;
16410 bool temp2
= false ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 PyObject
* obj2
= 0 ;
16420 PyObject
* obj3
= 0 ;
16421 PyObject
* obj4
= 0 ;
16422 char * kwnames
[] = {
16423 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16428 if (!SWIG_IsOK(res1
)) {
16429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16433 arg2
= wxString_in_helper(obj1
);
16434 if (arg2
== NULL
) SWIG_fail
;
16437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16438 if (!SWIG_IsOK(ecode3
)) {
16439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16441 arg3
= static_cast< int >(val3
);
16442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16443 if (!SWIG_IsOK(ecode4
)) {
16444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16446 arg4
= static_cast< int >(val4
);
16447 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16448 if (!SWIG_IsOK(ecode5
)) {
16449 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16451 arg5
= static_cast< double >(val5
);
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_Py_Void();
16473 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxDC
*arg1
= (wxDC
*) 0 ;
16476 wxString
*arg2
= 0 ;
16477 wxPoint
*arg3
= 0 ;
16481 bool temp2
= false ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 PyObject
* obj2
= 0 ;
16488 PyObject
* obj3
= 0 ;
16489 char * kwnames
[] = {
16490 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16500 arg2
= wxString_in_helper(obj1
);
16501 if (arg2
== NULL
) SWIG_fail
;
16506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16508 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16509 if (!SWIG_IsOK(ecode4
)) {
16510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16512 arg4
= static_cast< double >(val4
);
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= SWIG_Py_Void();
16534 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
= 0;
16536 wxDC
*arg1
= (wxDC
*) 0 ;
16541 wxDC
*arg6
= (wxDC
*) 0 ;
16544 int arg9
= (int) wxCOPY
;
16545 bool arg10
= (bool) false ;
16546 int arg11
= (int) -1 ;
16547 int arg12
= (int) -1 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 PyObject
* obj2
= 0 ;
16576 PyObject
* obj3
= 0 ;
16577 PyObject
* obj4
= 0 ;
16578 PyObject
* obj5
= 0 ;
16579 PyObject
* obj6
= 0 ;
16580 PyObject
* obj7
= 0 ;
16581 PyObject
* obj8
= 0 ;
16582 PyObject
* obj9
= 0 ;
16583 PyObject
* obj10
= 0 ;
16584 PyObject
* obj11
= 0 ;
16585 char * kwnames
[] = {
16586 (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
16589 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
;
16590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16596 if (!SWIG_IsOK(ecode2
)) {
16597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16599 arg2
= static_cast< int >(val2
);
16600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16601 if (!SWIG_IsOK(ecode3
)) {
16602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16604 arg3
= static_cast< int >(val3
);
16605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16606 if (!SWIG_IsOK(ecode4
)) {
16607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16609 arg4
= static_cast< int >(val4
);
16610 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16611 if (!SWIG_IsOK(ecode5
)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16614 arg5
= static_cast< int >(val5
);
16615 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16616 if (!SWIG_IsOK(res6
)) {
16617 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16619 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16620 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16621 if (!SWIG_IsOK(ecode7
)) {
16622 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16624 arg7
= static_cast< int >(val7
);
16625 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16626 if (!SWIG_IsOK(ecode8
)) {
16627 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16629 arg8
= static_cast< int >(val8
);
16631 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16632 if (!SWIG_IsOK(ecode9
)) {
16633 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16635 arg9
= static_cast< int >(val9
);
16638 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16639 if (!SWIG_IsOK(ecode10
)) {
16640 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16642 arg10
= static_cast< bool >(val10
);
16645 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16646 if (!SWIG_IsOK(ecode11
)) {
16647 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16649 arg11
= static_cast< int >(val11
);
16652 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16653 if (!SWIG_IsOK(ecode12
)) {
16654 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16656 arg12
= static_cast< int >(val12
);
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16673 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
= 0;
16675 wxDC
*arg1
= (wxDC
*) 0 ;
16676 wxPoint
*arg2
= 0 ;
16678 wxDC
*arg4
= (wxDC
*) 0 ;
16679 wxPoint
*arg5
= 0 ;
16680 int arg6
= (int) wxCOPY
;
16681 bool arg7
= (bool) false ;
16682 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16683 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 PyObject
* obj2
= 0 ;
16700 PyObject
* obj3
= 0 ;
16701 PyObject
* obj4
= 0 ;
16702 PyObject
* obj5
= 0 ;
16703 PyObject
* obj6
= 0 ;
16704 PyObject
* obj7
= 0 ;
16705 char * kwnames
[] = {
16706 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16721 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16723 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16724 if (!SWIG_IsOK(res4
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16727 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16730 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16733 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16734 if (!SWIG_IsOK(ecode6
)) {
16735 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16737 arg6
= static_cast< int >(val6
);
16740 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16741 if (!SWIG_IsOK(ecode7
)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16744 arg7
= static_cast< bool >(val7
);
16749 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16767 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
= 0;
16769 wxDC
*arg1
= (wxDC
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 PyObject
* obj2
= 0 ;
16787 PyObject
* obj3
= 0 ;
16788 PyObject
* obj4
= 0 ;
16789 char * kwnames
[] = {
16790 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16795 if (!SWIG_IsOK(res1
)) {
16796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16800 if (!SWIG_IsOK(ecode2
)) {
16801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16803 arg2
= static_cast< int >(val2
);
16804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16805 if (!SWIG_IsOK(ecode3
)) {
16806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16808 arg3
= static_cast< int >(val3
);
16809 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16810 if (!SWIG_IsOK(ecode4
)) {
16811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16813 arg4
= static_cast< int >(val4
);
16814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16815 if (!SWIG_IsOK(ecode5
)) {
16816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16818 arg5
= static_cast< int >(val5
);
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_Py_Void();
16832 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
= 0;
16834 wxDC
*arg1
= (wxDC
*) 0 ;
16835 wxPoint
*arg2
= 0 ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 PyObject
* obj2
= 0 ;
16844 char * kwnames
[] = {
16845 (char *) "self",(char *) "pt",(char *) "sz", NULL
16848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16850 if (!SWIG_IsOK(res1
)) {
16851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16860 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_Py_Void();
16875 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
= 0;
16877 wxDC
*arg1
= (wxDC
*) 0 ;
16878 wxRegion
*arg2
= 0 ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 char * kwnames
[] = {
16886 (char *) "self",(char *) "region", NULL
16889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16896 if (!SWIG_IsOK(res2
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16902 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_Py_Void();
16916 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
= 0;
16918 wxDC
*arg1
= (wxDC
*) 0 ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char * kwnames
[] = {
16926 (char *) "self",(char *) "rect", NULL
16929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16931 if (!SWIG_IsOK(res1
)) {
16932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16937 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_Py_Void();
16952 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
= 0;
16954 wxDC
*arg1
= (wxDC
*) 0 ;
16956 wxPoint
*arg3
= (wxPoint
*) 0 ;
16957 int arg4
= (int) 0 ;
16958 int arg5
= (int) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 PyObject
* obj1
= 0 ;
16967 PyObject
* obj2
= 0 ;
16968 PyObject
* obj3
= 0 ;
16969 char * kwnames
[] = {
16970 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16975 if (!SWIG_IsOK(res1
)) {
16976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16980 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16981 if (arg3
== NULL
) SWIG_fail
;
16984 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16985 if (!SWIG_IsOK(ecode4
)) {
16986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16988 arg4
= static_cast< int >(val4
);
16991 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16992 if (!SWIG_IsOK(ecode5
)) {
16993 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16995 arg5
= static_cast< int >(val5
);
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_Py_Void();
17005 if (arg3
) delete [] arg3
;
17010 if (arg3
) delete [] arg3
;
17016 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
= 0;
17018 wxDC
*arg1
= (wxDC
*) 0 ;
17020 wxPoint
*arg3
= (wxPoint
*) 0 ;
17021 int arg4
= (int) 0 ;
17022 int arg5
= (int) 0 ;
17023 int arg6
= (int) wxODDEVEN_RULE
;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 PyObject
* obj2
= 0 ;
17035 PyObject
* obj3
= 0 ;
17036 PyObject
* obj4
= 0 ;
17037 char * kwnames
[] = {
17038 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17043 if (!SWIG_IsOK(res1
)) {
17044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17048 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17049 if (arg3
== NULL
) SWIG_fail
;
17052 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17053 if (!SWIG_IsOK(ecode4
)) {
17054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17056 arg4
= static_cast< int >(val4
);
17059 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17060 if (!SWIG_IsOK(ecode5
)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17063 arg5
= static_cast< int >(val5
);
17066 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17067 if (!SWIG_IsOK(ecode6
)) {
17068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17070 arg6
= static_cast< int >(val6
);
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= SWIG_Py_Void();
17080 if (arg3
) delete [] arg3
;
17085 if (arg3
) delete [] arg3
;
17091 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
= 0;
17093 wxDC
*arg1
= (wxDC
*) 0 ;
17094 wxString
*arg2
= 0 ;
17096 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17097 int arg5
= (int) -1 ;
17100 bool temp2
= false ;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 PyObject
* obj2
= 0 ;
17109 PyObject
* obj3
= 0 ;
17110 PyObject
* obj4
= 0 ;
17111 char * kwnames
[] = {
17112 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17122 arg2
= wxString_in_helper(obj1
);
17123 if (arg2
== NULL
) SWIG_fail
;
17128 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17132 if (!SWIG_IsOK(ecode4
)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17135 arg4
= static_cast< int >(val4
);
17138 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17139 if (!SWIG_IsOK(ecode5
)) {
17140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17142 arg5
= static_cast< int >(val5
);
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_Py_Void();
17165 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
= 0;
17167 wxDC
*arg1
= (wxDC
*) 0 ;
17168 wxString
*arg2
= 0 ;
17169 wxBitmap
*arg3
= 0 ;
17171 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17172 int arg6
= (int) -1 ;
17176 bool temp2
= false ;
17184 PyObject
* obj0
= 0 ;
17185 PyObject
* obj1
= 0 ;
17186 PyObject
* obj2
= 0 ;
17187 PyObject
* obj3
= 0 ;
17188 PyObject
* obj4
= 0 ;
17189 PyObject
* obj5
= 0 ;
17190 char * kwnames
[] = {
17191 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17196 if (!SWIG_IsOK(res1
)) {
17197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17201 arg2
= wxString_in_helper(obj1
);
17202 if (arg2
== NULL
) SWIG_fail
;
17205 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17206 if (!SWIG_IsOK(res3
)) {
17207 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17212 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17215 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17218 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17219 if (!SWIG_IsOK(ecode5
)) {
17220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17222 arg5
= static_cast< int >(val5
);
17225 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17226 if (!SWIG_IsOK(ecode6
)) {
17227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17229 arg6
= static_cast< int >(val6
);
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17252 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
= 0;
17254 wxDC
*arg1
= (wxDC
*) 0 ;
17256 wxPoint
*arg3
= (wxPoint
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17261 char * kwnames
[] = {
17262 (char *) "self",(char *) "points", NULL
17265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17267 if (!SWIG_IsOK(res1
)) {
17268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17272 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17273 if (arg3
== NULL
) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->DrawSpline(arg2
,arg3
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_Py_Void();
17283 if (arg3
) delete [] arg3
;
17288 if (arg3
) delete [] arg3
;
17294 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17295 PyObject
*resultobj
= 0;
17296 wxDC
*arg1
= (wxDC
*) 0 ;
17299 PyObject
*swig_obj
[1] ;
17301 if (!args
) SWIG_fail
;
17302 swig_obj
[0] = args
;
17303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17304 if (!SWIG_IsOK(res1
)) {
17305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_Py_Void();
17321 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
= 0;
17323 wxDC
*arg1
= (wxDC
*) 0 ;
17324 wxString
*arg2
= 0 ;
17328 bool temp2
= false ;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char * kwnames
[] = {
17332 (char *) "self",(char *) "message", NULL
17335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17337 if (!SWIG_IsOK(res1
)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17342 arg2
= wxString_in_helper(obj1
);
17343 if (arg2
== NULL
) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17369 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17370 PyObject
*resultobj
= 0;
17371 wxDC
*arg1
= (wxDC
*) 0 ;
17374 PyObject
*swig_obj
[1] ;
17376 if (!args
) SWIG_fail
;
17377 swig_obj
[0] = args
;
17378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= SWIG_Py_Void();
17396 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17397 PyObject
*resultobj
= 0;
17398 wxDC
*arg1
= (wxDC
*) 0 ;
17401 PyObject
*swig_obj
[1] ;
17403 if (!args
) SWIG_fail
;
17404 swig_obj
[0] = args
;
17405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17406 if (!SWIG_IsOK(res1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 (arg1
)->StartPage();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_Py_Void();
17423 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17424 PyObject
*resultobj
= 0;
17425 wxDC
*arg1
= (wxDC
*) 0 ;
17428 PyObject
*swig_obj
[1] ;
17430 if (!args
) SWIG_fail
;
17431 swig_obj
[0] = args
;
17432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17433 if (!SWIG_IsOK(res1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_Py_Void();
17450 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
= 0;
17452 wxDC
*arg1
= (wxDC
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char * kwnames
[] = {
17461 (char *) "self",(char *) "font", NULL
17464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17466 if (!SWIG_IsOK(res1
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17471 if (!SWIG_IsOK(res2
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17477 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 (arg1
)->SetFont((wxFont
const &)*arg2
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_Py_Void();
17491 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
= 0;
17493 wxDC
*arg1
= (wxDC
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 char * kwnames
[] = {
17502 (char *) "self",(char *) "pen", NULL
17505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17507 if (!SWIG_IsOK(res1
)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17512 if (!SWIG_IsOK(res2
)) {
17513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17518 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->SetPen((wxPen
const &)*arg2
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= SWIG_Py_Void();
17532 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
= 0;
17534 wxDC
*arg1
= (wxDC
*) 0 ;
17535 wxBrush
*arg2
= 0 ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 char * kwnames
[] = {
17543 (char *) "self",(char *) "brush", NULL
17546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17548 if (!SWIG_IsOK(res1
)) {
17549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17553 if (!SWIG_IsOK(res2
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17559 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_Py_Void();
17573 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
= 0;
17575 wxDC
*arg1
= (wxDC
*) 0 ;
17576 wxBrush
*arg2
= 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char * kwnames
[] = {
17584 (char *) "self",(char *) "brush", NULL
17587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17589 if (!SWIG_IsOK(res1
)) {
17590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17594 if (!SWIG_IsOK(res2
)) {
17595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17600 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= SWIG_Py_Void();
17614 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
= 0;
17616 wxDC
*arg1
= (wxDC
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 char * kwnames
[] = {
17625 (char *) "self",(char *) "mode", NULL
17628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17630 if (!SWIG_IsOK(res1
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17635 if (!SWIG_IsOK(ecode2
)) {
17636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17638 arg2
= static_cast< int >(val2
);
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 (arg1
)->SetBackgroundMode(arg2
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_Py_Void();
17652 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= 0;
17654 wxDC
*arg1
= (wxDC
*) 0 ;
17655 wxPalette
*arg2
= 0 ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "self",(char *) "palette", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17673 if (!SWIG_IsOK(res2
)) {
17674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17679 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= SWIG_Py_Void();
17693 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17694 PyObject
*resultobj
= 0;
17695 wxDC
*arg1
= (wxDC
*) 0 ;
17698 PyObject
*swig_obj
[1] ;
17700 if (!args
) SWIG_fail
;
17701 swig_obj
[0] = args
;
17702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17703 if (!SWIG_IsOK(res1
)) {
17704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->DestroyClippingRegion();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_Py_Void();
17720 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17721 PyObject
*resultobj
= 0;
17722 wxDC
*arg1
= (wxDC
*) 0 ;
17723 int *arg2
= (int *) 0 ;
17724 int *arg3
= (int *) 0 ;
17725 int *arg4
= (int *) 0 ;
17726 int *arg5
= (int *) 0 ;
17730 int res2
= SWIG_TMPOBJ
;
17732 int res3
= SWIG_TMPOBJ
;
17734 int res4
= SWIG_TMPOBJ
;
17736 int res5
= SWIG_TMPOBJ
;
17737 PyObject
*swig_obj
[1] ;
17743 if (!args
) SWIG_fail
;
17744 swig_obj
[0] = args
;
17745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17746 if (!SWIG_IsOK(res1
)) {
17747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_Py_Void();
17757 if (SWIG_IsTmpObj(res2
)) {
17758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17760 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17763 if (SWIG_IsTmpObj(res3
)) {
17764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17766 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17769 if (SWIG_IsTmpObj(res4
)) {
17770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17772 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17775 if (SWIG_IsTmpObj(res5
)) {
17776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17778 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17787 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17788 PyObject
*resultobj
= 0;
17789 wxDC
*arg1
= (wxDC
*) 0 ;
17793 PyObject
*swig_obj
[1] ;
17795 if (!args
) SWIG_fail
;
17796 swig_obj
[0] = args
;
17797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17798 if (!SWIG_IsOK(res1
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= wxDC_GetClippingRect(arg1
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17815 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17816 PyObject
*resultobj
= 0;
17817 wxDC
*arg1
= (wxDC
*) 0 ;
17821 PyObject
*swig_obj
[1] ;
17823 if (!args
) SWIG_fail
;
17824 swig_obj
[0] = args
;
17825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17826 if (!SWIG_IsOK(res1
)) {
17827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= SWIG_From_int(static_cast< int >(result
));
17843 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17844 PyObject
*resultobj
= 0;
17845 wxDC
*arg1
= (wxDC
*) 0 ;
17849 PyObject
*swig_obj
[1] ;
17851 if (!args
) SWIG_fail
;
17852 swig_obj
[0] = args
;
17853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17854 if (!SWIG_IsOK(res1
)) {
17855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_From_int(static_cast< int >(result
));
17871 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
= 0;
17873 wxDC
*arg1
= (wxDC
*) 0 ;
17874 wxString
*arg2
= 0 ;
17875 int *arg3
= (int *) 0 ;
17876 int *arg4
= (int *) 0 ;
17879 bool temp2
= false ;
17881 int res3
= SWIG_TMPOBJ
;
17883 int res4
= SWIG_TMPOBJ
;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char * kwnames
[] = {
17887 (char *) "self",(char *) "string", NULL
17892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17894 if (!SWIG_IsOK(res1
)) {
17895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17899 arg2
= wxString_in_helper(obj1
);
17900 if (arg2
== NULL
) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_Py_Void();
17910 if (SWIG_IsTmpObj(res3
)) {
17911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17913 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17916 if (SWIG_IsTmpObj(res4
)) {
17917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17919 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17936 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
= 0;
17938 wxDC
*arg1
= (wxDC
*) 0 ;
17939 wxString
*arg2
= 0 ;
17940 int *arg3
= (int *) 0 ;
17941 int *arg4
= (int *) 0 ;
17942 int *arg5
= (int *) 0 ;
17943 int *arg6
= (int *) 0 ;
17944 wxFont
*arg7
= (wxFont
*) NULL
;
17947 bool temp2
= false ;
17949 int res3
= SWIG_TMPOBJ
;
17951 int res4
= SWIG_TMPOBJ
;
17953 int res5
= SWIG_TMPOBJ
;
17955 int res6
= SWIG_TMPOBJ
;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 PyObject
* obj2
= 0 ;
17961 char * kwnames
[] = {
17962 (char *) "self",(char *) "string",(char *) "font", NULL
17969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17971 if (!SWIG_IsOK(res1
)) {
17972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17976 arg2
= wxString_in_helper(obj1
);
17977 if (arg2
== NULL
) SWIG_fail
;
17981 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17982 if (!SWIG_IsOK(res7
)) {
17983 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17985 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_Py_Void();
17994 if (SWIG_IsTmpObj(res3
)) {
17995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17997 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18000 if (SWIG_IsTmpObj(res4
)) {
18001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18003 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18006 if (SWIG_IsTmpObj(res5
)) {
18007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18009 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18012 if (SWIG_IsTmpObj(res6
)) {
18013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18015 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18032 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
= 0;
18034 wxDC
*arg1
= (wxDC
*) 0 ;
18035 wxString
*arg2
= 0 ;
18036 int *arg3
= (int *) 0 ;
18037 int *arg4
= (int *) 0 ;
18038 int *arg5
= (int *) 0 ;
18039 wxFont
*arg6
= (wxFont
*) NULL
;
18042 bool temp2
= false ;
18044 int res3
= SWIG_TMPOBJ
;
18046 int res4
= SWIG_TMPOBJ
;
18048 int res5
= SWIG_TMPOBJ
;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "self",(char *) "text",(char *) "font", NULL
18061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18063 if (!SWIG_IsOK(res1
)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18068 arg2
= wxString_in_helper(obj1
);
18069 if (arg2
== NULL
) SWIG_fail
;
18073 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18074 if (!SWIG_IsOK(res6
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18077 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= SWIG_Py_Void();
18086 if (SWIG_IsTmpObj(res3
)) {
18087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18089 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18092 if (SWIG_IsTmpObj(res4
)) {
18093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18095 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18098 if (SWIG_IsTmpObj(res5
)) {
18099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18101 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18102 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18118 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
= 0;
18120 wxDC
*arg1
= (wxDC
*) 0 ;
18121 wxString
*arg2
= 0 ;
18125 bool temp2
= false ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "text", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",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_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18139 arg2
= wxString_in_helper(obj1
);
18140 if (arg2
== NULL
) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= PyList_New(0);
18152 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18153 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18154 PyList_Append(resultobj
, val
);
18172 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18173 PyObject
*resultobj
= 0;
18174 wxDC
*arg1
= (wxDC
*) 0 ;
18178 PyObject
*swig_obj
[1] ;
18180 if (!args
) SWIG_fail
;
18181 swig_obj
[0] = args
;
18182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18183 if (!SWIG_IsOK(res1
)) {
18184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (arg1
)->GetSize();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18200 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18201 PyObject
*resultobj
= 0;
18202 wxDC
*arg1
= (wxDC
*) 0 ;
18203 int *arg2
= (int *) 0 ;
18204 int *arg3
= (int *) 0 ;
18208 int res2
= SWIG_TMPOBJ
;
18210 int res3
= SWIG_TMPOBJ
;
18211 PyObject
*swig_obj
[1] ;
18215 if (!args
) SWIG_fail
;
18216 swig_obj
[0] = args
;
18217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 (arg1
)->GetSize(arg2
,arg3
);
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= SWIG_Py_Void();
18229 if (SWIG_IsTmpObj(res2
)) {
18230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18232 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18235 if (SWIG_IsTmpObj(res3
)) {
18236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18238 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18247 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18248 PyObject
*resultobj
= 0;
18249 wxDC
*arg1
= (wxDC
*) 0 ;
18253 PyObject
*swig_obj
[1] ;
18255 if (!args
) SWIG_fail
;
18256 swig_obj
[0] = args
;
18257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18258 if (!SWIG_IsOK(res1
)) {
18259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18275 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18276 PyObject
*resultobj
= 0;
18277 wxDC
*arg1
= (wxDC
*) 0 ;
18278 int *arg2
= (int *) 0 ;
18279 int *arg3
= (int *) 0 ;
18283 int res2
= SWIG_TMPOBJ
;
18285 int res3
= SWIG_TMPOBJ
;
18286 PyObject
*swig_obj
[1] ;
18290 if (!args
) SWIG_fail
;
18291 swig_obj
[0] = args
;
18292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18293 if (!SWIG_IsOK(res1
)) {
18294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_Py_Void();
18304 if (SWIG_IsTmpObj(res2
)) {
18305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18307 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18310 if (SWIG_IsTmpObj(res3
)) {
18311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18313 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18322 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
= 0;
18324 wxDC
*arg1
= (wxDC
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char * kwnames
[] = {
18334 (char *) "self",(char *) "x", NULL
18337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18344 if (!SWIG_IsOK(ecode2
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18347 arg2
= static_cast< int >(val2
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_From_int(static_cast< int >(result
));
18361 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
= 0;
18363 wxDC
*arg1
= (wxDC
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char * kwnames
[] = {
18373 (char *) "self",(char *) "y", NULL
18376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18378 if (!SWIG_IsOK(res1
)) {
18379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18383 if (!SWIG_IsOK(ecode2
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18386 arg2
= static_cast< int >(val2
);
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_From_int(static_cast< int >(result
));
18400 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
= 0;
18402 wxDC
*arg1
= (wxDC
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char * kwnames
[] = {
18412 (char *) "self",(char *) "x", NULL
18415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18417 if (!SWIG_IsOK(res1
)) {
18418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18422 if (!SWIG_IsOK(ecode2
)) {
18423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18425 arg2
= static_cast< int >(val2
);
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_From_int(static_cast< int >(result
));
18439 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
= 0;
18441 wxDC
*arg1
= (wxDC
*) 0 ;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 char * kwnames
[] = {
18451 (char *) "self",(char *) "y", NULL
18454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18456 if (!SWIG_IsOK(res1
)) {
18457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18461 if (!SWIG_IsOK(ecode2
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18464 arg2
= static_cast< int >(val2
);
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_From_int(static_cast< int >(result
));
18478 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
= 0;
18480 wxDC
*arg1
= (wxDC
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 char * kwnames
[] = {
18490 (char *) "self",(char *) "x", NULL
18493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18500 if (!SWIG_IsOK(ecode2
)) {
18501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18503 arg2
= static_cast< int >(val2
);
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_From_int(static_cast< int >(result
));
18517 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
= 0;
18519 wxDC
*arg1
= (wxDC
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 char * kwnames
[] = {
18529 (char *) "self",(char *) "y", NULL
18532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18539 if (!SWIG_IsOK(ecode2
)) {
18540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18542 arg2
= static_cast< int >(val2
);
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= SWIG_From_int(static_cast< int >(result
));
18556 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
= 0;
18558 wxDC
*arg1
= (wxDC
*) 0 ;
18565 PyObject
* obj0
= 0 ;
18566 PyObject
* obj1
= 0 ;
18567 char * kwnames
[] = {
18568 (char *) "self",(char *) "x", NULL
18571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18573 if (!SWIG_IsOK(res1
)) {
18574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18578 if (!SWIG_IsOK(ecode2
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18581 arg2
= static_cast< int >(val2
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_From_int(static_cast< int >(result
));
18595 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
= 0;
18597 wxDC
*arg1
= (wxDC
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 PyObject
* obj1
= 0 ;
18606 char * kwnames
[] = {
18607 (char *) "self",(char *) "y", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18617 if (!SWIG_IsOK(ecode2
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18620 arg2
= static_cast< int >(val2
);
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_From_int(static_cast< int >(result
));
18634 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18635 PyObject
*resultobj
= 0;
18636 wxDC
*arg1
= (wxDC
*) 0 ;
18640 PyObject
*swig_obj
[1] ;
18642 if (!args
) SWIG_fail
;
18643 swig_obj
[0] = args
;
18644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18645 if (!SWIG_IsOK(res1
)) {
18646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18664 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 PyObject
*resultobj
= 0;
18666 wxDC
*arg1
= (wxDC
*) 0 ;
18670 PyObject
*swig_obj
[1] ;
18672 if (!args
) SWIG_fail
;
18673 swig_obj
[0] = args
;
18674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18675 if (!SWIG_IsOK(res1
)) {
18676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18694 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18695 PyObject
*resultobj
= 0;
18696 wxDC
*arg1
= (wxDC
*) 0 ;
18700 PyObject
*swig_obj
[1] ;
18702 if (!args
) SWIG_fail
;
18703 swig_obj
[0] = args
;
18704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_From_int(static_cast< int >(result
));
18722 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18723 PyObject
*resultobj
= 0;
18724 wxDC
*arg1
= (wxDC
*) 0 ;
18728 PyObject
*swig_obj
[1] ;
18730 if (!args
) SWIG_fail
;
18731 swig_obj
[0] = args
;
18732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= ((wxDC
const *)arg1
)->GetPPI();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18750 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18751 PyObject
*resultobj
= 0;
18752 wxDC
*arg1
= (wxDC
*) 0 ;
18756 PyObject
*swig_obj
[1] ;
18758 if (!args
) SWIG_fail
;
18759 swig_obj
[0] = args
;
18760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (bool)((wxDC
const *)arg1
)->Ok();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18780 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18781 PyObject
*resultobj
= 0;
18782 wxDC
*arg1
= (wxDC
*) 0 ;
18786 PyObject
*swig_obj
[1] ;
18788 if (!args
) SWIG_fail
;
18789 swig_obj
[0] = args
;
18790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18791 if (!SWIG_IsOK(res1
)) {
18792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= SWIG_From_int(static_cast< int >(result
));
18808 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18809 PyObject
*resultobj
= 0;
18810 wxDC
*arg1
= (wxDC
*) 0 ;
18811 wxBrush
*result
= 0 ;
18814 PyObject
*swig_obj
[1] ;
18816 if (!args
) SWIG_fail
;
18817 swig_obj
[0] = args
;
18818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18819 if (!SWIG_IsOK(res1
)) {
18820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18827 result
= (wxBrush
*) &_result_ref
;
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18833 wxBrush
* resultptr
= new wxBrush(*result
);
18834 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18842 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18843 PyObject
*resultobj
= 0;
18844 wxDC
*arg1
= (wxDC
*) 0 ;
18845 wxBrush
*result
= 0 ;
18848 PyObject
*swig_obj
[1] ;
18850 if (!args
) SWIG_fail
;
18851 swig_obj
[0] = args
;
18852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18853 if (!SWIG_IsOK(res1
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18861 result
= (wxBrush
*) &_result_ref
;
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18867 wxBrush
* resultptr
= new wxBrush(*result
);
18868 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18876 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18877 PyObject
*resultobj
= 0;
18878 wxDC
*arg1
= (wxDC
*) 0 ;
18879 wxFont
*result
= 0 ;
18882 PyObject
*swig_obj
[1] ;
18884 if (!args
) SWIG_fail
;
18885 swig_obj
[0] = args
;
18886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18887 if (!SWIG_IsOK(res1
)) {
18888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18895 result
= (wxFont
*) &_result_ref
;
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 wxFont
* resultptr
= new wxFont(*result
);
18902 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18910 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18911 PyObject
*resultobj
= 0;
18912 wxDC
*arg1
= (wxDC
*) 0 ;
18913 wxPen
*result
= 0 ;
18916 PyObject
*swig_obj
[1] ;
18918 if (!args
) SWIG_fail
;
18919 swig_obj
[0] = args
;
18920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18921 if (!SWIG_IsOK(res1
)) {
18922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18929 result
= (wxPen
*) &_result_ref
;
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 wxPen
* resultptr
= new wxPen(*result
);
18936 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18944 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18945 PyObject
*resultobj
= 0;
18946 wxDC
*arg1
= (wxDC
*) 0 ;
18947 wxColour
*result
= 0 ;
18950 PyObject
*swig_obj
[1] ;
18952 if (!args
) SWIG_fail
;
18953 swig_obj
[0] = args
;
18954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18955 if (!SWIG_IsOK(res1
)) {
18956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18963 result
= (wxColour
*) &_result_ref
;
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18975 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18976 PyObject
*resultobj
= 0;
18977 wxDC
*arg1
= (wxDC
*) 0 ;
18978 wxColour
*result
= 0 ;
18981 PyObject
*swig_obj
[1] ;
18983 if (!args
) SWIG_fail
;
18984 swig_obj
[0] = args
;
18985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18986 if (!SWIG_IsOK(res1
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18994 result
= (wxColour
*) &_result_ref
;
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19006 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
= 0;
19008 wxDC
*arg1
= (wxDC
*) 0 ;
19009 wxColour
*arg2
= 0 ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 char * kwnames
[] = {
19016 (char *) "self",(char *) "colour", NULL
19019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19021 if (!SWIG_IsOK(res1
)) {
19022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_Py_Void();
19042 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
= 0;
19044 wxDC
*arg1
= (wxDC
*) 0 ;
19045 wxColour
*arg2
= 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char * kwnames
[] = {
19052 (char *) "self",(char *) "colour", NULL
19055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19057 if (!SWIG_IsOK(res1
)) {
19058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_Py_Void();
19078 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19079 PyObject
*resultobj
= 0;
19080 wxDC
*arg1
= (wxDC
*) 0 ;
19084 PyObject
*swig_obj
[1] ;
19086 if (!args
) SWIG_fail
;
19087 swig_obj
[0] = args
;
19088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19089 if (!SWIG_IsOK(res1
)) {
19090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_From_int(static_cast< int >(result
));
19106 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
= 0;
19108 wxDC
*arg1
= (wxDC
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char * kwnames
[] = {
19117 (char *) "self",(char *) "mode", NULL
19120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19122 if (!SWIG_IsOK(res1
)) {
19123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19127 if (!SWIG_IsOK(ecode2
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19130 arg2
= static_cast< int >(val2
);
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 (arg1
)->SetMapMode(arg2
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_Py_Void();
19144 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19145 PyObject
*resultobj
= 0;
19146 wxDC
*arg1
= (wxDC
*) 0 ;
19147 double *arg2
= (double *) 0 ;
19148 double *arg3
= (double *) 0 ;
19152 int res2
= SWIG_TMPOBJ
;
19154 int res3
= SWIG_TMPOBJ
;
19155 PyObject
*swig_obj
[1] ;
19159 if (!args
) SWIG_fail
;
19160 swig_obj
[0] = args
;
19161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19162 if (!SWIG_IsOK(res1
)) {
19163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= SWIG_Py_Void();
19173 if (SWIG_IsTmpObj(res2
)) {
19174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19176 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19179 if (SWIG_IsTmpObj(res3
)) {
19180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19182 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19191 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= 0;
19193 wxDC
*arg1
= (wxDC
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 PyObject
* obj2
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "x",(char *) "y", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19215 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19216 if (!SWIG_IsOK(ecode2
)) {
19217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19219 arg2
= static_cast< double >(val2
);
19220 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19221 if (!SWIG_IsOK(ecode3
)) {
19222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19224 arg3
= static_cast< double >(val3
);
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 (arg1
)->SetUserScale(arg2
,arg3
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_Py_Void();
19238 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19239 PyObject
*resultobj
= 0;
19240 wxDC
*arg1
= (wxDC
*) 0 ;
19241 double *arg2
= (double *) 0 ;
19242 double *arg3
= (double *) 0 ;
19246 int res2
= SWIG_TMPOBJ
;
19248 int res3
= SWIG_TMPOBJ
;
19249 PyObject
*swig_obj
[1] ;
19253 if (!args
) SWIG_fail
;
19254 swig_obj
[0] = args
;
19255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19256 if (!SWIG_IsOK(res1
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 (arg1
)->GetLogicalScale(arg2
,arg3
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_Py_Void();
19267 if (SWIG_IsTmpObj(res2
)) {
19268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19273 if (SWIG_IsTmpObj(res3
)) {
19274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19285 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
= 0;
19287 wxDC
*arg1
= (wxDC
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 PyObject
* obj2
= 0 ;
19299 char * kwnames
[] = {
19300 (char *) "self",(char *) "x",(char *) "y", NULL
19303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19305 if (!SWIG_IsOK(res1
)) {
19306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19309 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19310 if (!SWIG_IsOK(ecode2
)) {
19311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19313 arg2
= static_cast< double >(val2
);
19314 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19315 if (!SWIG_IsOK(ecode3
)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19318 arg3
= static_cast< double >(val3
);
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->SetLogicalScale(arg2
,arg3
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= SWIG_Py_Void();
19332 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(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_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19360 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19361 PyObject
*resultobj
= 0;
19362 wxDC
*arg1
= (wxDC
*) 0 ;
19363 int *arg2
= (int *) 0 ;
19364 int *arg3
= (int *) 0 ;
19368 int res2
= SWIG_TMPOBJ
;
19370 int res3
= SWIG_TMPOBJ
;
19371 PyObject
*swig_obj
[1] ;
19375 if (!args
) SWIG_fail
;
19376 swig_obj
[0] = args
;
19377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 resultobj
= SWIG_Py_Void();
19389 if (SWIG_IsTmpObj(res2
)) {
19390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19392 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19395 if (SWIG_IsTmpObj(res3
)) {
19396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19398 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19407 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
= 0;
19409 wxDC
*arg1
= (wxDC
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 PyObject
* obj2
= 0 ;
19421 char * kwnames
[] = {
19422 (char *) "self",(char *) "x",(char *) "y", NULL
19425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19427 if (!SWIG_IsOK(res1
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19432 if (!SWIG_IsOK(ecode2
)) {
19433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19435 arg2
= static_cast< int >(val2
);
19436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19437 if (!SWIG_IsOK(ecode3
)) {
19438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19440 arg3
= static_cast< int >(val3
);
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= SWIG_Py_Void();
19454 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
= 0;
19456 wxDC
*arg1
= (wxDC
*) 0 ;
19457 wxPoint
*arg2
= 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char * kwnames
[] = {
19464 (char *) "self",(char *) "point", NULL
19467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19469 if (!SWIG_IsOK(res1
)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_Py_Void();
19490 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19491 PyObject
*resultobj
= 0;
19492 wxDC
*arg1
= (wxDC
*) 0 ;
19496 PyObject
*swig_obj
[1] ;
19498 if (!args
) SWIG_fail
;
19499 swig_obj
[0] = args
;
19500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19501 if (!SWIG_IsOK(res1
)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19518 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 PyObject
*resultobj
= 0;
19520 wxDC
*arg1
= (wxDC
*) 0 ;
19521 int *arg2
= (int *) 0 ;
19522 int *arg3
= (int *) 0 ;
19526 int res2
= SWIG_TMPOBJ
;
19528 int res3
= SWIG_TMPOBJ
;
19529 PyObject
*swig_obj
[1] ;
19533 if (!args
) SWIG_fail
;
19534 swig_obj
[0] = args
;
19535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19536 if (!SWIG_IsOK(res1
)) {
19537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_Py_Void();
19547 if (SWIG_IsTmpObj(res2
)) {
19548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19550 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19553 if (SWIG_IsTmpObj(res3
)) {
19554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19556 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19565 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
= 0;
19567 wxDC
*arg1
= (wxDC
*) 0 ;
19576 PyObject
* obj0
= 0 ;
19577 PyObject
* obj1
= 0 ;
19578 PyObject
* obj2
= 0 ;
19579 char * kwnames
[] = {
19580 (char *) "self",(char *) "x",(char *) "y", NULL
19583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19585 if (!SWIG_IsOK(res1
)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19590 if (!SWIG_IsOK(ecode2
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19593 arg2
= static_cast< int >(val2
);
19594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19595 if (!SWIG_IsOK(ecode3
)) {
19596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19598 arg3
= static_cast< int >(val3
);
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_Py_Void();
19612 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
= 0;
19614 wxDC
*arg1
= (wxDC
*) 0 ;
19615 wxPoint
*arg2
= 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 char * kwnames
[] = {
19622 (char *) "self",(char *) "point", NULL
19625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19627 if (!SWIG_IsOK(res1
)) {
19628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_Py_Void();
19648 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= 0;
19650 wxDC
*arg1
= (wxDC
*) 0 ;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 PyObject
* obj2
= 0 ;
19662 char * kwnames
[] = {
19663 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19668 if (!SWIG_IsOK(res1
)) {
19669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19672 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19673 if (!SWIG_IsOK(ecode2
)) {
19674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19676 arg2
= static_cast< bool >(val2
);
19677 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19678 if (!SWIG_IsOK(ecode3
)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19681 arg3
= static_cast< bool >(val3
);
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= SWIG_Py_Void();
19695 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19696 PyObject
*resultobj
= 0;
19697 wxDC
*arg1
= (wxDC
*) 0 ;
19701 PyObject
*swig_obj
[1] ;
19703 if (!args
) SWIG_fail
;
19704 swig_obj
[0] = args
;
19705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19706 if (!SWIG_IsOK(res1
)) {
19707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_From_int(static_cast< int >(result
));
19723 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
= 0;
19725 wxDC
*arg1
= (wxDC
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 char * kwnames
[] = {
19734 (char *) "self",(char *) "function", NULL
19737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19739 if (!SWIG_IsOK(res1
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19744 if (!SWIG_IsOK(ecode2
)) {
19745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19747 arg2
= static_cast< int >(val2
);
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 (arg1
)->SetLogicalFunction(arg2
);
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= SWIG_Py_Void();
19761 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19762 PyObject
*resultobj
= 0;
19763 wxDC
*arg1
= (wxDC
*) 0 ;
19766 PyObject
*swig_obj
[1] ;
19768 if (!args
) SWIG_fail
;
19769 swig_obj
[0] = args
;
19770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19771 if (!SWIG_IsOK(res1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 (arg1
)->ComputeScaleAndOrigin();
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= SWIG_Py_Void();
19788 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
= 0;
19790 wxDC
*arg1
= (wxDC
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 PyObject
* obj2
= 0 ;
19802 char * kwnames
[] = {
19803 (char *) "self",(char *) "x",(char *) "y", NULL
19806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19808 if (!SWIG_IsOK(res1
)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19813 if (!SWIG_IsOK(ecode2
)) {
19814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19816 arg2
= static_cast< int >(val2
);
19817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19818 if (!SWIG_IsOK(ecode3
)) {
19819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19821 arg3
= static_cast< int >(val3
);
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_Py_Void();
19835 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxDC
*arg1
= (wxDC
*) 0 ;
19838 wxPoint
*arg2
= 0 ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char * kwnames
[] = {
19845 (char *) "self",(char *) "point", NULL
19848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19850 if (!SWIG_IsOK(res1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_Py_Void();
19871 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19872 PyObject
*resultobj
= 0;
19873 wxDC
*arg1
= (wxDC
*) 0 ;
19876 PyObject
*swig_obj
[1] ;
19878 if (!args
) SWIG_fail
;
19879 swig_obj
[0] = args
;
19880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 (arg1
)->ResetBoundingBox();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_Py_Void();
19898 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19899 PyObject
*resultobj
= 0;
19900 wxDC
*arg1
= (wxDC
*) 0 ;
19904 PyObject
*swig_obj
[1] ;
19906 if (!args
) SWIG_fail
;
19907 swig_obj
[0] = args
;
19908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19909 if (!SWIG_IsOK(res1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (int)((wxDC
const *)arg1
)->MinX();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_From_int(static_cast< int >(result
));
19926 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19927 PyObject
*resultobj
= 0;
19928 wxDC
*arg1
= (wxDC
*) 0 ;
19932 PyObject
*swig_obj
[1] ;
19934 if (!args
) SWIG_fail
;
19935 swig_obj
[0] = args
;
19936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19937 if (!SWIG_IsOK(res1
)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (int)((wxDC
const *)arg1
)->MaxX();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= SWIG_From_int(static_cast< int >(result
));
19954 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19955 PyObject
*resultobj
= 0;
19956 wxDC
*arg1
= (wxDC
*) 0 ;
19960 PyObject
*swig_obj
[1] ;
19962 if (!args
) SWIG_fail
;
19963 swig_obj
[0] = args
;
19964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19965 if (!SWIG_IsOK(res1
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (int)((wxDC
const *)arg1
)->MinY();
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_From_int(static_cast< int >(result
));
19982 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19983 PyObject
*resultobj
= 0;
19984 wxDC
*arg1
= (wxDC
*) 0 ;
19988 PyObject
*swig_obj
[1] ;
19990 if (!args
) SWIG_fail
;
19991 swig_obj
[0] = args
;
19992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (int)((wxDC
const *)arg1
)->MaxY();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_From_int(static_cast< int >(result
));
20010 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20011 PyObject
*resultobj
= 0;
20012 wxDC
*arg1
= (wxDC
*) 0 ;
20013 int *arg2
= (int *) 0 ;
20014 int *arg3
= (int *) 0 ;
20015 int *arg4
= (int *) 0 ;
20016 int *arg5
= (int *) 0 ;
20020 int res2
= SWIG_TMPOBJ
;
20022 int res3
= SWIG_TMPOBJ
;
20024 int res4
= SWIG_TMPOBJ
;
20026 int res5
= SWIG_TMPOBJ
;
20027 PyObject
*swig_obj
[1] ;
20033 if (!args
) SWIG_fail
;
20034 swig_obj
[0] = args
;
20035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20036 if (!SWIG_IsOK(res1
)) {
20037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_Py_Void();
20047 if (SWIG_IsTmpObj(res2
)) {
20048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20050 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20053 if (SWIG_IsTmpObj(res3
)) {
20054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20056 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20059 if (SWIG_IsTmpObj(res4
)) {
20060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20062 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20065 if (SWIG_IsTmpObj(res5
)) {
20066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20068 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20077 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
= 0;
20079 wxDC
*arg1
= (wxDC
*) 0 ;
20080 PyObject
*arg2
= (PyObject
*) 0 ;
20081 PyObject
*arg3
= (PyObject
*) 0 ;
20082 PyObject
*arg4
= (PyObject
*) 0 ;
20083 PyObject
*result
= 0 ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 PyObject
* obj2
= 0 ;
20089 PyObject
* obj3
= 0 ;
20090 char * kwnames
[] = {
20091 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20096 if (!SWIG_IsOK(res1
)) {
20097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= result
;
20116 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
= 0;
20118 wxDC
*arg1
= (wxDC
*) 0 ;
20119 PyObject
*arg2
= (PyObject
*) 0 ;
20120 PyObject
*arg3
= (PyObject
*) 0 ;
20121 PyObject
*arg4
= (PyObject
*) 0 ;
20122 PyObject
*result
= 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 PyObject
* obj3
= 0 ;
20129 char * kwnames
[] = {
20130 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20135 if (!SWIG_IsOK(res1
)) {
20136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
;
20155 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
= 0;
20157 wxDC
*arg1
= (wxDC
*) 0 ;
20158 PyObject
*arg2
= (PyObject
*) 0 ;
20159 PyObject
*arg3
= (PyObject
*) 0 ;
20160 PyObject
*arg4
= (PyObject
*) 0 ;
20161 PyObject
*result
= 0 ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 PyObject
* obj2
= 0 ;
20167 PyObject
* obj3
= 0 ;
20168 char * kwnames
[] = {
20169 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20174 if (!SWIG_IsOK(res1
)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= result
;
20194 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
= 0;
20196 wxDC
*arg1
= (wxDC
*) 0 ;
20197 PyObject
*arg2
= (PyObject
*) 0 ;
20198 PyObject
*arg3
= (PyObject
*) 0 ;
20199 PyObject
*arg4
= (PyObject
*) 0 ;
20200 PyObject
*result
= 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 PyObject
* obj2
= 0 ;
20206 PyObject
* obj3
= 0 ;
20207 char * kwnames
[] = {
20208 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= result
;
20233 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= 0;
20235 wxDC
*arg1
= (wxDC
*) 0 ;
20236 PyObject
*arg2
= (PyObject
*) 0 ;
20237 PyObject
*arg3
= (PyObject
*) 0 ;
20238 PyObject
*arg4
= (PyObject
*) 0 ;
20239 PyObject
*result
= 0 ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 PyObject
* obj2
= 0 ;
20245 PyObject
* obj3
= 0 ;
20246 char * kwnames
[] = {
20247 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20252 if (!SWIG_IsOK(res1
)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= result
;
20272 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
= 0;
20274 wxDC
*arg1
= (wxDC
*) 0 ;
20275 PyObject
*arg2
= (PyObject
*) 0 ;
20276 PyObject
*arg3
= (PyObject
*) 0 ;
20277 PyObject
*arg4
= (PyObject
*) 0 ;
20278 PyObject
*arg5
= (PyObject
*) 0 ;
20279 PyObject
*result
= 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 PyObject
* obj2
= 0 ;
20285 PyObject
* obj3
= 0 ;
20286 PyObject
* obj4
= 0 ;
20287 char * kwnames
[] = {
20288 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= result
;
20314 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20317 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20318 return SWIG_Py_Void();
20321 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20322 PyObject
*resultobj
= 0;
20323 wxMemoryDC
*result
= 0 ;
20325 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20327 if (!wxPyCheckForApp()) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= (wxMemoryDC
*)new wxMemoryDC();
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20340 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
= 0;
20342 wxDC
*arg1
= (wxDC
*) 0 ;
20343 wxMemoryDC
*result
= 0 ;
20346 PyObject
* obj0
= 0 ;
20347 char * kwnames
[] = {
20348 (char *) "oldDC", NULL
20351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20353 if (!SWIG_IsOK(res1
)) {
20354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20358 if (!wxPyCheckForApp()) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20371 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
= 0;
20373 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20374 wxBitmap
*arg2
= 0 ;
20379 PyObject
* obj0
= 0 ;
20380 PyObject
* obj1
= 0 ;
20381 char * kwnames
[] = {
20382 (char *) "self",(char *) "bitmap", NULL
20385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20387 if (!SWIG_IsOK(res1
)) {
20388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20390 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20392 if (!SWIG_IsOK(res2
)) {
20393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20398 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_Py_Void();
20412 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20415 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20416 return SWIG_Py_Void();
20419 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20420 return SWIG_Python_InitShadowInstance(args
);
20423 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20424 PyObject
*resultobj
= 0;
20425 wxDC
*arg1
= (wxDC
*) 0 ;
20426 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20427 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20428 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20429 wxBufferedDC
*result
= 0 ;
20437 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
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 '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20444 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20445 if (!SWIG_IsOK(res2
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20451 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20454 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20455 if (!SWIG_IsOK(ecode3
)) {
20456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20458 arg3
= static_cast< int >(val3
);
20461 if (!wxPyCheckForApp()) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20474 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20475 PyObject
*resultobj
= 0;
20476 wxDC
*arg1
= (wxDC
*) 0 ;
20478 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20479 wxBufferedDC
*result
= 0 ;
20486 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20488 if (!SWIG_IsOK(res1
)) {
20489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20494 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20497 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20498 if (!SWIG_IsOK(ecode3
)) {
20499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20501 arg3
= static_cast< int >(val3
);
20504 if (!wxPyCheckForApp()) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20517 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20521 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20523 if ((argc
>= 1) && (argc
<= 3)) {
20527 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20528 _v
= SWIG_CheckState(res
);
20530 if (!_v
) goto check_1
;
20532 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20536 if ((argc
>= 2) && (argc
<= 3)) {
20537 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20541 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20546 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20547 PyObject
*resultobj
= 0;
20548 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20551 PyObject
*swig_obj
[1] ;
20553 if (!args
) SWIG_fail
;
20554 swig_obj
[0] = args
;
20555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20556 if (!SWIG_IsOK(res1
)) {
20557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20559 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_Py_Void();
20574 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20575 PyObject
*resultobj
= 0;
20576 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20579 PyObject
*swig_obj
[1] ;
20581 if (!args
) SWIG_fail
;
20582 swig_obj
[0] = args
;
20583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20587 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_Py_Void();
20601 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20604 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20605 return SWIG_Py_Void();
20608 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20609 return SWIG_Python_InitShadowInstance(args
);
20612 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= 0;
20614 wxWindow
*arg1
= (wxWindow
*) 0 ;
20615 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20616 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20617 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20618 wxBufferedPaintDC
*result
= 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 PyObject
* obj2
= 0 ;
20628 char * kwnames
[] = {
20629 (char *) "window",(char *) "buffer",(char *) "style", NULL
20632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20634 if (!SWIG_IsOK(res1
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20640 if (!SWIG_IsOK(res2
)) {
20641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20646 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20650 if (!SWIG_IsOK(ecode3
)) {
20651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20653 arg3
= static_cast< int >(val3
);
20656 if (!wxPyCheckForApp()) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20669 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20672 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20673 return SWIG_Py_Void();
20676 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20677 return SWIG_Python_InitShadowInstance(args
);
20680 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20681 PyObject
*resultobj
= 0;
20682 wxScreenDC
*result
= 0 ;
20684 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20686 if (!wxPyCheckForApp()) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (wxScreenDC
*)new wxScreenDC();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20699 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= 0;
20701 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20702 wxWindow
*arg2
= (wxWindow
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 char * kwnames
[] = {
20711 (char *) "self",(char *) "window", NULL
20714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20719 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20721 if (!SWIG_IsOK(res2
)) {
20722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20740 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
= 0;
20742 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20743 wxRect
*arg2
= (wxRect
*) NULL
;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 char * kwnames
[] = {
20752 (char *) "self",(char *) "rect", NULL
20755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20757 if (!SWIG_IsOK(res1
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20760 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20763 if (!SWIG_IsOK(res2
)) {
20764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20766 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20783 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20784 PyObject
*resultobj
= 0;
20785 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20789 PyObject
*swig_obj
[1] ;
20791 if (!args
) SWIG_fail
;
20792 swig_obj
[0] = args
;
20793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20794 if (!SWIG_IsOK(res1
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20797 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (bool)(arg1
)->EndDrawingOnTop();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20813 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20816 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20817 return SWIG_Py_Void();
20820 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20821 return SWIG_Python_InitShadowInstance(args
);
20824 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= 0;
20826 wxWindow
*arg1
= (wxWindow
*) 0 ;
20827 wxClientDC
*result
= 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char * kwnames
[] = {
20832 (char *) "win", NULL
20835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20842 if (!wxPyCheckForApp()) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxClientDC
*)new wxClientDC(arg1
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20855 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20858 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20859 return SWIG_Py_Void();
20862 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20863 return SWIG_Python_InitShadowInstance(args
);
20866 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
= 0;
20868 wxWindow
*arg1
= (wxWindow
*) 0 ;
20869 wxPaintDC
*result
= 0 ;
20872 PyObject
* obj0
= 0 ;
20873 char * kwnames
[] = {
20874 (char *) "win", NULL
20877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20879 if (!SWIG_IsOK(res1
)) {
20880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20884 if (!wxPyCheckForApp()) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20897 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20901 return SWIG_Py_Void();
20904 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20905 return SWIG_Python_InitShadowInstance(args
);
20908 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
= 0;
20910 wxWindow
*arg1
= (wxWindow
*) 0 ;
20911 wxWindowDC
*result
= 0 ;
20914 PyObject
* obj0
= 0 ;
20915 char * kwnames
[] = {
20916 (char *) "win", NULL
20919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20926 if (!wxPyCheckForApp()) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20939 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20942 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20943 return SWIG_Py_Void();
20946 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20947 return SWIG_Python_InitShadowInstance(args
);
20950 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
= 0;
20954 wxMirrorDC
*result
= 0 ;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 char * kwnames
[] = {
20962 (char *) "dc",(char *) "mirror", NULL
20965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20966 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20967 if (!SWIG_IsOK(res1
)) {
20968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20974 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20975 if (!SWIG_IsOK(ecode2
)) {
20976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20978 arg2
= static_cast< bool >(val2
);
20980 if (!wxPyCheckForApp()) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20993 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20996 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20997 return SWIG_Py_Void();
21000 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 return SWIG_Python_InitShadowInstance(args
);
21004 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
= 0;
21006 wxPrintData
*arg1
= 0 ;
21007 wxPostScriptDC
*result
= 0 ;
21010 PyObject
* obj0
= 0 ;
21011 char * kwnames
[] = {
21012 (char *) "printData", NULL
21015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21016 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21017 if (!SWIG_IsOK(res1
)) {
21018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21023 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21025 if (!wxPyCheckForApp()) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21038 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21039 PyObject
*resultobj
= 0;
21040 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21041 wxPrintData
*result
= 0 ;
21044 PyObject
*swig_obj
[1] ;
21046 if (!args
) SWIG_fail
;
21047 swig_obj
[0] = args
;
21048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21052 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21057 result
= (wxPrintData
*) &_result_ref
;
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21069 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
= 0;
21071 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21072 wxPrintData
*arg2
= 0 ;
21077 PyObject
* obj0
= 0 ;
21078 PyObject
* obj1
= 0 ;
21079 char * kwnames
[] = {
21080 (char *) "self",(char *) "data", NULL
21083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21085 if (!SWIG_IsOK(res1
)) {
21086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21088 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21090 if (!SWIG_IsOK(res2
)) {
21091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21096 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_Py_Void();
21110 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
= 0;
21115 PyObject
* obj0
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "ppi", NULL
21120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21122 if (!SWIG_IsOK(ecode1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21125 arg1
= static_cast< int >(val1
);
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 wxPostScriptDC::SetResolution(arg1
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_Py_Void();
21139 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 PyObject
*resultobj
= 0;
21143 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (int)wxPostScriptDC::GetResolution();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_From_int(static_cast< int >(result
));
21157 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21160 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21161 return SWIG_Py_Void();
21164 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21165 return SWIG_Python_InitShadowInstance(args
);
21168 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
= 0;
21170 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21171 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21172 wxMetaFile
*result
= 0 ;
21173 bool temp1
= false ;
21174 PyObject
* obj0
= 0 ;
21175 char * kwnames
[] = {
21176 (char *) "filename", NULL
21179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21182 arg1
= wxString_in_helper(obj0
);
21183 if (arg1
== NULL
) SWIG_fail
;
21188 if (!wxPyCheckForApp()) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21209 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21212 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21213 return SWIG_Py_Void();
21216 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21217 return SWIG_Python_InitShadowInstance(args
);
21220 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
= 0;
21222 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21223 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21224 int arg2
= (int) 0 ;
21225 int arg3
= (int) 0 ;
21226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21228 wxMetaFileDC
*result
= 0 ;
21229 bool temp1
= false ;
21234 bool temp4
= false ;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 PyObject
* obj2
= 0 ;
21238 PyObject
* obj3
= 0 ;
21239 char * kwnames
[] = {
21240 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21246 arg1
= wxString_in_helper(obj0
);
21247 if (arg1
== NULL
) SWIG_fail
;
21252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21253 if (!SWIG_IsOK(ecode2
)) {
21254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21256 arg2
= static_cast< int >(val2
);
21259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21260 if (!SWIG_IsOK(ecode3
)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21263 arg3
= static_cast< int >(val3
);
21267 arg4
= wxString_in_helper(obj3
);
21268 if (arg4
== NULL
) SWIG_fail
;
21273 if (!wxPyCheckForApp()) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21302 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21305 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21306 return SWIG_Py_Void();
21309 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21310 return SWIG_Python_InitShadowInstance(args
);
21313 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
= 0;
21315 wxPrintData
*arg1
= 0 ;
21316 wxPrinterDC
*result
= 0 ;
21319 PyObject
* obj0
= 0 ;
21320 char * kwnames
[] = {
21321 (char *) "printData", NULL
21324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21325 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21326 if (!SWIG_IsOK(res1
)) {
21327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21332 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21334 if (!wxPyCheckForApp()) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21347 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21351 return SWIG_Py_Void();
21354 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21355 return SWIG_Python_InitShadowInstance(args
);
21358 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21362 int arg3
= (int) true ;
21363 int arg4
= (int) 1 ;
21364 wxImageList
*result
= 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 PyObject
* obj2
= 0 ;
21376 PyObject
* obj3
= 0 ;
21377 char * kwnames
[] = {
21378 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21383 if (!SWIG_IsOK(ecode1
)) {
21384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21386 arg1
= static_cast< int >(val1
);
21387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21388 if (!SWIG_IsOK(ecode2
)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21391 arg2
= static_cast< int >(val2
);
21393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21394 if (!SWIG_IsOK(ecode3
)) {
21395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21397 arg3
= static_cast< int >(val3
);
21400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21401 if (!SWIG_IsOK(ecode4
)) {
21402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21404 arg4
= static_cast< int >(val4
);
21407 if (!wxPyCheckForApp()) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21422 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 PyObject
*resultobj
= 0;
21424 wxImageList
*arg1
= (wxImageList
*) 0 ;
21427 PyObject
*swig_obj
[1] ;
21429 if (!args
) SWIG_fail
;
21430 swig_obj
[0] = args
;
21431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21432 if (!SWIG_IsOK(res1
)) {
21433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21435 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_Py_Void();
21450 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
= 0;
21452 wxImageList
*arg1
= (wxImageList
*) 0 ;
21453 wxBitmap
*arg2
= 0 ;
21454 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21455 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21465 PyObject
* obj2
= 0 ;
21466 char * kwnames
[] = {
21467 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21475 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21477 if (!SWIG_IsOK(res2
)) {
21478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21483 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21485 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21486 if (!SWIG_IsOK(res3
)) {
21487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21492 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_From_int(static_cast< int >(result
));
21507 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
= 0;
21509 wxImageList
*arg1
= (wxImageList
*) 0 ;
21510 wxBitmap
*arg2
= 0 ;
21511 wxColour
*arg3
= 0 ;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 PyObject
* obj2
= 0 ;
21521 char * kwnames
[] = {
21522 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21527 if (!SWIG_IsOK(res1
)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21530 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21532 if (!SWIG_IsOK(res2
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21538 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21541 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_From_int(static_cast< int >(result
));
21556 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
= 0;
21558 wxImageList
*arg1
= (wxImageList
*) 0 ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char * kwnames
[] = {
21568 (char *) "self",(char *) "icon", NULL
21571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21573 if (!SWIG_IsOK(res1
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21576 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21578 if (!SWIG_IsOK(res2
)) {
21579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21584 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_From_int(static_cast< int >(result
));
21598 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
= 0;
21600 wxImageList
*arg1
= (wxImageList
*) 0 ;
21602 SwigValueWrapper
<wxBitmap
> result
;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char * kwnames
[] = {
21610 (char *) "self",(char *) "index", NULL
21613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21615 if (!SWIG_IsOK(res1
)) {
21616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21618 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21620 if (!SWIG_IsOK(ecode2
)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21623 arg2
= static_cast< int >(val2
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21637 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
= 0;
21639 wxImageList
*arg1
= (wxImageList
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char * kwnames
[] = {
21649 (char *) "self",(char *) "index", NULL
21652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21657 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21659 if (!SWIG_IsOK(ecode2
)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21662 arg2
= static_cast< int >(val2
);
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21676 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
= 0;
21678 wxImageList
*arg1
= (wxImageList
*) 0 ;
21680 wxBitmap
*arg3
= 0 ;
21681 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
21682 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 PyObject
* obj2
= 0 ;
21695 PyObject
* obj3
= 0 ;
21696 char * kwnames
[] = {
21697 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
21700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21702 if (!SWIG_IsOK(res1
)) {
21703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21705 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21707 if (!SWIG_IsOK(ecode2
)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21710 arg2
= static_cast< int >(val2
);
21711 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21712 if (!SWIG_IsOK(res3
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21718 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21720 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21721 if (!SWIG_IsOK(res4
)) {
21722 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21727 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21744 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
= 0;
21746 wxImageList
*arg1
= (wxImageList
*) 0 ;
21751 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21752 bool arg7
= (bool) (bool)false ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 PyObject
* obj2
= 0 ;
21771 PyObject
* obj3
= 0 ;
21772 PyObject
* obj4
= 0 ;
21773 PyObject
* obj5
= 0 ;
21774 PyObject
* obj6
= 0 ;
21775 char * kwnames
[] = {
21776 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21781 if (!SWIG_IsOK(res1
)) {
21782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21784 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21786 if (!SWIG_IsOK(ecode2
)) {
21787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21789 arg2
= static_cast< int >(val2
);
21790 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21791 if (!SWIG_IsOK(res3
)) {
21792 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21797 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21799 if (!SWIG_IsOK(ecode4
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21802 arg4
= static_cast< int >(val4
);
21803 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21804 if (!SWIG_IsOK(ecode5
)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21807 arg5
= static_cast< int >(val5
);
21809 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21810 if (!SWIG_IsOK(ecode6
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21813 arg6
= static_cast< int >(val6
);
21816 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21817 if (!SWIG_IsOK(ecode7
)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21820 arg7
= static_cast< bool >(val7
);
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21837 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21838 PyObject
*resultobj
= 0;
21839 wxImageList
*arg1
= (wxImageList
*) 0 ;
21843 PyObject
*swig_obj
[1] ;
21845 if (!args
) SWIG_fail
;
21846 swig_obj
[0] = args
;
21847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
21851 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (int)(arg1
)->GetImageCount();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 resultobj
= SWIG_From_int(static_cast< int >(result
));
21865 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
= 0;
21867 wxImageList
*arg1
= (wxImageList
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 PyObject
* obj1
= 0 ;
21876 char * kwnames
[] = {
21877 (char *) "self",(char *) "index", NULL
21880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
21885 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21887 if (!SWIG_IsOK(ecode2
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
21890 arg2
= static_cast< int >(val2
);
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (bool)(arg1
)->Remove(arg2
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21906 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 PyObject
*resultobj
= 0;
21908 wxImageList
*arg1
= (wxImageList
*) 0 ;
21912 PyObject
*swig_obj
[1] ;
21914 if (!args
) SWIG_fail
;
21915 swig_obj
[0] = args
;
21916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
21920 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)(arg1
)->RemoveAll();
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21936 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
= 0;
21938 wxImageList
*arg1
= (wxImageList
*) 0 ;
21947 int res3
= SWIG_TMPOBJ
;
21949 int res4
= SWIG_TMPOBJ
;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 char * kwnames
[] = {
21953 (char *) "self",(char *) "index", NULL
21958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21960 if (!SWIG_IsOK(res1
)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
21963 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21965 if (!SWIG_IsOK(ecode2
)) {
21966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
21968 arg2
= static_cast< int >(val2
);
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= SWIG_Py_Void();
21976 if (SWIG_IsTmpObj(res3
)) {
21977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21979 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21982 if (SWIG_IsTmpObj(res4
)) {
21983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21985 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21994 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21997 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
21998 return SWIG_Py_Void();
22001 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22002 return SWIG_Python_InitShadowInstance(args
);
22005 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22006 PyObject
*resultobj
= 0;
22007 wxStockGDI
*result
= 0 ;
22009 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (wxStockGDI
*)new wxStockGDI();
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22023 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22024 PyObject
*resultobj
= 0;
22025 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22028 PyObject
*swig_obj
[1] ;
22030 if (!args
) SWIG_fail
;
22031 swig_obj
[0] = args
;
22032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22033 if (!SWIG_IsOK(res1
)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22036 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= SWIG_Py_Void();
22051 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22052 PyObject
*resultobj
= 0;
22054 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 wxStockGDI::DeleteAll();
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= SWIG_Py_Void();
22068 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22069 PyObject
*resultobj
= 0;
22070 wxStockGDI
*result
= 0 ;
22072 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22077 result
= (wxStockGDI
*) &_result_ref
;
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22089 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
= 0;
22091 wxStockGDI::Item arg1
;
22092 wxBrush
*result
= 0 ;
22095 PyObject
* obj0
= 0 ;
22096 char * kwnames
[] = {
22097 (char *) "item", NULL
22100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
22101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22102 if (!SWIG_IsOK(ecode1
)) {
22103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22105 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22119 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= 0;
22121 wxStockGDI::Item arg1
;
22122 wxColour
*result
= 0 ;
22125 PyObject
* obj0
= 0 ;
22126 char * kwnames
[] = {
22127 (char *) "item", NULL
22130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
22131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22132 if (!SWIG_IsOK(ecode1
)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22135 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22149 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
= 0;
22151 wxStockGDI::Item arg1
;
22152 wxCursor
*result
= 0 ;
22155 PyObject
* obj0
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "item", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
22161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22162 if (!SWIG_IsOK(ecode1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22165 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
22179 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
= 0;
22181 wxStockGDI::Item arg1
;
22182 wxPen
*result
= 0 ;
22185 PyObject
* obj0
= 0 ;
22186 char * kwnames
[] = {
22187 (char *) "item", NULL
22190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
22191 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22192 if (!SWIG_IsOK(ecode1
)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22195 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22209 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
= 0;
22211 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22212 wxStockGDI::Item arg2
;
22213 wxFont
*result
= 0 ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 char * kwnames
[] = {
22221 (char *) "self",(char *) "item", NULL
22224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22229 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22231 if (!SWIG_IsOK(ecode2
)) {
22232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
22234 arg2
= static_cast< wxStockGDI::Item
>(val2
);
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22248 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22251 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
22252 return SWIG_Py_Void();
22255 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22256 return SWIG_Python_InitShadowInstance(args
);
22259 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22260 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22265 SWIGINTERN PyObject
*NullBitmap_get(void) {
22266 PyObject
*pyobj
= 0;
22268 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22273 SWIGINTERN
int NullIcon_set(PyObject
*) {
22274 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22279 SWIGINTERN PyObject
*NullIcon_get(void) {
22280 PyObject
*pyobj
= 0;
22282 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22287 SWIGINTERN
int NullCursor_set(PyObject
*) {
22288 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22293 SWIGINTERN PyObject
*NullCursor_get(void) {
22294 PyObject
*pyobj
= 0;
22296 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22301 SWIGINTERN
int NullPen_set(PyObject
*) {
22302 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22307 SWIGINTERN PyObject
*NullPen_get(void) {
22308 PyObject
*pyobj
= 0;
22310 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22315 SWIGINTERN
int NullBrush_set(PyObject
*) {
22316 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22321 SWIGINTERN PyObject
*NullBrush_get(void) {
22322 PyObject
*pyobj
= 0;
22324 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22329 SWIGINTERN
int NullPalette_set(PyObject
*) {
22330 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22335 SWIGINTERN PyObject
*NullPalette_get(void) {
22336 PyObject
*pyobj
= 0;
22338 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22343 SWIGINTERN
int NullFont_set(PyObject
*) {
22344 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22349 SWIGINTERN PyObject
*NullFont_get(void) {
22350 PyObject
*pyobj
= 0;
22352 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22357 SWIGINTERN
int NullColour_set(PyObject
*) {
22358 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22363 SWIGINTERN PyObject
*NullColour_get(void) {
22364 PyObject
*pyobj
= 0;
22366 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22371 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22372 PyObject
*resultobj
= 0;
22373 wxGDIObjListBase
*result
= 0 ;
22375 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
22389 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22390 PyObject
*resultobj
= 0;
22391 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
22394 PyObject
*swig_obj
[1] ;
22396 if (!args
) SWIG_fail
;
22397 swig_obj
[0] = args
;
22398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
22402 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_Py_Void();
22417 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22420 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
22421 return SWIG_Py_Void();
22424 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22425 return SWIG_Python_InitShadowInstance(args
);
22428 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
= 0;
22430 wxPenList
*arg1
= (wxPenList
*) 0 ;
22431 wxColour
*arg2
= 0 ;
22434 wxPen
*result
= 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 PyObject
* obj2
= 0 ;
22445 PyObject
* obj3
= 0 ;
22446 char * kwnames
[] = {
22447 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22455 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22461 if (!SWIG_IsOK(ecode3
)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22464 arg3
= static_cast< int >(val3
);
22465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22466 if (!SWIG_IsOK(ecode4
)) {
22467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22469 arg4
= static_cast< int >(val4
);
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22483 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
= 0;
22485 wxPenList
*arg1
= (wxPenList
*) 0 ;
22486 wxPen
*arg2
= (wxPen
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 char * kwnames
[] = {
22494 (char *) "self",(char *) "pen", NULL
22497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22502 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22504 if (!SWIG_IsOK(res2
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22507 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 (arg1
)->AddPen(arg2
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= SWIG_Py_Void();
22521 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
= 0;
22523 wxPenList
*arg1
= (wxPenList
*) 0 ;
22524 wxPen
*arg2
= (wxPen
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char * kwnames
[] = {
22532 (char *) "self",(char *) "pen", NULL
22535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22537 if (!SWIG_IsOK(res1
)) {
22538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22540 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22542 if (!SWIG_IsOK(res2
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22545 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 (arg1
)->RemovePen(arg2
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_Py_Void();
22559 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22562 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22563 return SWIG_Py_Void();
22566 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
= 0;
22568 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22569 wxColour
*arg2
= 0 ;
22570 int arg3
= (int) wxSOLID
;
22571 wxBrush
*result
= 0 ;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 PyObject
* obj2
= 0 ;
22580 char * kwnames
[] = {
22581 (char *) "self",(char *) "colour",(char *) "style", NULL
22584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22586 if (!SWIG_IsOK(res1
)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22589 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22596 if (!SWIG_IsOK(ecode3
)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22599 arg3
= static_cast< int >(val3
);
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22614 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
= 0;
22616 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22617 wxBrush
*arg2
= (wxBrush
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 char * kwnames
[] = {
22625 (char *) "self",(char *) "brush", NULL
22628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22630 if (!SWIG_IsOK(res1
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22633 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22634 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22635 if (!SWIG_IsOK(res2
)) {
22636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22638 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 (arg1
)->AddBrush(arg2
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= SWIG_Py_Void();
22652 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
= 0;
22654 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22655 wxBrush
*arg2
= (wxBrush
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 char * kwnames
[] = {
22663 (char *) "self",(char *) "brush", NULL
22666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22668 if (!SWIG_IsOK(res1
)) {
22669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22671 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22673 if (!SWIG_IsOK(res2
)) {
22674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22676 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 (arg1
)->RemoveBrush(arg2
);
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_Py_Void();
22690 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22693 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22694 return SWIG_Py_Void();
22697 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= 0;
22699 wxFontList
*arg1
= (wxFontList
*) 0 ;
22704 bool arg6
= (bool) false ;
22705 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22706 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22707 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
22708 wxFont
*result
= 0 ;
22721 bool temp7
= false ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 PyObject
* obj2
= 0 ;
22727 PyObject
* obj3
= 0 ;
22728 PyObject
* obj4
= 0 ;
22729 PyObject
* obj5
= 0 ;
22730 PyObject
* obj6
= 0 ;
22731 PyObject
* obj7
= 0 ;
22732 char * kwnames
[] = {
22733 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
22736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22741 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22743 if (!SWIG_IsOK(ecode2
)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
22746 arg2
= static_cast< int >(val2
);
22747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22748 if (!SWIG_IsOK(ecode3
)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
22751 arg3
= static_cast< int >(val3
);
22752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22753 if (!SWIG_IsOK(ecode4
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
22756 arg4
= static_cast< int >(val4
);
22757 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22758 if (!SWIG_IsOK(ecode5
)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
22761 arg5
= static_cast< int >(val5
);
22763 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
22764 if (!SWIG_IsOK(ecode6
)) {
22765 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
22767 arg6
= static_cast< bool >(val6
);
22771 arg7
= wxString_in_helper(obj6
);
22772 if (arg7
== NULL
) SWIG_fail
;
22777 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
22778 if (!SWIG_IsOK(ecode8
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
22781 arg8
= static_cast< wxFontEncoding
>(val8
);
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22804 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
= 0;
22806 wxFontList
*arg1
= (wxFontList
*) 0 ;
22807 wxFont
*arg2
= (wxFont
*) 0 ;
22812 PyObject
* obj0
= 0 ;
22813 PyObject
* obj1
= 0 ;
22814 char * kwnames
[] = {
22815 (char *) "self",(char *) "font", NULL
22818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22823 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22825 if (!SWIG_IsOK(res2
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
22828 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 (arg1
)->AddFont(arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= SWIG_Py_Void();
22842 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
= 0;
22844 wxFontList
*arg1
= (wxFontList
*) 0 ;
22845 wxFont
*arg2
= (wxFont
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char * kwnames
[] = {
22853 (char *) "self",(char *) "font", NULL
22856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22861 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22863 if (!SWIG_IsOK(res2
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
22866 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 (arg1
)->RemoveFont(arg2
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_Py_Void();
22880 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22883 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
22884 return SWIG_Py_Void();
22887 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22888 PyObject
*resultobj
= 0;
22889 wxColourDatabase
*result
= 0 ;
22891 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
22893 if (!wxPyCheckForApp()) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (wxColourDatabase
*)new wxColourDatabase();
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
22906 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22907 PyObject
*resultobj
= 0;
22908 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22911 PyObject
*swig_obj
[1] ;
22913 if (!args
) SWIG_fail
;
22914 swig_obj
[0] = args
;
22915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
22919 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_Py_Void();
22934 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
= 0;
22936 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22937 wxString
*arg2
= 0 ;
22941 bool temp2
= false ;
22942 PyObject
* obj0
= 0 ;
22943 PyObject
* obj1
= 0 ;
22944 char * kwnames
[] = {
22945 (char *) "self",(char *) "name", NULL
22948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22950 if (!SWIG_IsOK(res1
)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22953 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22955 arg2
= wxString_in_helper(obj1
);
22956 if (arg2
== NULL
) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
22980 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
= 0;
22982 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22983 wxColour
*arg2
= 0 ;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char * kwnames
[] = {
22991 (char *) "self",(char *) "colour", NULL
22994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22996 if (!SWIG_IsOK(res1
)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22999 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23002 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23023 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
= 0;
23025 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23026 wxString
*arg2
= 0 ;
23027 wxColour
*arg3
= 0 ;
23030 bool temp2
= false ;
23032 PyObject
* obj0
= 0 ;
23033 PyObject
* obj1
= 0 ;
23034 PyObject
* obj2
= 0 ;
23035 char * kwnames
[] = {
23036 (char *) "self",(char *) "name",(char *) "colour", NULL
23039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23041 if (!SWIG_IsOK(res1
)) {
23042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23044 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23046 arg2
= wxString_in_helper(obj1
);
23047 if (arg2
== NULL
) SWIG_fail
;
23052 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_Py_Void();
23075 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
= 0;
23077 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23078 wxString
*arg2
= 0 ;
23084 bool temp2
= false ;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 PyObject
* obj2
= 0 ;
23094 PyObject
* obj3
= 0 ;
23095 PyObject
* obj4
= 0 ;
23096 char * kwnames
[] = {
23097 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23105 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23107 arg2
= wxString_in_helper(obj1
);
23108 if (arg2
== NULL
) SWIG_fail
;
23111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23112 if (!SWIG_IsOK(ecode3
)) {
23113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23115 arg3
= static_cast< int >(val3
);
23116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23117 if (!SWIG_IsOK(ecode4
)) {
23118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23120 arg4
= static_cast< int >(val4
);
23121 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23122 if (!SWIG_IsOK(ecode5
)) {
23123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23125 arg5
= static_cast< int >(val5
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_Py_Void();
23147 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23150 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23151 return SWIG_Py_Void();
23154 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23155 return SWIG_Python_InitShadowInstance(args
);
23158 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23159 PyObject
*resultobj
= 0;
23160 wxFontList
*result
= 0 ;
23162 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= (wxFontList
*)_wxPyInitTheFontList();
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
23176 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23177 PyObject
*resultobj
= 0;
23178 wxPenList
*result
= 0 ;
23180 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (wxPenList
*)_wxPyInitThePenList();
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
23194 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23195 PyObject
*resultobj
= 0;
23196 wxBrushList
*result
= 0 ;
23198 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= (wxBrushList
*)_wxPyInitTheBrushList();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
23212 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23213 PyObject
*resultobj
= 0;
23214 wxColourDatabase
*result
= 0 ;
23216 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23230 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23231 PyObject
*resultobj
= 0;
23232 wxEffects
*result
= 0 ;
23234 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (wxEffects
*)new wxEffects();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23248 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23249 PyObject
*resultobj
= 0;
23250 wxEffects
*arg1
= (wxEffects
*) 0 ;
23254 PyObject
*swig_obj
[1] ;
23256 if (!args
) SWIG_fail
;
23257 swig_obj
[0] = args
;
23258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23262 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23276 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxEffects
*arg1
= (wxEffects
*) 0 ;
23282 PyObject
*swig_obj
[1] ;
23284 if (!args
) SWIG_fail
;
23285 swig_obj
[0] = args
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23290 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23304 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23305 PyObject
*resultobj
= 0;
23306 wxEffects
*arg1
= (wxEffects
*) 0 ;
23310 PyObject
*swig_obj
[1] ;
23312 if (!args
) SWIG_fail
;
23313 swig_obj
[0] = args
;
23314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23318 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23332 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 PyObject
*resultobj
= 0;
23334 wxEffects
*arg1
= (wxEffects
*) 0 ;
23338 PyObject
*swig_obj
[1] ;
23340 if (!args
) SWIG_fail
;
23341 swig_obj
[0] = args
;
23342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23343 if (!SWIG_IsOK(res1
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23346 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23360 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23361 PyObject
*resultobj
= 0;
23362 wxEffects
*arg1
= (wxEffects
*) 0 ;
23366 PyObject
*swig_obj
[1] ;
23368 if (!args
) SWIG_fail
;
23369 swig_obj
[0] = args
;
23370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23371 if (!SWIG_IsOK(res1
)) {
23372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23374 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23388 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
= 0;
23390 wxEffects
*arg1
= (wxEffects
*) 0 ;
23391 wxColour
*arg2
= 0 ;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 char * kwnames
[] = {
23398 (char *) "self",(char *) "c", NULL
23401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23406 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= SWIG_Py_Void();
23424 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
= 0;
23426 wxEffects
*arg1
= (wxEffects
*) 0 ;
23427 wxColour
*arg2
= 0 ;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 char * kwnames
[] = {
23434 (char *) "self",(char *) "c", NULL
23437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23439 if (!SWIG_IsOK(res1
)) {
23440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23442 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_Py_Void();
23460 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
= 0;
23462 wxEffects
*arg1
= (wxEffects
*) 0 ;
23463 wxColour
*arg2
= 0 ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 char * kwnames
[] = {
23470 (char *) "self",(char *) "c", NULL
23473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23475 if (!SWIG_IsOK(res1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23478 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_Py_Void();
23496 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
= 0;
23498 wxEffects
*arg1
= (wxEffects
*) 0 ;
23499 wxColour
*arg2
= 0 ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char * kwnames
[] = {
23506 (char *) "self",(char *) "c", NULL
23509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23511 if (!SWIG_IsOK(res1
)) {
23512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23514 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23517 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_Py_Void();
23532 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
= 0;
23534 wxEffects
*arg1
= (wxEffects
*) 0 ;
23535 wxColour
*arg2
= 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char * kwnames
[] = {
23542 (char *) "self",(char *) "c", NULL
23545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23547 if (!SWIG_IsOK(res1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23550 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_Py_Void();
23568 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
= 0;
23570 wxEffects
*arg1
= (wxEffects
*) 0 ;
23571 wxColour
*arg2
= 0 ;
23572 wxColour
*arg3
= 0 ;
23573 wxColour
*arg4
= 0 ;
23574 wxColour
*arg5
= 0 ;
23575 wxColour
*arg6
= 0 ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23585 PyObject
* obj2
= 0 ;
23586 PyObject
* obj3
= 0 ;
23587 PyObject
* obj4
= 0 ;
23588 PyObject
* obj5
= 0 ;
23589 char * kwnames
[] = {
23590 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23595 if (!SWIG_IsOK(res1
)) {
23596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23598 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23605 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23609 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23613 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23617 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_Py_Void();
23632 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
= 0;
23634 wxEffects
*arg1
= (wxEffects
*) 0 ;
23637 int arg4
= (int) 1 ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 PyObject
* obj2
= 0 ;
23648 PyObject
* obj3
= 0 ;
23649 char * kwnames
[] = {
23650 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23658 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23660 if (!SWIG_IsOK(res2
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23666 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23669 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23673 if (!SWIG_IsOK(ecode4
)) {
23674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23676 arg4
= static_cast< int >(val4
);
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_Py_Void();
23691 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
= 0;
23693 wxEffects
*arg1
= (wxEffects
*) 0 ;
23696 wxBitmap
*arg4
= 0 ;
23705 PyObject
* obj0
= 0 ;
23706 PyObject
* obj1
= 0 ;
23707 PyObject
* obj2
= 0 ;
23708 PyObject
* obj3
= 0 ;
23709 char * kwnames
[] = {
23710 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23715 if (!SWIG_IsOK(res1
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23718 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23721 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23723 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23724 if (!SWIG_IsOK(res3
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23730 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23731 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23732 if (!SWIG_IsOK(res4
)) {
23733 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23738 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23754 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23757 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23758 return SWIG_Py_Void();
23761 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23762 return SWIG_Python_InitShadowInstance(args
);
23765 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
= 0;
23770 wxSplitterRenderParams
*result
= 0 ;
23777 PyObject
* obj0
= 0 ;
23778 PyObject
* obj1
= 0 ;
23779 PyObject
* obj2
= 0 ;
23780 char * kwnames
[] = {
23781 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23785 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23786 if (!SWIG_IsOK(ecode1
)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23789 arg1
= static_cast< int >(val1
);
23790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23791 if (!SWIG_IsOK(ecode2
)) {
23792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
23794 arg2
= static_cast< int >(val2
);
23795 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23796 if (!SWIG_IsOK(ecode3
)) {
23797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
23799 arg3
= static_cast< bool >(val3
);
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
23813 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23814 PyObject
*resultobj
= 0;
23815 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23818 PyObject
*swig_obj
[1] ;
23820 if (!args
) SWIG_fail
;
23821 swig_obj
[0] = args
;
23822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23826 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_Py_Void();
23841 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23842 PyObject
*resultobj
= 0;
23843 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23847 PyObject
*swig_obj
[1] ;
23849 if (!args
) SWIG_fail
;
23850 swig_obj
[0] = args
;
23851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23852 if (!SWIG_IsOK(res1
)) {
23853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23855 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23856 result
= (int)(int) ((arg1
)->widthSash
);
23857 resultobj
= SWIG_From_int(static_cast< int >(result
));
23864 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23865 PyObject
*resultobj
= 0;
23866 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23870 PyObject
*swig_obj
[1] ;
23872 if (!args
) SWIG_fail
;
23873 swig_obj
[0] = args
;
23874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23878 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23879 result
= (int)(int) ((arg1
)->border
);
23880 resultobj
= SWIG_From_int(static_cast< int >(result
));
23887 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23888 PyObject
*resultobj
= 0;
23889 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23893 PyObject
*swig_obj
[1] ;
23895 if (!args
) SWIG_fail
;
23896 swig_obj
[0] = args
;
23897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23898 if (!SWIG_IsOK(res1
)) {
23899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23901 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23902 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
23903 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
23910 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23913 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
23914 return SWIG_Py_Void();
23917 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23918 return SWIG_Python_InitShadowInstance(args
);
23921 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
= 0;
23925 wxRendererVersion
*result
= 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char * kwnames
[] = {
23933 (char *) "version_",(char *) "age_", NULL
23936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23937 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23938 if (!SWIG_IsOK(ecode1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
23941 arg1
= static_cast< int >(val1
);
23942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23943 if (!SWIG_IsOK(ecode2
)) {
23944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
23946 arg2
= static_cast< int >(val2
);
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
23960 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23961 PyObject
*resultobj
= 0;
23962 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23965 PyObject
*swig_obj
[1] ;
23967 if (!args
) SWIG_fail
;
23968 swig_obj
[0] = args
;
23969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
23970 if (!SWIG_IsOK(res1
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23973 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_Py_Void();
23988 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
= 0;
23990 wxRendererVersion
*arg1
= 0 ;
23994 PyObject
* obj0
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "ver", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24007 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24023 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24024 PyObject
*resultobj
= 0;
24025 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24029 PyObject
*swig_obj
[1] ;
24031 if (!args
) SWIG_fail
;
24032 swig_obj
[0] = args
;
24033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24037 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24038 result
= (int)(int) ((arg1
)->version
);
24039 resultobj
= SWIG_From_int(static_cast< int >(result
));
24046 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24047 PyObject
*resultobj
= 0;
24048 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24052 PyObject
*swig_obj
[1] ;
24054 if (!args
) SWIG_fail
;
24055 swig_obj
[0] = args
;
24056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24060 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24061 result
= (int)(int) ((arg1
)->age
);
24062 resultobj
= SWIG_From_int(static_cast< int >(result
));
24069 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24072 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24073 return SWIG_Py_Void();
24076 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24077 return SWIG_Python_InitShadowInstance(args
);
24080 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
= 0;
24082 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24083 wxWindow
*arg2
= (wxWindow
*) 0 ;
24086 int arg5
= (int) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 PyObject
* obj2
= 0 ;
24099 PyObject
* obj3
= 0 ;
24100 PyObject
* obj4
= 0 ;
24101 char * kwnames
[] = {
24102 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24110 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24112 if (!SWIG_IsOK(res2
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24115 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24116 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24117 if (!SWIG_IsOK(res3
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24123 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24126 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24129 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24130 if (!SWIG_IsOK(ecode5
)) {
24131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24133 arg5
= static_cast< int >(val5
);
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_Py_Void();
24148 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
= 0;
24150 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24151 wxWindow
*arg2
= (wxWindow
*) 0 ;
24154 int arg5
= (int) 0 ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 PyObject
* obj2
= 0 ;
24167 PyObject
* obj3
= 0 ;
24168 PyObject
* obj4
= 0 ;
24169 char * kwnames
[] = {
24170 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24175 if (!SWIG_IsOK(res1
)) {
24176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24178 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24180 if (!SWIG_IsOK(res2
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24184 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24185 if (!SWIG_IsOK(res3
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24191 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24194 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24197 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24198 if (!SWIG_IsOK(ecode5
)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24201 arg5
= static_cast< int >(val5
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_Py_Void();
24216 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
= 0;
24218 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24219 wxWindow
*arg2
= (wxWindow
*) 0 ;
24222 int arg5
= (int) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 PyObject
* obj1
= 0 ;
24234 PyObject
* obj2
= 0 ;
24235 PyObject
* obj3
= 0 ;
24236 PyObject
* obj4
= 0 ;
24237 char * kwnames
[] = {
24238 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24243 if (!SWIG_IsOK(res1
)) {
24244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24246 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24248 if (!SWIG_IsOK(res2
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24252 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24253 if (!SWIG_IsOK(res3
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24259 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24262 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24265 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24266 if (!SWIG_IsOK(ecode5
)) {
24267 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24269 arg5
= static_cast< int >(val5
);
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_Py_Void();
24284 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
= 0;
24286 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24287 wxWindow
*arg2
= (wxWindow
*) 0 ;
24291 wxOrientation arg6
;
24292 int arg7
= (int) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 PyObject
* obj2
= 0 ;
24309 PyObject
* obj3
= 0 ;
24310 PyObject
* obj4
= 0 ;
24311 PyObject
* obj5
= 0 ;
24312 PyObject
* obj6
= 0 ;
24313 char * kwnames
[] = {
24314 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24319 if (!SWIG_IsOK(res1
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24322 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24324 if (!SWIG_IsOK(res2
)) {
24325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24327 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24328 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24329 if (!SWIG_IsOK(res3
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24335 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24338 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24341 if (!SWIG_IsOK(ecode5
)) {
24342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24344 arg5
= static_cast< int >(val5
);
24345 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24346 if (!SWIG_IsOK(ecode6
)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24349 arg6
= static_cast< wxOrientation
>(val6
);
24351 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24352 if (!SWIG_IsOK(ecode7
)) {
24353 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24355 arg7
= static_cast< int >(val7
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_Py_Void();
24370 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
= 0;
24372 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24373 wxWindow
*arg2
= (wxWindow
*) 0 ;
24376 int arg5
= (int) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 PyObject
* obj3
= 0 ;
24390 PyObject
* obj4
= 0 ;
24391 char * kwnames
[] = {
24392 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24397 if (!SWIG_IsOK(res1
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24400 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24402 if (!SWIG_IsOK(res2
)) {
24403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24406 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24407 if (!SWIG_IsOK(res3
)) {
24408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24413 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24416 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24419 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24420 if (!SWIG_IsOK(ecode5
)) {
24421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24423 arg5
= static_cast< int >(val5
);
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= SWIG_Py_Void();
24438 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= 0;
24440 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24441 wxWindow
*arg2
= (wxWindow
*) 0 ;
24444 int arg5
= (int) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj2
= 0 ;
24457 PyObject
* obj3
= 0 ;
24458 PyObject
* obj4
= 0 ;
24459 char * kwnames
[] = {
24460 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24468 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24470 if (!SWIG_IsOK(res2
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24473 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24474 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24475 if (!SWIG_IsOK(res3
)) {
24476 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24481 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24484 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24487 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24488 if (!SWIG_IsOK(ecode5
)) {
24489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24491 arg5
= static_cast< int >(val5
);
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_Py_Void();
24506 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
= 0;
24508 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24509 wxWindow
*arg2
= (wxWindow
*) 0 ;
24512 int arg5
= (int) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 PyObject
* obj2
= 0 ;
24525 PyObject
* obj3
= 0 ;
24526 PyObject
* obj4
= 0 ;
24527 char * kwnames
[] = {
24528 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24533 if (!SWIG_IsOK(res1
)) {
24534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24536 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24538 if (!SWIG_IsOK(res2
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
24541 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24542 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24543 if (!SWIG_IsOK(res3
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24549 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24552 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24555 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24556 if (!SWIG_IsOK(ecode5
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
24559 arg5
= static_cast< int >(val5
);
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_Py_Void();
24574 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
= 0;
24576 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24577 wxWindow
*arg2
= (wxWindow
*) 0 ;
24580 int arg5
= (int) 0 ;
24590 PyObject
* obj0
= 0 ;
24591 PyObject
* obj1
= 0 ;
24592 PyObject
* obj2
= 0 ;
24593 PyObject
* obj3
= 0 ;
24594 PyObject
* obj4
= 0 ;
24595 char * kwnames
[] = {
24596 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24604 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24606 if (!SWIG_IsOK(res2
)) {
24607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24609 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24610 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24611 if (!SWIG_IsOK(res3
)) {
24612 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24617 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24620 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24623 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24624 if (!SWIG_IsOK(ecode5
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
24627 arg5
= static_cast< int >(val5
);
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= SWIG_Py_Void();
24642 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
= 0;
24644 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24645 wxWindow
*arg2
= (wxWindow
*) 0 ;
24648 int arg5
= (int) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 PyObject
* obj1
= 0 ;
24660 PyObject
* obj2
= 0 ;
24661 PyObject
* obj3
= 0 ;
24662 PyObject
* obj4
= 0 ;
24663 char * kwnames
[] = {
24664 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24672 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24674 if (!SWIG_IsOK(res2
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
24677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24678 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24679 if (!SWIG_IsOK(res3
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24685 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24688 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24691 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24692 if (!SWIG_IsOK(ecode5
)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
24695 arg5
= static_cast< int >(val5
);
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_Py_Void();
24710 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
= 0;
24712 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24713 wxWindow
*arg2
= (wxWindow
*) 0 ;
24714 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24719 PyObject
* obj0
= 0 ;
24720 PyObject
* obj1
= 0 ;
24721 char * kwnames
[] = {
24722 (char *) "self",(char *) "win", NULL
24725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24730 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24732 if (!SWIG_IsOK(res2
)) {
24733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24735 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24749 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24750 PyObject
*resultobj
= 0;
24751 wxRendererNative
*result
= 0 ;
24753 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24755 if (!wxPyCheckForApp()) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24759 result
= (wxRendererNative
*) &_result_ref
;
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24771 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 PyObject
*resultobj
= 0;
24773 wxRendererNative
*result
= 0 ;
24775 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24777 if (!wxPyCheckForApp()) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24781 result
= (wxRendererNative
*) &_result_ref
;
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24793 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24794 PyObject
*resultobj
= 0;
24795 wxRendererNative
*result
= 0 ;
24797 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24799 if (!wxPyCheckForApp()) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24803 result
= (wxRendererNative
*) &_result_ref
;
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24815 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
= 0;
24817 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24818 wxRendererNative
*result
= 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "renderer", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24831 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24833 if (!wxPyCheckForApp()) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24846 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24847 PyObject
*resultobj
= 0;
24848 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24849 SwigValueWrapper
<wxRendererVersion
> result
;
24852 PyObject
*swig_obj
[1] ;
24854 if (!args
) SWIG_fail
;
24855 swig_obj
[0] = args
;
24856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24857 if (!SWIG_IsOK(res1
)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
24860 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
24874 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24877 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
24878 return SWIG_Py_Void();
24881 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24882 PyObject
*resultobj
= 0;
24883 wxPseudoDC
*result
= 0 ;
24885 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (wxPseudoDC
*)new wxPseudoDC();
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
24899 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24900 PyObject
*resultobj
= 0;
24901 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
24904 PyObject
*swig_obj
[1] ;
24906 if (!args
) SWIG_fail
;
24907 swig_obj
[0] = args
;
24908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
24912 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 (arg1
)->BeginDrawing();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_Py_Void();
24926 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24927 PyObject
*resultobj
= 0;
24928 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
24931 PyObject
*swig_obj
[1] ;
24933 if (!args
) SWIG_fail
;
24934 swig_obj
[0] = args
;
24935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
24939 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->EndDrawing();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_Py_Void();
24953 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 PyObject
*resultobj
= 0;
24955 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
24958 PyObject
*swig_obj
[1] ;
24960 if (!args
) SWIG_fail
;
24961 swig_obj
[0] = args
;
24962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
24963 if (!SWIG_IsOK(res1
)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
24966 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_Py_Void();
24981 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24982 PyObject
*resultobj
= 0;
24983 wxPseudoDC
*arg1
= (wxPseudoDC
*) 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_wxPseudoDC
, 0 | 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
24994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 (arg1
)->RemoveAll();
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_Py_Void();
25008 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 PyObject
*resultobj
= 0;
25010 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25014 PyObject
*swig_obj
[1] ;
25016 if (!args
) SWIG_fail
;
25017 swig_obj
[0] = args
;
25018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (int)(arg1
)->GetLen();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_From_int(static_cast< int >(result
));
25036 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
= 0;
25038 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char * kwnames
[] = {
25047 (char *) "self",(char *) "id", NULL
25050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25055 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25057 if (!SWIG_IsOK(ecode2
)) {
25058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
25060 arg2
= static_cast< int >(val2
);
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetId(arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_Py_Void();
25074 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
= 0;
25076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 char * kwnames
[] = {
25085 (char *) "self",(char *) "id", NULL
25088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25090 if (!SWIG_IsOK(res1
)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25095 if (!SWIG_IsOK(ecode2
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
25098 arg2
= static_cast< int >(val2
);
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->ClearId(arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= SWIG_Py_Void();
25112 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
= 0;
25114 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 char * kwnames
[] = {
25123 (char *) "self",(char *) "id", NULL
25126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25128 if (!SWIG_IsOK(res1
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25131 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25133 if (!SWIG_IsOK(ecode2
)) {
25134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
25136 arg2
= static_cast< int >(val2
);
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 (arg1
)->RemoveId(arg2
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= SWIG_Py_Void();
25150 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
= 0;
25152 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 PyObject
* obj2
= 0 ;
25167 PyObject
* obj3
= 0 ;
25168 char * kwnames
[] = {
25169 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
25172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25174 if (!SWIG_IsOK(res1
)) {
25175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25177 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25179 if (!SWIG_IsOK(ecode2
)) {
25180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
25182 arg2
= static_cast< int >(val2
);
25183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25184 if (!SWIG_IsOK(ecode3
)) {
25185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
25187 arg3
= static_cast< int >(val3
);
25188 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25189 if (!SWIG_IsOK(ecode4
)) {
25190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
25192 arg4
= static_cast< int >(val4
);
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= SWIG_Py_Void();
25206 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
= 0;
25208 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25210 wxDC
*arg3
= (wxDC
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 PyObject
* obj2
= 0 ;
25220 char * kwnames
[] = {
25221 (char *) "self",(char *) "id",(char *) "dc", NULL
25224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25226 if (!SWIG_IsOK(res1
)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25231 if (!SWIG_IsOK(ecode2
)) {
25232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
25234 arg2
= static_cast< int >(val2
);
25235 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
25236 if (!SWIG_IsOK(res3
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
25239 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 (arg1
)->DrawIdToDC(arg2
,arg3
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= SWIG_Py_Void();
25253 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
= 0;
25255 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 PyObject
* obj2
= 0 ;
25266 char * kwnames
[] = {
25267 (char *) "self",(char *) "id",(char *) "rect", NULL
25270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25272 if (!SWIG_IsOK(res1
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25275 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25277 if (!SWIG_IsOK(ecode2
)) {
25278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
25280 arg2
= static_cast< int >(val2
);
25283 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 (arg1
)->SetIdBounds(arg2
,*arg3
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_Py_Void();
25298 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
= 0;
25300 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char * kwnames
[] = {
25310 (char *) "self",(char *) "id", NULL
25313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25318 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25320 if (!SWIG_IsOK(ecode2
)) {
25321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
25323 arg2
= static_cast< int >(val2
);
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
25337 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
= 0;
25339 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25340 wxDC
*arg2
= (wxDC
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 PyObject
* obj2
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "self",(char *) "dc",(char *) "rect", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25359 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25361 if (!SWIG_IsOK(res2
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
25364 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25367 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_Py_Void();
25382 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
= 0;
25384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25385 wxDC
*arg2
= (wxDC
*) 0 ;
25386 wxRegion
*arg3
= 0 ;
25393 PyObject
* obj0
= 0 ;
25394 PyObject
* obj1
= 0 ;
25395 PyObject
* obj2
= 0 ;
25396 char * kwnames
[] = {
25397 (char *) "self",(char *) "dc",(char *) "region", NULL
25400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25402 if (!SWIG_IsOK(res1
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25405 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25407 if (!SWIG_IsOK(res2
)) {
25408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
25410 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25411 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
25412 if (!SWIG_IsOK(res3
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
25416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
25418 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_Py_Void();
25432 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
= 0;
25434 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25435 wxDC
*arg2
= (wxDC
*) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 char * kwnames
[] = {
25443 (char *) "self",(char *) "dc", NULL
25446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25448 if (!SWIG_IsOK(res1
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25451 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25453 if (!SWIG_IsOK(res2
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
25456 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 (arg1
)->DrawToDC(arg2
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= SWIG_Py_Void();
25470 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
= 0;
25472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25475 wxColour
*arg4
= 0 ;
25476 int arg5
= (int) wxFLOOD_SURFACE
;
25486 PyObject
* obj0
= 0 ;
25487 PyObject
* obj1
= 0 ;
25488 PyObject
* obj2
= 0 ;
25489 PyObject
* obj3
= 0 ;
25490 PyObject
* obj4
= 0 ;
25491 char * kwnames
[] = {
25492 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
25495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25500 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25502 if (!SWIG_IsOK(ecode2
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
25505 arg2
= static_cast< int >(val2
);
25506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25507 if (!SWIG_IsOK(ecode3
)) {
25508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
25510 arg3
= static_cast< int >(val3
);
25513 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
25516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25517 if (!SWIG_IsOK(ecode5
)) {
25518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
25520 arg5
= static_cast< int >(val5
);
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_Py_Void();
25535 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
= 0;
25537 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25538 wxPoint
*arg2
= 0 ;
25539 wxColour
*arg3
= 0 ;
25540 int arg4
= (int) wxFLOOD_SURFACE
;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 PyObject
* obj2
= 0 ;
25550 PyObject
* obj3
= 0 ;
25551 char * kwnames
[] = {
25552 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
25555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25557 if (!SWIG_IsOK(res1
)) {
25558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25560 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25567 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25571 if (!SWIG_IsOK(ecode4
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
25574 arg4
= static_cast< int >(val4
);
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_Py_Void();
25589 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
= 0;
25591 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 PyObject
* obj2
= 0 ;
25609 PyObject
* obj3
= 0 ;
25610 PyObject
* obj4
= 0 ;
25611 char * kwnames
[] = {
25612 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25617 if (!SWIG_IsOK(res1
)) {
25618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25620 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25622 if (!SWIG_IsOK(ecode2
)) {
25623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
25625 arg2
= static_cast< int >(val2
);
25626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25627 if (!SWIG_IsOK(ecode3
)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
25630 arg3
= static_cast< int >(val3
);
25631 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25632 if (!SWIG_IsOK(ecode4
)) {
25633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
25635 arg4
= static_cast< int >(val4
);
25636 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25637 if (!SWIG_IsOK(ecode5
)) {
25638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
25640 arg5
= static_cast< int >(val5
);
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_Py_Void();
25654 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
= 0;
25656 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25657 wxPoint
*arg2
= 0 ;
25658 wxPoint
*arg3
= 0 ;
25663 PyObject
* obj0
= 0 ;
25664 PyObject
* obj1
= 0 ;
25665 PyObject
* obj2
= 0 ;
25666 char * kwnames
[] = {
25667 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
25670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25672 if (!SWIG_IsOK(res1
)) {
25673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25675 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_Py_Void();
25697 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
= 0;
25699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 PyObject
* obj2
= 0 ;
25711 char * kwnames
[] = {
25712 (char *) "self",(char *) "x",(char *) "y", NULL
25715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25720 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25722 if (!SWIG_IsOK(ecode2
)) {
25723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
25725 arg2
= static_cast< int >(val2
);
25726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25727 if (!SWIG_IsOK(ecode3
)) {
25728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
25730 arg3
= static_cast< int >(val3
);
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 (arg1
)->CrossHair(arg2
,arg3
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= SWIG_Py_Void();
25744 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
= 0;
25746 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25747 wxPoint
*arg2
= 0 ;
25751 PyObject
* obj0
= 0 ;
25752 PyObject
* obj1
= 0 ;
25753 char * kwnames
[] = {
25754 (char *) "self",(char *) "pt", NULL
25757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25762 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 resultobj
= SWIG_Py_Void();
25780 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
= 0;
25782 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25806 PyObject
* obj3
= 0 ;
25807 PyObject
* obj4
= 0 ;
25808 PyObject
* obj5
= 0 ;
25809 PyObject
* obj6
= 0 ;
25810 char * kwnames
[] = {
25811 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
25814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25816 if (!SWIG_IsOK(res1
)) {
25817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25821 if (!SWIG_IsOK(ecode2
)) {
25822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
25824 arg2
= static_cast< int >(val2
);
25825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25826 if (!SWIG_IsOK(ecode3
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
25829 arg3
= static_cast< int >(val3
);
25830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25831 if (!SWIG_IsOK(ecode4
)) {
25832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
25834 arg4
= static_cast< int >(val4
);
25835 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25836 if (!SWIG_IsOK(ecode5
)) {
25837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
25839 arg5
= static_cast< int >(val5
);
25840 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25841 if (!SWIG_IsOK(ecode6
)) {
25842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
25844 arg6
= static_cast< int >(val6
);
25845 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25846 if (!SWIG_IsOK(ecode7
)) {
25847 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
25849 arg7
= static_cast< int >(val7
);
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= SWIG_Py_Void();
25863 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
= 0;
25865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25866 wxPoint
*arg2
= 0 ;
25867 wxPoint
*arg3
= 0 ;
25868 wxPoint
*arg4
= 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 PyObject
* obj2
= 0 ;
25877 PyObject
* obj3
= 0 ;
25878 char * kwnames
[] = {
25879 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
25882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25884 if (!SWIG_IsOK(res1
)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25887 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_Py_Void();
25913 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
= 0;
25915 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 PyObject
* obj2
= 0 ;
25933 PyObject
* obj3
= 0 ;
25934 PyObject
* obj4
= 0 ;
25935 char * kwnames
[] = {
25936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25941 if (!SWIG_IsOK(res1
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25944 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25946 if (!SWIG_IsOK(ecode2
)) {
25947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
25949 arg2
= static_cast< int >(val2
);
25950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25951 if (!SWIG_IsOK(ecode3
)) {
25952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
25954 arg3
= static_cast< int >(val3
);
25955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25956 if (!SWIG_IsOK(ecode4
)) {
25957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
25959 arg4
= static_cast< int >(val4
);
25960 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25961 if (!SWIG_IsOK(ecode5
)) {
25962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
25964 arg5
= static_cast< int >(val5
);
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_Py_Void();
25978 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
= 0;
25980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25985 PyObject
* obj0
= 0 ;
25986 PyObject
* obj1
= 0 ;
25987 char * kwnames
[] = {
25988 (char *) "self",(char *) "rect", NULL
25991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25993 if (!SWIG_IsOK(res1
)) {
25994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25996 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25999 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_Py_Void();
26014 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
= 0;
26016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26037 PyObject
* obj0
= 0 ;
26038 PyObject
* obj1
= 0 ;
26039 PyObject
* obj2
= 0 ;
26040 PyObject
* obj3
= 0 ;
26041 PyObject
* obj4
= 0 ;
26042 PyObject
* obj5
= 0 ;
26043 PyObject
* obj6
= 0 ;
26044 char * kwnames
[] = {
26045 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
26048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26050 if (!SWIG_IsOK(res1
)) {
26051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26055 if (!SWIG_IsOK(ecode2
)) {
26056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
26058 arg2
= static_cast< int >(val2
);
26059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26060 if (!SWIG_IsOK(ecode3
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
26063 arg3
= static_cast< int >(val3
);
26064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26065 if (!SWIG_IsOK(ecode4
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
26068 arg4
= static_cast< int >(val4
);
26069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26070 if (!SWIG_IsOK(ecode5
)) {
26071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
26073 arg5
= static_cast< int >(val5
);
26074 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26075 if (!SWIG_IsOK(ecode6
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
26078 arg6
= static_cast< double >(val6
);
26079 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26080 if (!SWIG_IsOK(ecode7
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
26083 arg7
= static_cast< double >(val7
);
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 resultobj
= SWIG_Py_Void();
26097 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
= 0;
26099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26100 wxPoint
*arg2
= 0 ;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 PyObject
* obj2
= 0 ;
26115 PyObject
* obj3
= 0 ;
26116 PyObject
* obj4
= 0 ;
26117 char * kwnames
[] = {
26118 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
26121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26123 if (!SWIG_IsOK(res1
)) {
26124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26126 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26133 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26135 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26136 if (!SWIG_IsOK(ecode4
)) {
26137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
26139 arg4
= static_cast< double >(val4
);
26140 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26141 if (!SWIG_IsOK(ecode5
)) {
26142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
26144 arg5
= static_cast< double >(val5
);
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_Py_Void();
26158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
= 0;
26160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26169 PyObject
* obj0
= 0 ;
26170 PyObject
* obj1
= 0 ;
26171 PyObject
* obj2
= 0 ;
26172 char * kwnames
[] = {
26173 (char *) "self",(char *) "x",(char *) "y", NULL
26176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26178 if (!SWIG_IsOK(res1
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26181 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26183 if (!SWIG_IsOK(ecode2
)) {
26184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
26186 arg2
= static_cast< int >(val2
);
26187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26188 if (!SWIG_IsOK(ecode3
)) {
26189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
26191 arg3
= static_cast< int >(val3
);
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 (arg1
)->DrawPoint(arg2
,arg3
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_Py_Void();
26205 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
= 0;
26207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26208 wxPoint
*arg2
= 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 char * kwnames
[] = {
26215 (char *) "self",(char *) "pt", NULL
26218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26223 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_Py_Void();
26241 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
= 0;
26243 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 PyObject
* obj2
= 0 ;
26261 PyObject
* obj3
= 0 ;
26262 PyObject
* obj4
= 0 ;
26263 char * kwnames
[] = {
26264 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26269 if (!SWIG_IsOK(res1
)) {
26270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26272 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26274 if (!SWIG_IsOK(ecode2
)) {
26275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
26277 arg2
= static_cast< int >(val2
);
26278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26279 if (!SWIG_IsOK(ecode3
)) {
26280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
26282 arg3
= static_cast< int >(val3
);
26283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26284 if (!SWIG_IsOK(ecode4
)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
26287 arg4
= static_cast< int >(val4
);
26288 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26289 if (!SWIG_IsOK(ecode5
)) {
26290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
26292 arg5
= static_cast< int >(val5
);
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_Py_Void();
26306 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
= 0;
26308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 char * kwnames
[] = {
26316 (char *) "self",(char *) "rect", NULL
26319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26321 if (!SWIG_IsOK(res1
)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26324 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26327 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_Py_Void();
26342 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
= 0;
26344 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26345 wxPoint
*arg2
= 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 PyObject
* obj2
= 0 ;
26354 char * kwnames
[] = {
26355 (char *) "self",(char *) "pt",(char *) "sz", NULL
26358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26360 if (!SWIG_IsOK(res1
)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26363 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26370 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_Py_Void();
26385 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
= 0;
26387 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 PyObject
* obj2
= 0 ;
26408 PyObject
* obj3
= 0 ;
26409 PyObject
* obj4
= 0 ;
26410 PyObject
* obj5
= 0 ;
26411 char * kwnames
[] = {
26412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
26415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26417 if (!SWIG_IsOK(res1
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26422 if (!SWIG_IsOK(ecode2
)) {
26423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
26425 arg2
= static_cast< int >(val2
);
26426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26427 if (!SWIG_IsOK(ecode3
)) {
26428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
26430 arg3
= static_cast< int >(val3
);
26431 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26432 if (!SWIG_IsOK(ecode4
)) {
26433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
26435 arg4
= static_cast< int >(val4
);
26436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26437 if (!SWIG_IsOK(ecode5
)) {
26438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
26440 arg5
= static_cast< int >(val5
);
26441 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26442 if (!SWIG_IsOK(ecode6
)) {
26443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
26445 arg6
= static_cast< double >(val6
);
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 resultobj
= SWIG_Py_Void();
26459 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
= 0;
26461 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 PyObject
* obj2
= 0 ;
26472 char * kwnames
[] = {
26473 (char *) "self",(char *) "r",(char *) "radius", NULL
26476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26478 if (!SWIG_IsOK(res1
)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26484 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26486 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26487 if (!SWIG_IsOK(ecode3
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
26490 arg3
= static_cast< double >(val3
);
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_Py_Void();
26504 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= 0;
26506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26507 wxPoint
*arg2
= 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 PyObject
* obj2
= 0 ;
26519 PyObject
* obj3
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26536 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26538 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26539 if (!SWIG_IsOK(ecode4
)) {
26540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
26542 arg4
= static_cast< double >(val4
);
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= SWIG_Py_Void();
26556 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
= 0;
26558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 PyObject
* obj2
= 0 ;
26573 PyObject
* obj3
= 0 ;
26574 char * kwnames
[] = {
26575 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
26578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26583 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26585 if (!SWIG_IsOK(ecode2
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
26588 arg2
= static_cast< int >(val2
);
26589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26590 if (!SWIG_IsOK(ecode3
)) {
26591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
26593 arg3
= static_cast< int >(val3
);
26594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26595 if (!SWIG_IsOK(ecode4
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
26598 arg4
= static_cast< int >(val4
);
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26605 resultobj
= SWIG_Py_Void();
26612 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
= 0;
26614 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26615 wxPoint
*arg2
= 0 ;
26622 PyObject
* obj0
= 0 ;
26623 PyObject
* obj1
= 0 ;
26624 PyObject
* obj2
= 0 ;
26625 char * kwnames
[] = {
26626 (char *) "self",(char *) "pt",(char *) "radius", NULL
26629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26634 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26640 if (!SWIG_IsOK(ecode3
)) {
26641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
26643 arg3
= static_cast< int >(val3
);
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_Py_Void();
26657 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
= 0;
26659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 PyObject
* obj2
= 0 ;
26677 PyObject
* obj3
= 0 ;
26678 PyObject
* obj4
= 0 ;
26679 char * kwnames
[] = {
26680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26685 if (!SWIG_IsOK(res1
)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26690 if (!SWIG_IsOK(ecode2
)) {
26691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
26693 arg2
= static_cast< int >(val2
);
26694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26695 if (!SWIG_IsOK(ecode3
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
26698 arg3
= static_cast< int >(val3
);
26699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26700 if (!SWIG_IsOK(ecode4
)) {
26701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
26703 arg4
= static_cast< int >(val4
);
26704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26705 if (!SWIG_IsOK(ecode5
)) {
26706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
26708 arg5
= static_cast< int >(val5
);
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_Py_Void();
26722 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
= 0;
26724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 char * kwnames
[] = {
26732 (char *) "self",(char *) "rect", NULL
26735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26737 if (!SWIG_IsOK(res1
)) {
26738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
= 0;
26760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26761 wxPoint
*arg2
= 0 ;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 PyObject
* obj2
= 0 ;
26770 char * kwnames
[] = {
26771 (char *) "self",(char *) "pt",(char *) "sz", NULL
26774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26776 if (!SWIG_IsOK(res1
)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26779 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26786 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_Py_Void();
26801 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
= 0;
26803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26815 PyObject
* obj0
= 0 ;
26816 PyObject
* obj1
= 0 ;
26817 PyObject
* obj2
= 0 ;
26818 PyObject
* obj3
= 0 ;
26819 char * kwnames
[] = {
26820 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
26823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26825 if (!SWIG_IsOK(res1
)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26830 if (!SWIG_IsOK(res2
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26836 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26838 if (!SWIG_IsOK(ecode3
)) {
26839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
26841 arg3
= static_cast< int >(val3
);
26842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26843 if (!SWIG_IsOK(ecode4
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
26846 arg4
= static_cast< int >(val4
);
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_Py_Void();
26860 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
= 0;
26862 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26864 wxPoint
*arg3
= 0 ;
26870 PyObject
* obj0
= 0 ;
26871 PyObject
* obj1
= 0 ;
26872 PyObject
* obj2
= 0 ;
26873 char * kwnames
[] = {
26874 (char *) "self",(char *) "icon",(char *) "pt", NULL
26877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26884 if (!SWIG_IsOK(res2
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
26888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
26890 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_Py_Void();
26908 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
= 0;
26910 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26911 wxBitmap
*arg2
= 0 ;
26914 bool arg5
= (bool) false ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 PyObject
* obj2
= 0 ;
26928 PyObject
* obj3
= 0 ;
26929 PyObject
* obj4
= 0 ;
26930 char * kwnames
[] = {
26931 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
26934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26936 if (!SWIG_IsOK(res1
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26939 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26941 if (!SWIG_IsOK(res2
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26947 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26949 if (!SWIG_IsOK(ecode3
)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
26952 arg3
= static_cast< int >(val3
);
26953 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26954 if (!SWIG_IsOK(ecode4
)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
26957 arg4
= static_cast< int >(val4
);
26959 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
26960 if (!SWIG_IsOK(ecode5
)) {
26961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
26963 arg5
= static_cast< bool >(val5
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_Py_Void();
26978 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
= 0;
26980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26981 wxBitmap
*arg2
= 0 ;
26982 wxPoint
*arg3
= 0 ;
26983 bool arg4
= (bool) false ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 PyObject
* obj2
= 0 ;
26994 PyObject
* obj3
= 0 ;
26995 char * kwnames
[] = {
26996 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
26999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27004 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27006 if (!SWIG_IsOK(res2
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27018 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27019 if (!SWIG_IsOK(ecode4
)) {
27020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
27022 arg4
= static_cast< bool >(val4
);
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_Py_Void();
27037 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
= 0;
27039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27040 wxString
*arg2
= 0 ;
27045 bool temp2
= false ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 PyObject
* obj2
= 0 ;
27053 PyObject
* obj3
= 0 ;
27054 char * kwnames
[] = {
27055 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
27058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27060 if (!SWIG_IsOK(res1
)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27063 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27065 arg2
= wxString_in_helper(obj1
);
27066 if (arg2
== NULL
) SWIG_fail
;
27069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27070 if (!SWIG_IsOK(ecode3
)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
27073 arg3
= static_cast< int >(val3
);
27074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27075 if (!SWIG_IsOK(ecode4
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
27078 arg4
= static_cast< int >(val4
);
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_Py_Void();
27100 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
= 0;
27102 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27103 wxString
*arg2
= 0 ;
27104 wxPoint
*arg3
= 0 ;
27107 bool temp2
= false ;
27109 PyObject
* obj0
= 0 ;
27110 PyObject
* obj1
= 0 ;
27111 PyObject
* obj2
= 0 ;
27112 char * kwnames
[] = {
27113 (char *) "self",(char *) "text",(char *) "pt", NULL
27116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27118 if (!SWIG_IsOK(res1
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27121 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27123 arg2
= wxString_in_helper(obj1
);
27124 if (arg2
== NULL
) SWIG_fail
;
27129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= SWIG_Py_Void();
27152 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
= 0;
27154 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27155 wxString
*arg2
= 0 ;
27161 bool temp2
= false ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 PyObject
* obj2
= 0 ;
27171 PyObject
* obj3
= 0 ;
27172 PyObject
* obj4
= 0 ;
27173 char * kwnames
[] = {
27174 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
27177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27184 arg2
= wxString_in_helper(obj1
);
27185 if (arg2
== NULL
) SWIG_fail
;
27188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27189 if (!SWIG_IsOK(ecode3
)) {
27190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
27192 arg3
= static_cast< int >(val3
);
27193 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27194 if (!SWIG_IsOK(ecode4
)) {
27195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
27197 arg4
= static_cast< int >(val4
);
27198 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27199 if (!SWIG_IsOK(ecode5
)) {
27200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
27202 arg5
= static_cast< double >(val5
);
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_Py_Void();
27224 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
= 0;
27226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27227 wxString
*arg2
= 0 ;
27228 wxPoint
*arg3
= 0 ;
27232 bool temp2
= false ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 PyObject
* obj2
= 0 ;
27239 PyObject
* obj3
= 0 ;
27240 char * kwnames
[] = {
27241 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
27244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27246 if (!SWIG_IsOK(res1
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27251 arg2
= wxString_in_helper(obj1
);
27252 if (arg2
== NULL
) SWIG_fail
;
27257 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27259 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27260 if (!SWIG_IsOK(ecode4
)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
27263 arg4
= static_cast< double >(val4
);
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_Py_Void();
27285 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
= 0;
27287 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27289 wxPoint
*arg3
= (wxPoint
*) 0 ;
27290 int arg4
= (int) 0 ;
27291 int arg5
= (int) 0 ;
27298 PyObject
* obj0
= 0 ;
27299 PyObject
* obj1
= 0 ;
27300 PyObject
* obj2
= 0 ;
27301 PyObject
* obj3
= 0 ;
27302 char * kwnames
[] = {
27303 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
27306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27308 if (!SWIG_IsOK(res1
)) {
27309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27311 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27313 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
27314 if (arg3
== NULL
) SWIG_fail
;
27317 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27318 if (!SWIG_IsOK(ecode4
)) {
27319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
27321 arg4
= static_cast< int >(val4
);
27324 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
27325 if (!SWIG_IsOK(ecode5
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
27328 arg5
= static_cast< int >(val5
);
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_Py_Void();
27338 if (arg3
) delete [] arg3
;
27343 if (arg3
) delete [] arg3
;
27349 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
= 0;
27351 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27353 wxPoint
*arg3
= (wxPoint
*) 0 ;
27354 int arg4
= (int) 0 ;
27355 int arg5
= (int) 0 ;
27356 int arg6
= (int) wxODDEVEN_RULE
;
27365 PyObject
* obj0
= 0 ;
27366 PyObject
* obj1
= 0 ;
27367 PyObject
* obj2
= 0 ;
27368 PyObject
* obj3
= 0 ;
27369 PyObject
* obj4
= 0 ;
27370 char * kwnames
[] = {
27371 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
27374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27376 if (!SWIG_IsOK(res1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27381 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
27382 if (arg3
== NULL
) SWIG_fail
;
27385 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27386 if (!SWIG_IsOK(ecode4
)) {
27387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
27389 arg4
= static_cast< int >(val4
);
27392 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
27393 if (!SWIG_IsOK(ecode5
)) {
27394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
27396 arg5
= static_cast< int >(val5
);
27399 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
27400 if (!SWIG_IsOK(ecode6
)) {
27401 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
27403 arg6
= static_cast< int >(val6
);
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27411 resultobj
= SWIG_Py_Void();
27413 if (arg3
) delete [] arg3
;
27418 if (arg3
) delete [] arg3
;
27424 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
= 0;
27426 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27427 wxString
*arg2
= 0 ;
27429 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
27430 int arg5
= (int) -1 ;
27433 bool temp2
= false ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 PyObject
* obj2
= 0 ;
27442 PyObject
* obj3
= 0 ;
27443 PyObject
* obj4
= 0 ;
27444 char * kwnames
[] = {
27445 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
27448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27453 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27455 arg2
= wxString_in_helper(obj1
);
27456 if (arg2
== NULL
) SWIG_fail
;
27461 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27465 if (!SWIG_IsOK(ecode4
)) {
27466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
27468 arg4
= static_cast< int >(val4
);
27471 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27472 if (!SWIG_IsOK(ecode5
)) {
27473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
27475 arg5
= static_cast< int >(val5
);
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= SWIG_Py_Void();
27498 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27499 PyObject
*resultobj
= 0;
27500 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27501 wxString
*arg2
= 0 ;
27502 wxBitmap
*arg3
= 0 ;
27504 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
27505 int arg6
= (int) -1 ;
27508 bool temp2
= false ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 PyObject
* obj2
= 0 ;
27519 PyObject
* obj3
= 0 ;
27520 PyObject
* obj4
= 0 ;
27521 PyObject
* obj5
= 0 ;
27522 char * kwnames
[] = {
27523 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
27526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27528 if (!SWIG_IsOK(res1
)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27533 arg2
= wxString_in_helper(obj1
);
27534 if (arg2
== NULL
) SWIG_fail
;
27537 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27538 if (!SWIG_IsOK(res3
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27544 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27547 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27550 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27551 if (!SWIG_IsOK(ecode5
)) {
27552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
27554 arg5
= static_cast< int >(val5
);
27557 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27558 if (!SWIG_IsOK(ecode6
)) {
27559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
27561 arg6
= static_cast< int >(val6
);
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 resultobj
= SWIG_Py_Void();
27584 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
= 0;
27586 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27588 wxPoint
*arg3
= (wxPoint
*) 0 ;
27591 PyObject
* obj0
= 0 ;
27592 PyObject
* obj1
= 0 ;
27593 char * kwnames
[] = {
27594 (char *) "self",(char *) "points", NULL
27597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27604 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
27605 if (arg3
== NULL
) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 (arg1
)->DrawSpline(arg2
,arg3
);
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= SWIG_Py_Void();
27615 if (arg3
) delete [] arg3
;
27620 if (arg3
) delete [] arg3
;
27626 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 PyObject
*resultobj
= 0;
27628 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27631 PyObject
*swig_obj
[1] ;
27633 if (!args
) SWIG_fail
;
27634 swig_obj
[0] = args
;
27635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27636 if (!SWIG_IsOK(res1
)) {
27637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= SWIG_Py_Void();
27653 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
= 0;
27655 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27661 PyObject
* obj0
= 0 ;
27662 PyObject
* obj1
= 0 ;
27663 char * kwnames
[] = {
27664 (char *) "self",(char *) "font", NULL
27667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27672 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27674 if (!SWIG_IsOK(res2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27680 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 (arg1
)->SetFont((wxFont
const &)*arg2
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= SWIG_Py_Void();
27694 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
= 0;
27696 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char * kwnames
[] = {
27705 (char *) "self",(char *) "pen", NULL
27708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27710 if (!SWIG_IsOK(res1
)) {
27711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27713 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27715 if (!SWIG_IsOK(res2
)) {
27716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
27719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
27721 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 (arg1
)->SetPen((wxPen
const &)*arg2
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= SWIG_Py_Void();
27735 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
= 0;
27737 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27738 wxBrush
*arg2
= 0 ;
27743 PyObject
* obj0
= 0 ;
27744 PyObject
* obj1
= 0 ;
27745 char * kwnames
[] = {
27746 (char *) "self",(char *) "brush", NULL
27749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27754 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27756 if (!SWIG_IsOK(res2
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27762 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_Py_Void();
27776 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
= 0;
27778 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27779 wxBrush
*arg2
= 0 ;
27784 PyObject
* obj0
= 0 ;
27785 PyObject
* obj1
= 0 ;
27786 char * kwnames
[] = {
27787 (char *) "self",(char *) "brush", NULL
27790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27792 if (!SWIG_IsOK(res1
)) {
27793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27795 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27797 if (!SWIG_IsOK(res2
)) {
27798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
27801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
27803 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_Py_Void();
27817 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
= 0;
27819 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 PyObject
* obj1
= 0 ;
27827 char * kwnames
[] = {
27828 (char *) "self",(char *) "mode", NULL
27831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27836 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27838 if (!SWIG_IsOK(ecode2
)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
27841 arg2
= static_cast< int >(val2
);
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->SetBackgroundMode(arg2
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= SWIG_Py_Void();
27855 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
= 0;
27857 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27858 wxPalette
*arg2
= 0 ;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27865 char * kwnames
[] = {
27866 (char *) "self",(char *) "palette", NULL
27869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27874 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
27876 if (!SWIG_IsOK(res2
)) {
27877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
27880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
27882 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
27886 wxPyEndAllowThreads(__tstate
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27889 resultobj
= SWIG_Py_Void();
27896 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27897 PyObject
*resultobj
= 0;
27898 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27899 wxColour
*arg2
= 0 ;
27903 PyObject
* obj0
= 0 ;
27904 PyObject
* obj1
= 0 ;
27905 char * kwnames
[] = {
27906 (char *) "self",(char *) "colour", NULL
27909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27911 if (!SWIG_IsOK(res1
)) {
27912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27917 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_Py_Void();
27932 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
= 0;
27934 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27935 wxColour
*arg2
= 0 ;
27939 PyObject
* obj0
= 0 ;
27940 PyObject
* obj1
= 0 ;
27941 char * kwnames
[] = {
27942 (char *) "self",(char *) "colour", NULL
27945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27947 if (!SWIG_IsOK(res1
)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27950 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
= 0;
27970 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27976 PyObject
* obj0
= 0 ;
27977 PyObject
* obj1
= 0 ;
27978 char * kwnames
[] = {
27979 (char *) "self",(char *) "function", NULL
27982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27984 if (!SWIG_IsOK(res1
)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27987 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27989 if (!SWIG_IsOK(ecode2
)) {
27990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
27992 arg2
= static_cast< int >(val2
);
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 (arg1
)->SetLogicalFunction(arg2
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 resultobj
= SWIG_Py_Void();
28006 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28009 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
28010 return SWIG_Py_Void();
28013 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28014 return SWIG_Python_InitShadowInstance(args
);
28017 static PyMethodDef SwigMethods
[] = {
28018 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
28019 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
28020 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
28021 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
28022 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
28023 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
28027 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
28028 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
28029 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
28030 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
28031 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
28036 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
28039 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
28040 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
28041 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
28042 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
28044 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
28047 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
28048 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
28049 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
28050 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
28052 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
28053 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
28054 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
28055 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
28056 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
28057 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
28058 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
28065 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
28067 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
28070 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
28071 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
28074 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
28078 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
28079 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
28080 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
28081 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
28082 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
28083 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
28084 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
28086 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
28092 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
28093 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
28094 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
28095 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
28096 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
28097 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
28098 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
28104 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
28112 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
28113 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
28115 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
28116 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
28117 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
28119 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
28120 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
28125 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
28126 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
28127 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
28128 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
28133 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
28134 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
28136 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
28137 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
28139 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
28141 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
28142 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
28143 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
28144 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
28147 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
28151 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
28152 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
28154 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
28157 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
28158 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
28159 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
28164 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
28165 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
28171 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
28175 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
28185 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
28188 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
28189 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
28191 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
28192 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
28193 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
28194 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
28195 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
28196 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
28197 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
28198 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
28199 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
28200 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
28201 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
28202 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
28203 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
28204 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
28205 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
28206 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
28207 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
28209 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
28210 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
28211 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
28212 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
28213 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
28214 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
28215 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
28224 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
28225 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
28227 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
28228 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
28229 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
28230 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
28231 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
28232 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
28233 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
28234 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
28235 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
28237 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
28238 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
28239 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
28242 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
28243 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
28244 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
28247 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
28253 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
28258 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
28259 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
28261 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
28267 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
28270 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
28271 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
28272 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
28273 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
28274 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
28275 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
28276 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
28277 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
28278 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
28279 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
28280 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
28281 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
28282 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
28294 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
28295 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
28296 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
28298 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
28299 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
28301 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
28302 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
28303 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
28304 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
28308 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
28309 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
28311 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
28312 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
28313 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
28314 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
28315 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
28316 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
28317 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
28318 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
28319 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
28321 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
28324 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
28325 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
28326 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
28327 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
28328 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
28329 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
28330 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
28331 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
28340 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
28341 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
28342 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
28343 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
28344 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
28345 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
28346 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
28352 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
28353 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
28354 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
28403 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
28405 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
28406 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
28407 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
28414 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
28415 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
28416 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
28417 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
28418 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
28423 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
28424 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
28425 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
28426 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
28435 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
28436 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
28437 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
28438 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
28439 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
28440 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
28441 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
28442 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
28443 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
28444 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
28445 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
28446 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28447 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
28449 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28450 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
28451 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
28453 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
28455 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
28456 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
28459 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
28460 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
28464 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
28466 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28467 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
28469 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
28470 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
28471 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
28472 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
28473 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
28474 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
28481 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
28482 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
28485 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
28486 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
28487 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
28488 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
28489 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
28490 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
28491 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
28493 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
28494 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
28495 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
28498 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
28499 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
28500 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
28502 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
28503 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28504 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
28505 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
28506 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28507 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
28508 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
28509 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28510 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
28511 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
28512 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28513 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
28514 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28516 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
28517 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
28518 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
28519 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28520 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
28521 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
28522 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28523 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
28524 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
28525 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28526 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
28527 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
28528 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28529 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
28530 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28532 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28536 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28537 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
28538 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28539 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
28540 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
28542 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
28543 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
28544 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
28545 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
28546 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
28547 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28548 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28549 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28550 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28551 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28552 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
28553 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
28554 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
28555 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
28556 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
28557 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
28558 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28560 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28561 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
28562 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
28566 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28567 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28568 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
28570 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
28571 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
28572 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28576 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
28577 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
28578 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
28579 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
28580 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
28581 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
28582 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
28583 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
28584 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
28585 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
28586 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
28587 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
28588 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28589 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28590 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28591 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28593 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
28597 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
28598 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
28600 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
28601 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
28602 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
28603 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
28604 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
28605 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
28607 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28608 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
28609 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
28610 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
28611 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
28612 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28613 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28614 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28615 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28616 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28617 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28618 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28619 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28620 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28621 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28622 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
28623 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
28624 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
28625 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28626 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
28627 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
28628 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
28629 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
28630 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
28631 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
28632 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
28633 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
28634 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28635 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28636 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28637 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28638 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28639 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28640 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28641 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28642 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28643 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28644 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28645 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28646 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28647 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28648 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28649 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28650 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28651 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28652 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28653 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28654 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28655 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28656 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28657 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28658 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28659 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28660 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28661 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28662 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28663 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28664 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28665 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28666 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28667 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28668 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28669 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28670 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28671 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28672 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28673 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28674 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28675 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28676 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28677 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28678 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28679 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28680 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28681 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28682 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
28683 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28684 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28685 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28686 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28687 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28688 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28689 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28690 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28691 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28692 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
28693 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
28694 { NULL
, NULL
, 0, NULL
}
28698 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28700 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
28701 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
28703 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
28704 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
28706 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
28707 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
28709 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
28710 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
28712 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
28713 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
28715 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
28716 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
28718 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
28719 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
28721 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
28722 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
28724 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
28725 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
28727 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
28728 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
28730 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
28731 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
28733 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
28734 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
28736 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
28737 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
28739 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
28740 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
28742 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
28743 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
28745 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
28746 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
28748 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
28749 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
28751 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
28752 return (void *)((wxDC
*) ((wxClientDC
*) x
));
28754 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
28755 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
28757 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
28758 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
28760 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
28761 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
28763 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
28764 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
28766 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
28767 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
28769 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
28770 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
28772 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
28773 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
28775 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28776 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28778 static void *_p_wxPenTo_p_wxObject(void *x
) {
28779 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
28781 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
28782 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
28784 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28785 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28787 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28788 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28790 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28793 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28794 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28796 static void *_p_wxIconTo_p_wxObject(void *x
) {
28797 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
28799 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28800 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28802 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28803 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28805 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28806 return (void *)((wxObject
*) ((wxSizer
*) x
));
28808 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28809 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28811 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28814 static void *_p_wxEventTo_p_wxObject(void *x
) {
28815 return (void *)((wxObject
*) ((wxEvent
*) x
));
28817 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28818 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28820 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28821 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28823 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28824 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28826 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
28827 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
28829 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
28830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
28832 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28833 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28835 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28836 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28838 static void *_p_wxDCTo_p_wxObject(void *x
) {
28839 return (void *)((wxObject
*) ((wxDC
*) x
));
28841 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28842 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28844 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28845 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28847 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28848 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28850 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28851 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28853 static void *_p_wxControlTo_p_wxObject(void *x
) {
28854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28856 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28857 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28859 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
28860 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
28862 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28863 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28865 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
28866 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
28868 static void *_p_wxRegionTo_p_wxObject(void *x
) {
28869 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
28871 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28872 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28874 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
28875 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
28877 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
28878 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
28880 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
28881 return (void *)((wxObject
*) ((wxEffects
*) x
));
28883 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28884 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28886 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28889 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
28890 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
28892 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28893 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28895 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28896 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28898 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28901 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28902 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28904 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28907 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28908 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28910 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28911 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28913 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28914 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28916 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28917 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28919 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28920 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28922 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28923 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28925 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28928 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28931 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28934 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28937 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28940 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28941 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28943 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28944 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28946 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28947 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28949 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28952 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28955 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28956 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28958 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28961 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28964 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28965 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28967 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
28968 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
28970 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
28971 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
28973 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
28974 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
28976 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
28977 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
28979 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
28980 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
28982 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28983 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28985 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28986 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28988 static void *_p_wxImageTo_p_wxObject(void *x
) {
28989 return (void *)((wxObject
*) ((wxImage
*) x
));
28991 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28992 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28994 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
28995 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
28997 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
28998 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
29000 static void *_p_wxImageListTo_p_wxObject(void *x
) {
29001 return (void *)((wxObject
*) ((wxImageList
*) x
));
29003 static void *_p_wxCursorTo_p_wxObject(void *x
) {
29004 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
29006 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
29007 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
29009 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
29010 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
29012 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29015 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29016 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29018 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29019 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29021 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29022 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29024 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29025 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29027 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29030 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
29033 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29036 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
29039 static void *_p_wxMaskTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) ((wxMask
*) x
));
29042 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29045 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29048 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29051 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29054 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29057 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29060 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29063 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29066 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29067 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29069 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29070 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29072 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29075 static void *_p_wxFontTo_p_wxObject(void *x
) {
29076 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
29078 static void *_p_wxBrushTo_p_wxObject(void *x
) {
29079 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
29081 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
29084 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29087 static void *_p_wxColourTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) ((wxColour
*) x
));
29090 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29093 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29096 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29097 return (void *)((wxWindow
*) ((wxControl
*) x
));
29099 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29100 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29102 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29103 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29105 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
29106 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
29107 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};
29108 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
29109 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
29110 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
29111 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
29112 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
29113 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
29114 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
29115 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
29116 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
29117 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
29118 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
29119 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
29120 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
29121 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
29122 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
29123 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
29124 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
29125 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
29126 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
29127 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
29128 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
29129 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
29130 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
29131 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
29132 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
29133 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
29134 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
29135 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
29136 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
29137 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
29138 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
29139 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
29140 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
29141 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
29142 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
29143 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
29144 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
29145 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
29146 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
29147 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
29148 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
29149 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
29150 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
29151 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
29152 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
29153 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
29154 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
29155 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
29156 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
29157 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
29158 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
29159 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
29160 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
29161 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
29162 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
29163 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
29164 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
29165 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
29166 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
29167 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
29168 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
29169 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
29170 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
29171 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
29172 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
29173 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
29174 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
29175 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
29176 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
29177 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
29178 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
29179 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
29180 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
29181 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
29182 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
29183 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
29184 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
29185 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
29186 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
29187 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
29188 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
29189 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
29190 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
29191 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
29192 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
29193 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
29194 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
29195 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
29196 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
29197 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
29198 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
29199 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
29200 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
29201 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
29202 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
29203 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
29204 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
29205 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
29206 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
29207 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
29208 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
29209 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
29210 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
29211 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
29212 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
29213 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
29214 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
29215 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
29216 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
29217 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
29218 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
29219 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
29220 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
29221 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
29222 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
29223 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
29224 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
29225 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
29226 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
29227 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
29228 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
29229 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
29230 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
29231 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
29232 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
29233 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
29234 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
29235 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
29236 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
29237 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
29238 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
29239 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
29240 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
29241 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
29242 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
29243 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
29244 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
29246 static swig_type_info
*swig_type_initial
[] = {
29249 &_swigt__p_form_ops_t
,
29251 &_swigt__p_unsigned_char
,
29252 &_swigt__p_unsigned_int
,
29253 &_swigt__p_unsigned_long
,
29254 &_swigt__p_wxANIHandler
,
29255 &_swigt__p_wxAcceleratorTable
,
29256 &_swigt__p_wxActivateEvent
,
29257 &_swigt__p_wxBMPHandler
,
29258 &_swigt__p_wxBitmap
,
29259 &_swigt__p_wxBoxSizer
,
29260 &_swigt__p_wxBrush
,
29261 &_swigt__p_wxBrushList
,
29262 &_swigt__p_wxBufferedDC
,
29263 &_swigt__p_wxBufferedPaintDC
,
29264 &_swigt__p_wxCURHandler
,
29265 &_swigt__p_wxChildFocusEvent
,
29266 &_swigt__p_wxClientDC
,
29267 &_swigt__p_wxClipboardTextEvent
,
29268 &_swigt__p_wxCloseEvent
,
29269 &_swigt__p_wxColour
,
29270 &_swigt__p_wxColourDatabase
,
29271 &_swigt__p_wxCommandEvent
,
29272 &_swigt__p_wxContextMenuEvent
,
29273 &_swigt__p_wxControl
,
29274 &_swigt__p_wxControlWithItems
,
29275 &_swigt__p_wxCursor
,
29278 &_swigt__p_wxDateEvent
,
29279 &_swigt__p_wxDisplayChangedEvent
,
29280 &_swigt__p_wxDropFilesEvent
,
29281 &_swigt__p_wxDuplexMode
,
29282 &_swigt__p_wxEffects
,
29283 &_swigt__p_wxEncodingConverter
,
29284 &_swigt__p_wxEraseEvent
,
29285 &_swigt__p_wxEvent
,
29286 &_swigt__p_wxEvtHandler
,
29287 &_swigt__p_wxFSFile
,
29288 &_swigt__p_wxFileSystem
,
29289 &_swigt__p_wxFlexGridSizer
,
29290 &_swigt__p_wxFocusEvent
,
29292 &_swigt__p_wxFontList
,
29293 &_swigt__p_wxFontMapper
,
29294 &_swigt__p_wxGBSizerItem
,
29295 &_swigt__p_wxGDIObjListBase
,
29296 &_swigt__p_wxGDIObject
,
29297 &_swigt__p_wxGIFHandler
,
29298 &_swigt__p_wxGridBagSizer
,
29299 &_swigt__p_wxGridSizer
,
29300 &_swigt__p_wxICOHandler
,
29302 &_swigt__p_wxIconBundle
,
29303 &_swigt__p_wxIconLocation
,
29304 &_swigt__p_wxIconizeEvent
,
29305 &_swigt__p_wxIdleEvent
,
29306 &_swigt__p_wxImage
,
29307 &_swigt__p_wxImageHandler
,
29308 &_swigt__p_wxImageList
,
29309 &_swigt__p_wxIndividualLayoutConstraint
,
29310 &_swigt__p_wxInitDialogEvent
,
29311 &_swigt__p_wxJPEGHandler
,
29312 &_swigt__p_wxKeyEvent
,
29313 &_swigt__p_wxLanguageInfo
,
29314 &_swigt__p_wxLayoutConstraints
,
29315 &_swigt__p_wxLocale
,
29317 &_swigt__p_wxMaximizeEvent
,
29318 &_swigt__p_wxMemoryDC
,
29320 &_swigt__p_wxMenuBar
,
29321 &_swigt__p_wxMenuEvent
,
29322 &_swigt__p_wxMenuItem
,
29323 &_swigt__p_wxMetaFile
,
29324 &_swigt__p_wxMetaFileDC
,
29325 &_swigt__p_wxMirrorDC
,
29326 &_swigt__p_wxMouseCaptureChangedEvent
,
29327 &_swigt__p_wxMouseCaptureLostEvent
,
29328 &_swigt__p_wxMouseEvent
,
29329 &_swigt__p_wxMoveEvent
,
29330 &_swigt__p_wxNativeEncodingInfo
,
29331 &_swigt__p_wxNativeFontInfo
,
29332 &_swigt__p_wxNavigationKeyEvent
,
29333 &_swigt__p_wxNcPaintEvent
,
29334 &_swigt__p_wxNotifyEvent
,
29335 &_swigt__p_wxObject
,
29336 &_swigt__p_wxPCXHandler
,
29337 &_swigt__p_wxPNGHandler
,
29338 &_swigt__p_wxPNMHandler
,
29339 &_swigt__p_wxPaintDC
,
29340 &_swigt__p_wxPaintEvent
,
29341 &_swigt__p_wxPalette
,
29342 &_swigt__p_wxPaletteChangedEvent
,
29343 &_swigt__p_wxPaperSize
,
29345 &_swigt__p_wxPenList
,
29346 &_swigt__p_wxPoint
,
29347 &_swigt__p_wxPostScriptDC
,
29348 &_swigt__p_wxPrintData
,
29349 &_swigt__p_wxPrinterDC
,
29350 &_swigt__p_wxPseudoDC
,
29351 &_swigt__p_wxPyApp
,
29352 &_swigt__p_wxPyCommandEvent
,
29353 &_swigt__p_wxPyEvent
,
29354 &_swigt__p_wxPyFontEnumerator
,
29355 &_swigt__p_wxPyImageHandler
,
29356 &_swigt__p_wxPySizer
,
29357 &_swigt__p_wxPyValidator
,
29358 &_swigt__p_wxQueryNewPaletteEvent
,
29360 &_swigt__p_wxRegion
,
29361 &_swigt__p_wxRegionIterator
,
29362 &_swigt__p_wxRendererNative
,
29363 &_swigt__p_wxRendererVersion
,
29364 &_swigt__p_wxScreenDC
,
29365 &_swigt__p_wxScrollEvent
,
29366 &_swigt__p_wxScrollWinEvent
,
29367 &_swigt__p_wxSetCursorEvent
,
29368 &_swigt__p_wxShowEvent
,
29370 &_swigt__p_wxSizeEvent
,
29371 &_swigt__p_wxSizer
,
29372 &_swigt__p_wxSizerItem
,
29373 &_swigt__p_wxSplitterRenderParams
,
29374 &_swigt__p_wxStaticBoxSizer
,
29375 &_swigt__p_wxStdDialogButtonSizer
,
29376 &_swigt__p_wxStockGDI
,
29377 &_swigt__p_wxString
,
29378 &_swigt__p_wxSysColourChangedEvent
,
29379 &_swigt__p_wxTIFFHandler
,
29380 &_swigt__p_wxUpdateUIEvent
,
29381 &_swigt__p_wxValidator
,
29382 &_swigt__p_wxWindow
,
29383 &_swigt__p_wxWindowCreateEvent
,
29384 &_swigt__p_wxWindowDC
,
29385 &_swigt__p_wxWindowDestroyEvent
,
29386 &_swigt__p_wxXPMHandler
,
29389 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29390 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
29391 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29392 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29393 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29394 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29395 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29396 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29397 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
29398 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
29399 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}};
29400 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
29401 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
29402 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29403 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
29404 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
29405 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}};
29406 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
29407 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29408 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
29409 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
29410 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29411 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
29412 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
29413 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}};
29414 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}};
29415 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29416 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29417 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
29418 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29419 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
29420 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
29421 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
29422 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
29423 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}};
29424 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
29425 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
29426 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
29427 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
29428 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
29429 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29430 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29431 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29432 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29433 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29434 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29435 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29436 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29437 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29438 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29439 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29440 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
29441 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29442 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29443 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29444 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
29445 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29446 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29447 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29448 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29449 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29450 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29451 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29452 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29453 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29454 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29455 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29456 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29457 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29458 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29459 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29460 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29461 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29462 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29463 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29464 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29465 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29466 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29467 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29468 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29469 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29470 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29471 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29472 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29473 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29474 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29475 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29476 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
29477 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29478 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29479 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29480 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29481 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29482 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
29483 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29484 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29485 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29486 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29487 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29488 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29489 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29490 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29491 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29492 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29493 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29494 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29495 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29496 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29497 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29498 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29499 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29500 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29501 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29502 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29503 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29504 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29505 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}};
29506 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
29507 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
29508 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29509 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
29510 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
29511 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29512 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
29513 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29514 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
29515 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
29516 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
29517 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29518 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29519 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
29520 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
29521 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
29522 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
29523 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29524 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
29525 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
29526 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29527 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}};
29528 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
29530 static swig_cast_info
*swig_cast_initial
[] = {
29533 _swigc__p_form_ops_t
,
29535 _swigc__p_unsigned_char
,
29536 _swigc__p_unsigned_int
,
29537 _swigc__p_unsigned_long
,
29538 _swigc__p_wxANIHandler
,
29539 _swigc__p_wxAcceleratorTable
,
29540 _swigc__p_wxActivateEvent
,
29541 _swigc__p_wxBMPHandler
,
29542 _swigc__p_wxBitmap
,
29543 _swigc__p_wxBoxSizer
,
29545 _swigc__p_wxBrushList
,
29546 _swigc__p_wxBufferedDC
,
29547 _swigc__p_wxBufferedPaintDC
,
29548 _swigc__p_wxCURHandler
,
29549 _swigc__p_wxChildFocusEvent
,
29550 _swigc__p_wxClientDC
,
29551 _swigc__p_wxClipboardTextEvent
,
29552 _swigc__p_wxCloseEvent
,
29553 _swigc__p_wxColour
,
29554 _swigc__p_wxColourDatabase
,
29555 _swigc__p_wxCommandEvent
,
29556 _swigc__p_wxContextMenuEvent
,
29557 _swigc__p_wxControl
,
29558 _swigc__p_wxControlWithItems
,
29559 _swigc__p_wxCursor
,
29562 _swigc__p_wxDateEvent
,
29563 _swigc__p_wxDisplayChangedEvent
,
29564 _swigc__p_wxDropFilesEvent
,
29565 _swigc__p_wxDuplexMode
,
29566 _swigc__p_wxEffects
,
29567 _swigc__p_wxEncodingConverter
,
29568 _swigc__p_wxEraseEvent
,
29570 _swigc__p_wxEvtHandler
,
29571 _swigc__p_wxFSFile
,
29572 _swigc__p_wxFileSystem
,
29573 _swigc__p_wxFlexGridSizer
,
29574 _swigc__p_wxFocusEvent
,
29576 _swigc__p_wxFontList
,
29577 _swigc__p_wxFontMapper
,
29578 _swigc__p_wxGBSizerItem
,
29579 _swigc__p_wxGDIObjListBase
,
29580 _swigc__p_wxGDIObject
,
29581 _swigc__p_wxGIFHandler
,
29582 _swigc__p_wxGridBagSizer
,
29583 _swigc__p_wxGridSizer
,
29584 _swigc__p_wxICOHandler
,
29586 _swigc__p_wxIconBundle
,
29587 _swigc__p_wxIconLocation
,
29588 _swigc__p_wxIconizeEvent
,
29589 _swigc__p_wxIdleEvent
,
29591 _swigc__p_wxImageHandler
,
29592 _swigc__p_wxImageList
,
29593 _swigc__p_wxIndividualLayoutConstraint
,
29594 _swigc__p_wxInitDialogEvent
,
29595 _swigc__p_wxJPEGHandler
,
29596 _swigc__p_wxKeyEvent
,
29597 _swigc__p_wxLanguageInfo
,
29598 _swigc__p_wxLayoutConstraints
,
29599 _swigc__p_wxLocale
,
29601 _swigc__p_wxMaximizeEvent
,
29602 _swigc__p_wxMemoryDC
,
29604 _swigc__p_wxMenuBar
,
29605 _swigc__p_wxMenuEvent
,
29606 _swigc__p_wxMenuItem
,
29607 _swigc__p_wxMetaFile
,
29608 _swigc__p_wxMetaFileDC
,
29609 _swigc__p_wxMirrorDC
,
29610 _swigc__p_wxMouseCaptureChangedEvent
,
29611 _swigc__p_wxMouseCaptureLostEvent
,
29612 _swigc__p_wxMouseEvent
,
29613 _swigc__p_wxMoveEvent
,
29614 _swigc__p_wxNativeEncodingInfo
,
29615 _swigc__p_wxNativeFontInfo
,
29616 _swigc__p_wxNavigationKeyEvent
,
29617 _swigc__p_wxNcPaintEvent
,
29618 _swigc__p_wxNotifyEvent
,
29619 _swigc__p_wxObject
,
29620 _swigc__p_wxPCXHandler
,
29621 _swigc__p_wxPNGHandler
,
29622 _swigc__p_wxPNMHandler
,
29623 _swigc__p_wxPaintDC
,
29624 _swigc__p_wxPaintEvent
,
29625 _swigc__p_wxPalette
,
29626 _swigc__p_wxPaletteChangedEvent
,
29627 _swigc__p_wxPaperSize
,
29629 _swigc__p_wxPenList
,
29631 _swigc__p_wxPostScriptDC
,
29632 _swigc__p_wxPrintData
,
29633 _swigc__p_wxPrinterDC
,
29634 _swigc__p_wxPseudoDC
,
29636 _swigc__p_wxPyCommandEvent
,
29637 _swigc__p_wxPyEvent
,
29638 _swigc__p_wxPyFontEnumerator
,
29639 _swigc__p_wxPyImageHandler
,
29640 _swigc__p_wxPySizer
,
29641 _swigc__p_wxPyValidator
,
29642 _swigc__p_wxQueryNewPaletteEvent
,
29644 _swigc__p_wxRegion
,
29645 _swigc__p_wxRegionIterator
,
29646 _swigc__p_wxRendererNative
,
29647 _swigc__p_wxRendererVersion
,
29648 _swigc__p_wxScreenDC
,
29649 _swigc__p_wxScrollEvent
,
29650 _swigc__p_wxScrollWinEvent
,
29651 _swigc__p_wxSetCursorEvent
,
29652 _swigc__p_wxShowEvent
,
29654 _swigc__p_wxSizeEvent
,
29656 _swigc__p_wxSizerItem
,
29657 _swigc__p_wxSplitterRenderParams
,
29658 _swigc__p_wxStaticBoxSizer
,
29659 _swigc__p_wxStdDialogButtonSizer
,
29660 _swigc__p_wxStockGDI
,
29661 _swigc__p_wxString
,
29662 _swigc__p_wxSysColourChangedEvent
,
29663 _swigc__p_wxTIFFHandler
,
29664 _swigc__p_wxUpdateUIEvent
,
29665 _swigc__p_wxValidator
,
29666 _swigc__p_wxWindow
,
29667 _swigc__p_wxWindowCreateEvent
,
29668 _swigc__p_wxWindowDC
,
29669 _swigc__p_wxWindowDestroyEvent
,
29670 _swigc__p_wxXPMHandler
,
29674 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29676 static swig_const_info swig_const_table
[] = {
29677 {0, 0, 0, 0.0, 0, 0}};
29682 /* -----------------------------------------------------------------------------
29683 * Type initialization:
29684 * This problem is tough by the requirement that no dynamic
29685 * memory is used. Also, since swig_type_info structures store pointers to
29686 * swig_cast_info structures and swig_cast_info structures store pointers back
29687 * to swig_type_info structures, we need some lookup code at initialization.
29688 * The idea is that swig generates all the structures that are needed.
29689 * The runtime then collects these partially filled structures.
29690 * The SWIG_InitializeModule function takes these initial arrays out of
29691 * swig_module, and does all the lookup, filling in the swig_module.types
29692 * array with the correct data and linking the correct swig_cast_info
29693 * structures together.
29695 * The generated swig_type_info structures are assigned staticly to an initial
29696 * array. We just loop though that array, and handle each type individually.
29697 * First we lookup if this type has been already loaded, and if so, use the
29698 * loaded structure instead of the generated one. Then we have to fill in the
29699 * cast linked list. The cast data is initially stored in something like a
29700 * two-dimensional array. Each row corresponds to a type (there are the same
29701 * number of rows as there are in the swig_type_initial array). Each entry in
29702 * a column is one of the swig_cast_info structures for that type.
29703 * The cast_initial array is actually an array of arrays, because each row has
29704 * a variable number of columns. So to actually build the cast linked list,
29705 * we find the array of casts associated with the type, and loop through it
29706 * adding the casts to the list. The one last trick we need to do is making
29707 * sure the type pointer in the swig_cast_info struct is correct.
29709 * First off, we lookup the cast->type name to see if it is already loaded.
29710 * There are three cases to handle:
29711 * 1) If the cast->type has already been loaded AND the type we are adding
29712 * casting info to has not been loaded (it is in this module), THEN we
29713 * replace the cast->type pointer with the type pointer that has already
29715 * 2) If BOTH types (the one we are adding casting info to, and the
29716 * cast->type) are loaded, THEN the cast info has already been loaded by
29717 * the previous module so we just ignore it.
29718 * 3) Finally, if cast->type has not already been loaded, then we add that
29719 * swig_cast_info to the linked list (because the cast->type) pointer will
29721 * ----------------------------------------------------------------------------- */
29731 #define SWIGRUNTIME_DEBUG
29735 SWIG_InitializeModule(void *clientdata
) {
29737 swig_module_info
*module_head
;
29738 static int init_run
= 0;
29740 clientdata
= clientdata
;
29742 if (init_run
) return;
29745 /* Initialize the swig_module */
29746 swig_module
.type_initial
= swig_type_initial
;
29747 swig_module
.cast_initial
= swig_cast_initial
;
29749 /* Try and load any already created modules */
29750 module_head
= SWIG_GetModule(clientdata
);
29752 swig_module
.next
= module_head
->next
;
29753 module_head
->next
= &swig_module
;
29755 /* This is the first module loaded */
29756 swig_module
.next
= &swig_module
;
29757 SWIG_SetModule(clientdata
, &swig_module
);
29760 /* Now work on filling in swig_module.types */
29761 #ifdef SWIGRUNTIME_DEBUG
29762 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
29764 for (i
= 0; i
< swig_module
.size
; ++i
) {
29765 swig_type_info
*type
= 0;
29766 swig_type_info
*ret
;
29767 swig_cast_info
*cast
;
29769 #ifdef SWIGRUNTIME_DEBUG
29770 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29773 /* if there is another module already loaded */
29774 if (swig_module
.next
!= &swig_module
) {
29775 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
29778 /* Overwrite clientdata field */
29779 #ifdef SWIGRUNTIME_DEBUG
29780 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
29782 if (swig_module
.type_initial
[i
]->clientdata
) {
29783 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
29784 #ifdef SWIGRUNTIME_DEBUG
29785 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
29789 type
= swig_module
.type_initial
[i
];
29792 /* Insert casting types */
29793 cast
= swig_module
.cast_initial
[i
];
29794 while (cast
->type
) {
29795 /* Don't need to add information already in the list */
29797 #ifdef SWIGRUNTIME_DEBUG
29798 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
29800 if (swig_module
.next
!= &swig_module
) {
29801 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
29802 #ifdef SWIGRUNTIME_DEBUG
29803 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
29807 if (type
== swig_module
.type_initial
[i
]) {
29808 #ifdef SWIGRUNTIME_DEBUG
29809 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
29814 /* Check for casting already in the list */
29815 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
29816 #ifdef SWIGRUNTIME_DEBUG
29817 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
29819 if (!ocast
) ret
= 0;
29824 #ifdef SWIGRUNTIME_DEBUG
29825 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
29828 type
->cast
->prev
= cast
;
29829 cast
->next
= type
->cast
;
29835 /* Set entry in modules->types array equal to the type */
29836 swig_module
.types
[i
] = type
;
29838 swig_module
.types
[i
] = 0;
29840 #ifdef SWIGRUNTIME_DEBUG
29841 printf("**** SWIG_InitializeModule: Cast List ******\n");
29842 for (i
= 0; i
< swig_module
.size
; ++i
) {
29844 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
29845 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29846 while (cast
->type
) {
29847 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
29851 printf("---- Total casts: %d\n",j
);
29853 printf("**** SWIG_InitializeModule: Cast List ******\n");
29857 /* This function will propagate the clientdata field of type to
29858 * any new swig_type_info structures that have been added into the list
29859 * of equivalent types. It is like calling
29860 * SWIG_TypeClientData(type, clientdata) a second time.
29863 SWIG_PropagateClientData(void) {
29865 swig_cast_info
*equiv
;
29866 static int init_run
= 0;
29868 if (init_run
) return;
29871 for (i
= 0; i
< swig_module
.size
; i
++) {
29872 if (swig_module
.types
[i
]->clientdata
) {
29873 equiv
= swig_module
.types
[i
]->cast
;
29875 if (!equiv
->converter
) {
29876 if (equiv
->type
&& !equiv
->type
->clientdata
)
29877 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
29879 equiv
= equiv
->next
;
29899 /* Python-specific SWIG API */
29900 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29901 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29902 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29904 /* -----------------------------------------------------------------------------
29905 * global variable support code.
29906 * ----------------------------------------------------------------------------- */
29908 typedef struct swig_globalvar
{
29909 char *name
; /* Name of global variable */
29910 PyObject
*(*get_attr
)(void); /* Return the current value */
29911 int (*set_attr
)(PyObject
*); /* Set the value */
29912 struct swig_globalvar
*next
;
29915 typedef struct swig_varlinkobject
{
29917 swig_globalvar
*vars
;
29918 } swig_varlinkobject
;
29920 SWIGINTERN PyObject
*
29921 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
29922 return PyString_FromString("<Swig global variables>");
29925 SWIGINTERN PyObject
*
29926 swig_varlink_str(swig_varlinkobject
*v
) {
29927 PyObject
*str
= PyString_FromString("(");
29928 swig_globalvar
*var
;
29929 for (var
= v
->vars
; var
; var
=var
->next
) {
29930 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
29931 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
29933 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
29938 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
29939 PyObject
*str
= swig_varlink_str(v
);
29940 fprintf(fp
,"Swig global variables ");
29941 fprintf(fp
,"%s\n", PyString_AsString(str
));
29947 swig_varlink_dealloc(swig_varlinkobject
*v
) {
29948 swig_globalvar
*var
= v
->vars
;
29950 swig_globalvar
*n
= var
->next
;
29957 SWIGINTERN PyObject
*
29958 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29959 PyObject
*res
= NULL
;
29960 swig_globalvar
*var
= v
->vars
;
29962 if (strcmp(var
->name
,n
) == 0) {
29963 res
= (*var
->get_attr
)();
29968 if (res
== NULL
&& !PyErr_Occurred()) {
29969 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29975 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29977 swig_globalvar
*var
= v
->vars
;
29979 if (strcmp(var
->name
,n
) == 0) {
29980 res
= (*var
->set_attr
)(p
);
29985 if (res
== 1 && !PyErr_Occurred()) {
29986 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29991 SWIGINTERN PyTypeObject
*
29992 swig_varlink_type(void) {
29993 static char varlink__doc__
[] = "Swig var link object";
29994 static PyTypeObject varlink_type
;
29995 static int type_init
= 0;
29997 const PyTypeObject tmp
29999 PyObject_HEAD_INIT(NULL
)
30000 0, /* Number of items in variable part (ob_size) */
30001 (char *)"swigvarlink", /* Type name (tp_name) */
30002 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30003 0, /* Itemsize (tp_itemsize) */
30004 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
30005 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30006 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30007 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30008 0, /* tp_compare */
30009 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30010 0, /* tp_as_number */
30011 0, /* tp_as_sequence */
30012 0, /* tp_as_mapping */
30015 (reprfunc
)swig_varlink_str
, /* tp_str */
30016 0, /* tp_getattro */
30017 0, /* tp_setattro */
30018 0, /* tp_as_buffer */
30020 varlink__doc__
, /* tp_doc */
30021 0, /* tp_traverse */
30023 0, /* tp_richcompare */
30024 0, /* tp_weaklistoffset */
30025 #if PY_VERSION_HEX >= 0x02020000
30026 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30028 #if PY_VERSION_HEX >= 0x02030000
30031 #ifdef COUNT_ALLOCS
30032 0,0,0,0 /* tp_alloc -> tp_next */
30035 varlink_type
= tmp
;
30036 varlink_type
.ob_type
= &PyType_Type
;
30039 return &varlink_type
;
30042 /* Create a variable linking object for use later */
30043 SWIGINTERN PyObject
*
30044 SWIG_Python_newvarlink(void) {
30045 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30049 return ((PyObject
*) result
);
30053 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30054 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30055 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30057 size_t size
= strlen(name
)+1;
30058 gv
->name
= (char *)malloc(size
);
30060 strncpy(gv
->name
,name
,size
);
30061 gv
->get_attr
= get_attr
;
30062 gv
->set_attr
= set_attr
;
30063 gv
->next
= v
->vars
;
30069 SWIGINTERN PyObject
*
30071 static PyObject
*_SWIG_globals
= 0;
30072 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
30073 return _SWIG_globals
;
30076 /* -----------------------------------------------------------------------------
30077 * constants/methods manipulation
30078 * ----------------------------------------------------------------------------- */
30080 /* Install Constants */
30082 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30085 for (i
= 0; constants
[i
].type
; ++i
) {
30086 switch(constants
[i
].type
) {
30087 case SWIG_PY_POINTER
:
30088 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30090 case SWIG_PY_BINARY
:
30091 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30098 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
30104 /* -----------------------------------------------------------------------------*/
30105 /* Fix SwigMethods to carry the callback ptrs when needed */
30106 /* -----------------------------------------------------------------------------*/
30109 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30110 swig_const_info
*const_table
,
30111 swig_type_info
**types
,
30112 swig_type_info
**types_initial
) {
30114 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30115 const char *c
= methods
[i
].ml_doc
;
30116 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30118 swig_const_info
*ci
= 0;
30119 const char *name
= c
+ 10;
30120 for (j
= 0; const_table
[j
].type
; ++j
) {
30121 if (strncmp(const_table
[j
].name
, name
,
30122 strlen(const_table
[j
].name
)) == 0) {
30123 ci
= &(const_table
[j
]);
30128 size_t shift
= (ci
->ptype
) - types
;
30129 swig_type_info
*ty
= types_initial
[shift
];
30130 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30131 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30132 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30135 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30137 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30139 strncpy(buff
, "swig_ptr: ", 10);
30141 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30142 methods
[i
].ml_doc
= ndoc
;
30154 /* -----------------------------------------------------------------------------*
30155 * Partial Init method
30156 * -----------------------------------------------------------------------------*/
30161 SWIGEXPORT
void SWIG_init(void) {
30164 /* Fix SwigMethods to carry the callback ptrs when needed */
30165 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30167 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30168 d
= PyModule_GetDict(m
);
30170 SWIG_InitializeModule(0);
30171 SWIG_InstallConstants(d
,swig_const_table
);
30174 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
30175 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
30176 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
30177 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
30178 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
30179 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
30180 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
30181 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
30182 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
30183 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
30184 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
30185 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
30186 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
30187 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
30188 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
30189 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
30190 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
30191 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
30192 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
30193 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
30194 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
30195 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
30196 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
30197 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
30198 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
30199 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
30200 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
30201 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
30202 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
30203 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
30204 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
30205 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
30206 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
30207 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
30208 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
30209 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
30210 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
30211 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
30212 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
30213 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
30214 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
30215 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
30216 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
30217 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
30218 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
30219 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
30220 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
30221 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
30222 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
30223 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
30224 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
30225 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
30226 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
30227 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
30228 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
30229 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
30230 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
30231 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
30232 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
30233 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
30234 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
30235 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
30236 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
30237 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
30238 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
30239 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
30240 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
30241 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
30242 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
30243 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
30244 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
30245 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
30246 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
30247 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
30248 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
30249 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
30250 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
30251 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
30252 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
30253 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
30254 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
30255 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
30256 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
30257 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
30258 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
30259 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
30260 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
30261 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
30262 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
30263 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
30264 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
30265 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
30266 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
30267 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
30268 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
30269 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
30270 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
30271 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
30272 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
30273 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
30274 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
30275 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
30276 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
30277 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
30278 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
30279 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
30280 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
30281 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
30282 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
30283 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
30284 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
30285 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
30286 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
30287 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
30288 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
30289 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
30290 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
30291 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
30292 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
30293 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
30294 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
30295 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
30296 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
30297 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
30298 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
30299 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
30300 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
30301 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
30302 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
30303 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
30305 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
30307 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
30308 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
30309 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
30310 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
30311 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
30312 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
30313 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
30314 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
30315 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
30316 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
30317 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
30318 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
30319 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
30320 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
30321 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
30322 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
30323 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
30324 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
30325 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
30326 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
30327 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
30328 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
30329 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
30330 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
30331 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
30332 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
30333 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
30334 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
30335 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
30336 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
30337 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
30338 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
30339 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
30340 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
30341 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
30342 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
30343 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
30344 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
30345 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
30346 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
30347 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
30348 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
30349 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
30350 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
30351 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
30352 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
30353 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
30354 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
30355 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
30356 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
30357 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
30358 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
30359 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
30360 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
30361 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
30362 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
30363 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
30364 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
30365 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
30366 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
30367 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
30368 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
30369 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
30370 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
30371 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
30372 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
30373 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
30374 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
30375 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
30376 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
30377 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
30378 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
30379 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
30380 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
30381 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
30382 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
30383 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
30384 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
30385 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
30386 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
30387 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
30388 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
30389 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
30390 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
30391 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
30392 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
30393 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
30394 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
30395 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
30396 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
30397 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
30398 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
30399 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
30400 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
30401 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
30402 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
30403 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
30404 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
30405 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
30406 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
30407 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
30408 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
30409 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
30410 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
30411 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
30412 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
30413 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
30414 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
30415 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
30416 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
30417 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
30418 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
30419 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
30420 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
30421 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
30422 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
30423 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
30424 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
30425 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
30426 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
30427 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
30428 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
30429 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
30430 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
30431 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
30432 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
30433 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
30434 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
30435 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
30436 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
30437 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
30438 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
30439 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
30440 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
30441 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
30442 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
30443 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
30444 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
30445 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
30446 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
30447 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
30448 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
30449 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
30450 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
30451 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
30452 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
30453 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
30454 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
30455 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
30456 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
30457 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
30458 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
30459 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
30460 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
30461 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
30462 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
30463 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
30464 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
30465 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
30466 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
30467 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
30468 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
30469 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
30470 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
30471 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
30472 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
30473 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
30474 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
30475 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
30476 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
30477 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
30478 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
30479 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
30480 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
30481 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
30482 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
30483 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
30484 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
30485 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
30486 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
30487 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
30488 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
30489 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
30490 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
30491 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
30492 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
30493 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
30494 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
30495 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
30496 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
30497 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
30498 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
30499 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
30500 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
30501 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
30502 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
30503 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
30504 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
30505 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
30506 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
30507 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
30508 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
30509 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
30510 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
30511 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
30512 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
30513 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
30514 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
30515 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
30516 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
30517 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
30518 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
30519 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
30520 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
30521 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
30522 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
30523 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
30524 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
30525 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
30526 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
30527 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
30528 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
30529 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
30530 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
30531 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
30532 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
30533 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
30534 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
30535 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
30536 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
30537 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
30538 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
30539 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
30540 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
30541 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
30542 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
30543 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
30544 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
30545 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
30546 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
30547 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
30548 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
30549 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
30550 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
30551 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
30552 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
30553 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
30554 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
30555 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
30556 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
30557 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
30558 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
30559 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
30560 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
30561 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
30562 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
30563 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
30564 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
30565 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
30566 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
30567 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
30568 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
30569 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
30570 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
30571 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
30572 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
30573 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
30574 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
30575 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
30576 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
30577 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
30578 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
30579 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
30580 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
30581 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
30582 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
30583 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
30584 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
30585 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
30586 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
30587 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
30588 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
30589 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
30590 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
30591 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
30592 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
30593 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
30594 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
30595 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
30596 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
30597 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
30598 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
30599 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
30600 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
30601 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
30602 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
30603 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
30604 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
30605 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
30606 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
30607 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
30608 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
30609 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
30610 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
30611 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
30612 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
30613 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
30614 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
30615 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
30616 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
30617 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
30618 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
30619 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
30620 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
30622 // Work around a chicken/egg problem in drawlist.cpp
30623 wxPyDrawList_SetAPIPtr();