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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_double swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxBrush swig_types[13]
2476 #define SWIGTYPE_p_wxBrushList swig_types[14]
2477 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2478 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2481 #define SWIGTYPE_p_wxClientDC swig_types[19]
2482 #define SWIGTYPE_p_wxCloseEvent swig_types[20]
2483 #define SWIGTYPE_p_wxColour swig_types[21]
2484 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDash swig_types[29]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEffects swig_types[34]
2497 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontList swig_types[44]
2507 #define SWIGTYPE_p_wxFontMapper swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGDIObject swig_types[47]
2510 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512 #define SWIGTYPE_p_wxGridSizer swig_types[50]
2513 #define SWIGTYPE_p_wxICOHandler swig_types[51]
2514 #define SWIGTYPE_p_wxIcon swig_types[52]
2515 #define SWIGTYPE_p_wxIconBundle swig_types[53]
2516 #define SWIGTYPE_p_wxIconLocation swig_types[54]
2517 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519 #define SWIGTYPE_p_wxImage swig_types[57]
2520 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2521 #define SWIGTYPE_p_wxImageList swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLanguageInfo swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxLocale swig_types[66]
2529 #define SWIGTYPE_p_wxMask swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryDC swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMetaFile swig_types[74]
2537 #define SWIGTYPE_p_wxMetaFileDC swig_types[75]
2538 #define SWIGTYPE_p_wxMirrorDC swig_types[76]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
2543 #define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
2544 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
2546 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxObject swig_types[85]
2548 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2550 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPaintDC swig_types[89]
2552 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPalette swig_types[91]
2554 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2555 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2556 #define SWIGTYPE_p_wxPen swig_types[94]
2557 #define SWIGTYPE_p_wxPenList swig_types[95]
2558 #define SWIGTYPE_p_wxPoint swig_types[96]
2559 #define SWIGTYPE_p_wxPostScriptDC swig_types[97]
2560 #define SWIGTYPE_p_wxPrintData swig_types[98]
2561 #define SWIGTYPE_p_wxPrinterDC swig_types[99]
2562 #define SWIGTYPE_p_wxPyApp swig_types[100]
2563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
2566 #define SWIGTYPE_p_wxPyImageHandler swig_types[104]
2567 #define SWIGTYPE_p_wxPySizer swig_types[105]
2568 #define SWIGTYPE_p_wxPyValidator swig_types[106]
2569 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
2570 #define SWIGTYPE_p_wxRect swig_types[108]
2571 #define SWIGTYPE_p_wxRegion swig_types[109]
2572 #define SWIGTYPE_p_wxRegionIterator swig_types[110]
2573 #define SWIGTYPE_p_wxRendererNative swig_types[111]
2574 #define SWIGTYPE_p_wxRendererVersion swig_types[112]
2575 #define SWIGTYPE_p_wxScreenDC swig_types[113]
2576 #define SWIGTYPE_p_wxScrollEvent swig_types[114]
2577 #define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
2578 #define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
2579 #define SWIGTYPE_p_wxShowEvent swig_types[117]
2580 #define SWIGTYPE_p_wxSize swig_types[118]
2581 #define SWIGTYPE_p_wxSizeEvent swig_types[119]
2582 #define SWIGTYPE_p_wxSizer swig_types[120]
2583 #define SWIGTYPE_p_wxSizerItem swig_types[121]
2584 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
2585 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
2586 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
2587 #define SWIGTYPE_p_wxString swig_types[125]
2588 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
2589 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
2590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
2591 #define SWIGTYPE_p_wxValidator swig_types[129]
2592 #define SWIGTYPE_p_wxWindow swig_types[130]
2593 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
2594 #define SWIGTYPE_p_wxWindowDC swig_types[132]
2595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
2596 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
2597 static swig_type_info
*swig_types
[136];
2598 static swig_module_info swig_module
= {swig_types
, 135, 0, 0, 0, 0};
2599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2602 /* -------- TYPES TABLE (END) -------- */
2604 #if (PY_VERSION_HEX <= 0x02000000)
2605 # if !defined(SWIG_PYTHON_CLASSIC)
2606 # error "This python version requires to use swig with the '-classic' option"
2609 #if (PY_VERSION_HEX <= 0x02020000)
2610 # error "This python version requires to use swig with the '-nomodern' option"
2612 #if (PY_VERSION_HEX <= 0x02020000)
2613 # error "This python version requires to use swig with the '-nomodernargs' option"
2616 # error "This python version requires to use swig with the '-nofastunpack' option"
2619 /*-----------------------------------------------
2620 @(target):= _gdi_.so
2621 ------------------------------------------------*/
2622 #define SWIG_init init_gdi_
2624 #define SWIG_name "_gdi_"
2626 #define SWIGVERSION 0x010329
2629 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2630 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2633 #include <stdexcept>
2637 class PyObject_ptr
{
2642 PyObject_ptr() :_obj(0)
2646 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2651 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2653 if (initial_ref
) Py_XINCREF(_obj
);
2656 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2658 Py_XINCREF(item
._obj
);
2669 operator PyObject
*() const
2674 PyObject
*operator->() const
2683 struct PyObject_var
: PyObject_ptr
{
2684 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2686 PyObject_var
& operator = (PyObject
* obj
)
2696 #include "wx/wxPython/wxPython.h"
2697 #include "wx/wxPython/pyclasses.h"
2700 static const wxString
wxPyEmptyString(wxEmptyString
);
2703 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2705 if (PyNumber_Check(obj
)) {
2706 if (val
) *val
= PyInt_AsLong(obj
);
2709 return SWIG_TypeError
;
2714 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2716 if (obj
== Py_True
) {
2717 if (val
) *val
= true;
2719 } else if (obj
== Py_False
) {
2720 if (val
) *val
= false;
2724 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2725 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2733 # define LLONG_MIN LONG_LONG_MIN
2736 # define LLONG_MAX LONG_LONG_MAX
2739 # define ULLONG_MAX ULONG_LONG_MAX
2744 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2747 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2748 return SWIG_TypeError
;
2751 *val
= (unsigned long)v
;
2757 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2760 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
> UCHAR_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< unsigned char >(v
);
2772 #define SWIG_From_long PyInt_FromLong
2775 SWIGINTERNINLINE PyObject
*
2776 SWIG_From_unsigned_SS_long (unsigned long value
)
2778 return (value
> LONG_MAX
) ?
2779 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2783 SWIGINTERNINLINE PyObject
*
2784 SWIG_From_unsigned_SS_char (unsigned char value
)
2786 return SWIG_From_unsigned_SS_long (value
);
2789 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2790 PyObject
* rv
= PyTuple_New(3);
2796 green
= self
->Green();
2797 blue
= self
->Blue();
2799 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2800 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2801 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2804 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2805 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2809 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2812 int res
= SWIG_AsVal_long (obj
, &v
);
2813 if (SWIG_IsOK(res
)) {
2814 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2815 return SWIG_OverflowError
;
2817 if (val
) *val
= static_cast< int >(v
);
2824 SWIGINTERNINLINE PyObject
*
2825 SWIG_From_int (int value
)
2827 return SWIG_From_long (value
);
2830 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2832 int count
= self
->GetDashes(&dashes
);
2833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2834 PyObject
* retval
= PyList_New(0);
2835 for (int x
=0; x
<count
; x
++) {
2836 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2837 PyList_Append(retval
, pyint
);
2840 wxPyEndBlockThreads(blocked
);
2843 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2845 int size
= PyList_Size(pyDashes
);
2846 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2848 // black magic warning! The array of wxDashes needs to exist as
2849 // long as the pen does because wxPen does not copy the array. So
2850 // stick a copy in a Python string object and attach it to _self,
2851 // and then call SetDashes with a pointer to that array. Then
2852 // when the Python pen object is destroyed the array will be
2854 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2855 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2857 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2859 Py_DECREF(strDashes
);
2860 wxPyEndBlockThreads(blocked
);
2862 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2863 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2865 #include <wx/image.h>
2867 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2868 char** cArray
= NULL
;
2871 if (!PyList_Check(listOfStrings
)) {
2872 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2875 count
= PyList_Size(listOfStrings
);
2876 cArray
= new char*[count
];
2878 for(int x
=0; x
<count
; x
++) {
2879 // TODO: Need some validation and error checking here
2880 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2886 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2887 char** cArray
= NULL
;
2890 cArray
= ConvertListOfStrings(listOfStrings
);
2893 bmp
= new wxBitmap(cArray
);
2897 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2900 PyString_AsStringAndSize(bits
, &buf
, &length
);
2901 return new wxBitmap(buf
, width
, height
, depth
);
2903 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2904 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2905 wxSize
size(self
->GetWidth(), self
->GetHeight());
2908 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2909 wxMask
*mask
= new wxMask(*self
, colour
);
2910 self
->SetMask(mask
);
2912 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2913 self
->SetWidth(size
.x
);
2914 self
->SetHeight(size
.y
);
2916 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2917 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2918 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2920 return new wxMask(bitmap
, *wxBLACK
);
2922 return new wxMask(bitmap
, colour
);
2925 #include <wx/iconbndl.h>
2927 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2928 wxIcon
* icon
= new wxIcon();
2929 icon
->CopyFromBitmap(bmp
);
2932 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2933 char** cArray
= NULL
;
2936 cArray
= ConvertListOfStrings(listOfStrings
);
2939 icon
= new wxIcon(cArray
);
2943 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2944 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2946 return new wxIconLocation(*filename
, num
);
2951 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2953 self
->SetIndex(num
);
2958 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2960 return self
->GetIndex();
2965 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2967 wxImage
img(cursorName
, type
);
2968 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2969 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2970 return new wxCursor(img
);
2972 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2975 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2978 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2981 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2982 return self
->operator bool();
2985 #include <wx/fontutil.h>
2986 #include <wx/fontmap.h>
2987 #include <wx/fontenum.h>
2989 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
2990 return self
->ToString();
2993 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
2994 { wxPyRaiseNotImplemented(); return NULL
; }
2996 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
2997 { wxPyRaiseNotImplemented(); return false; }
3000 SWIGINTERNINLINE PyObject
*
3001 SWIG_From_size_t (size_t value
)
3003 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3007 SWIGINTERNINLINE
int
3008 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3011 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3012 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3016 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3017 wxFontEncoding alt_enc
;
3018 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3019 return PyInt_FromLong(alt_enc
);
3025 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3026 wxNativeFontInfo nfi
;
3027 nfi
.FromString(info
);
3028 return new wxFont(nfi
);
3030 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3031 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3033 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3034 return wxFontBase::New(pixelSize
, family
,
3035 style
, weight
, underlined
,
3038 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3039 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3041 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3042 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3044 class wxPyFontEnumerator
: public wxFontEnumerator
{
3046 wxPyFontEnumerator() {}
3047 ~wxPyFontEnumerator() {}
3049 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3050 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3055 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3056 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3059 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3060 wxArrayString
* arr
= self
->GetEncodings();
3062 return wxArrayString2PyList_helper(*arr
);
3064 return PyList_New(0);
3066 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3067 wxArrayString
* arr
= self
->GetFacenames();
3069 return wxArrayString2PyList_helper(*arr
);
3071 return PyList_New(0);
3076 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3079 loc
= new wxLocale();
3081 loc
= new wxLocale(language
, flags
);
3082 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3083 // for the floating point conversions and such to work right.
3084 #if PY_VERSION_HEX < 0x02040000
3085 setlocale(LC_NUMERIC
, "C");
3089 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3090 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3091 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3092 // for the floating point conversions and such to work right.
3093 #if PY_VERSION_HEX < 0x02040000
3094 setlocale(LC_NUMERIC
, "C");
3098 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3099 bool rc
= self
->Init(language
, flags
);
3100 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3101 // for the floating point conversions and such to work right.
3102 #if PY_VERSION_HEX < 0x02040000
3103 setlocale(LC_NUMERIC
, "C");
3108 #include "wx/wxPython/pydrawxxx.h"
3110 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3112 self
->GetPixel(x
, y
, &col
);
3115 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3117 self
->GetPixel(pt
, &col
);
3122 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3124 if (PyNumber_Check(obj
)) {
3125 if (val
) *val
= PyFloat_AsDouble(obj
);
3128 return SWIG_TypeError
;
3131 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3133 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3136 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3138 self
->GetClippingBox(rect
);
3141 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3143 self
->GetPartialTextExtents(text
, widths
);
3147 #define SWIG_From_double PyFloat_FromDouble
3149 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3150 self
->SetLogicalOrigin(point
.x
, point
.y
);
3152 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3153 self
->SetDeviceOrigin(point
.x
, point
.y
);
3155 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3156 self
->CalcBoundingBox(point
.x
, point
.y
);
3158 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3159 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3161 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3162 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3164 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3165 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3167 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3168 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3170 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3171 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3173 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3174 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3177 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3185 #include <wx/dcbuffer.h>
3188 #include <wx/dcps.h>
3191 #include <wx/metafile.h>
3195 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3196 self
->AddColour(name
, wxColour(red
, green
, blue
));
3199 #include <wx/effects.h>
3202 #include "wx/renderer.h"
3205 SWIGINTERNINLINE PyObject
*
3206 SWIG_From_bool (bool value
)
3208 return PyBool_FromLong(value
? 1 : 0);
3214 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3215 PyObject
*resultobj
= 0;
3216 wxGDIObject
*result
= 0 ;
3218 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3220 if (!wxPyCheckForApp()) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= (wxGDIObject
*)new wxGDIObject();
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3233 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3234 PyObject
*resultobj
= 0;
3235 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3238 PyObject
*swig_obj
[1] ;
3240 if (!args
) SWIG_fail
;
3242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3243 if (!SWIG_IsOK(res1
)) {
3244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3246 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 resultobj
= SWIG_Py_Void();
3261 SWIGINTERN PyObject
*_wrap_GDIObject_GetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3262 PyObject
*resultobj
= 0;
3263 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3267 PyObject
*swig_obj
[1] ;
3269 if (!args
) SWIG_fail
;
3271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3272 if (!SWIG_IsOK(res1
)) {
3273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_GetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3275 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 result
= (bool)(arg1
)->GetVisible();
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3291 SWIGINTERN PyObject
*_wrap_GDIObject_SetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
= 0;
3293 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3301 char * kwnames
[] = {
3302 (char *) "self",(char *) "visible", NULL
3305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3307 if (!SWIG_IsOK(res1
)) {
3308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_SetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3310 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3311 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
3312 if (!SWIG_IsOK(ecode2
)) {
3313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GDIObject_SetVisible" "', expected argument " "2"" of type '" "bool""'");
3315 arg2
= static_cast< bool >(val2
);
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 (arg1
)->SetVisible(arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 resultobj
= SWIG_Py_Void();
3329 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3330 PyObject
*resultobj
= 0;
3331 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3335 PyObject
*swig_obj
[1] ;
3337 if (!args
) SWIG_fail
;
3339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3340 if (!SWIG_IsOK(res1
)) {
3341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3343 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 result
= (bool)(arg1
)->IsNull();
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3359 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3362 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3363 return SWIG_Py_Void();
3366 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3367 return SWIG_Python_InitShadowInstance(args
);
3370 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
= 0;
3372 byte arg1
= (byte
) 0 ;
3373 byte arg2
= (byte
) 0 ;
3374 byte arg3
= (byte
) 0 ;
3375 wxColour
*result
= 0 ;
3376 unsigned char val1
;
3378 unsigned char val2
;
3380 unsigned char val3
;
3382 PyObject
* obj0
= 0 ;
3383 PyObject
* obj1
= 0 ;
3384 PyObject
* obj2
= 0 ;
3385 char * kwnames
[] = {
3386 (char *) "red",(char *) "green",(char *) "blue", NULL
3389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3391 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3392 if (!SWIG_IsOK(ecode1
)) {
3393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3395 arg1
= static_cast< byte
>(val1
);
3398 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3399 if (!SWIG_IsOK(ecode2
)) {
3400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3402 arg2
= static_cast< byte
>(val2
);
3405 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3406 if (!SWIG_IsOK(ecode3
)) {
3407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3409 arg3
= static_cast< byte
>(val3
);
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3424 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
= 0;
3426 wxString
*arg1
= 0 ;
3427 wxColour
*result
= 0 ;
3428 bool temp1
= false ;
3429 PyObject
* obj0
= 0 ;
3430 char * kwnames
[] = {
3431 (char *) "colorName", NULL
3434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3436 arg1
= wxString_in_helper(obj0
);
3437 if (arg1
== NULL
) SWIG_fail
;
3441 if (!wxPyCheckForApp()) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3462 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
= 0;
3464 unsigned long arg1
;
3465 wxColour
*result
= 0 ;
3466 unsigned long val1
;
3468 PyObject
* obj0
= 0 ;
3469 char * kwnames
[] = {
3470 (char *) "colRGB", NULL
3473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3474 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3475 if (!SWIG_IsOK(ecode1
)) {
3476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3478 arg1
= static_cast< unsigned long >(val1
);
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 result
= (wxColour
*)new wxColour(arg1
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3492 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3493 PyObject
*resultobj
= 0;
3494 wxColour
*arg1
= (wxColour
*) 0 ;
3497 PyObject
*swig_obj
[1] ;
3499 if (!args
) SWIG_fail
;
3501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3502 if (!SWIG_IsOK(res1
)) {
3503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3505 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= SWIG_Py_Void();
3520 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3521 PyObject
*resultobj
= 0;
3522 wxColour
*arg1
= (wxColour
*) 0 ;
3526 PyObject
*swig_obj
[1] ;
3528 if (!args
) SWIG_fail
;
3530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3531 if (!SWIG_IsOK(res1
)) {
3532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3534 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= (byte
)(arg1
)->Red();
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3548 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3549 PyObject
*resultobj
= 0;
3550 wxColour
*arg1
= (wxColour
*) 0 ;
3554 PyObject
*swig_obj
[1] ;
3556 if (!args
) SWIG_fail
;
3558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3559 if (!SWIG_IsOK(res1
)) {
3560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3562 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (byte
)(arg1
)->Green();
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3576 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3577 PyObject
*resultobj
= 0;
3578 wxColour
*arg1
= (wxColour
*) 0 ;
3582 PyObject
*swig_obj
[1] ;
3584 if (!args
) SWIG_fail
;
3586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3587 if (!SWIG_IsOK(res1
)) {
3588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3590 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (byte
)(arg1
)->Blue();
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3604 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3605 PyObject
*resultobj
= 0;
3606 wxColour
*arg1
= (wxColour
*) 0 ;
3610 PyObject
*swig_obj
[1] ;
3612 if (!args
) SWIG_fail
;
3614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3615 if (!SWIG_IsOK(res1
)) {
3616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3618 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 result
= (bool)(arg1
)->Ok();
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3634 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
*resultobj
= 0;
3636 wxColour
*arg1
= (wxColour
*) 0 ;
3642 unsigned char val2
;
3644 unsigned char val3
;
3646 unsigned char val4
;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3650 PyObject
* obj2
= 0 ;
3651 PyObject
* obj3
= 0 ;
3652 char * kwnames
[] = {
3653 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3658 if (!SWIG_IsOK(res1
)) {
3659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3661 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3662 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3663 if (!SWIG_IsOK(ecode2
)) {
3664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3666 arg2
= static_cast< byte
>(val2
);
3667 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3668 if (!SWIG_IsOK(ecode3
)) {
3669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3671 arg3
= static_cast< byte
>(val3
);
3672 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3673 if (!SWIG_IsOK(ecode4
)) {
3674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3676 arg4
= static_cast< byte
>(val4
);
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->Set(arg2
,arg3
,arg4
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 resultobj
= SWIG_Py_Void();
3690 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
= 0;
3692 wxColour
*arg1
= (wxColour
*) 0 ;
3693 unsigned long arg2
;
3696 unsigned long val2
;
3698 PyObject
* obj0
= 0 ;
3699 PyObject
* obj1
= 0 ;
3700 char * kwnames
[] = {
3701 (char *) "self",(char *) "colRGB", NULL
3704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3706 if (!SWIG_IsOK(res1
)) {
3707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3709 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3710 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3711 if (!SWIG_IsOK(ecode2
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3714 arg2
= static_cast< unsigned long >(val2
);
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_Py_Void();
3728 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
= 0;
3730 wxColour
*arg1
= (wxColour
*) 0 ;
3731 wxString
*arg2
= 0 ;
3734 bool temp2
= false ;
3735 PyObject
* obj0
= 0 ;
3736 PyObject
* obj1
= 0 ;
3737 char * kwnames
[] = {
3738 (char *) "self",(char *) "colourName", NULL
3741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3743 if (!SWIG_IsOK(res1
)) {
3744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3746 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3748 arg2
= wxString_in_helper(obj1
);
3749 if (arg2
== NULL
) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->InitFromName((wxString
const &)*arg2
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= SWIG_Py_Void();
3773 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3774 PyObject
*resultobj
= 0;
3775 wxColour
*arg1
= (wxColour
*) 0 ;
3779 PyObject
*swig_obj
[1] ;
3781 if (!args
) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3787 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= SWIG_From_long(static_cast< long >(result
));
3801 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
= 0;
3803 wxColour
*arg1
= (wxColour
*) 0 ;
3804 wxColour
*arg2
= 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3811 char * kwnames
[] = {
3812 (char *) "self",(char *) "colour", NULL
3815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3817 if (!SWIG_IsOK(res1
)) {
3818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour const *""'");
3820 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3823 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3840 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
= 0;
3842 wxColour
*arg1
= (wxColour
*) 0 ;
3843 wxColour
*arg2
= 0 ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3850 char * kwnames
[] = {
3851 (char *) "self",(char *) "colour", NULL
3854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",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___ne__" "', expected argument " "1"" of type '" "wxColour const *""'");
3859 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3879 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3880 PyObject
*resultobj
= 0;
3881 wxColour
*arg1
= (wxColour
*) 0 ;
3882 PyObject
*result
= 0 ;
3885 PyObject
*swig_obj
[1] ;
3887 if (!args
) SWIG_fail
;
3889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3890 if (!SWIG_IsOK(res1
)) {
3891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3893 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (PyObject
*)wxColour_Get(arg1
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3907 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3908 PyObject
*resultobj
= 0;
3909 wxColour
*arg1
= (wxColour
*) 0 ;
3910 unsigned long result
;
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_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3921 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (unsigned long)wxColour_GetRGB(arg1
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3935 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3938 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3939 return SWIG_Py_Void();
3942 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3943 return SWIG_Python_InitShadowInstance(args
);
3946 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
= 0;
3949 unsigned char *arg2
= (unsigned char *) 0 ;
3950 unsigned char *arg3
= (unsigned char *) 0 ;
3951 unsigned char *arg4
= (unsigned char *) 0 ;
3952 wxPalette
*result
= 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3963 PyObject
* obj2
= 0 ;
3964 PyObject
* obj3
= 0 ;
3965 char * kwnames
[] = {
3966 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3971 if (!SWIG_IsOK(ecode1
)) {
3972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3974 arg1
= static_cast< int >(val1
);
3975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3976 if (!SWIG_IsOK(res2
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3979 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3980 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3981 if (!SWIG_IsOK(res3
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3984 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3985 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3986 if (!SWIG_IsOK(res4
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3989 arg4
= reinterpret_cast< unsigned char * >(argp4
);
3991 if (!wxPyCheckForApp()) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4004 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4005 PyObject
*resultobj
= 0;
4006 wxPalette
*arg1
= (wxPalette
*) 0 ;
4009 PyObject
*swig_obj
[1] ;
4011 if (!args
) SWIG_fail
;
4013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4014 if (!SWIG_IsOK(res1
)) {
4015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4017 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_Py_Void();
4032 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
= 0;
4034 wxPalette
*arg1
= (wxPalette
*) 0 ;
4041 unsigned char val2
;
4043 unsigned char val3
;
4045 unsigned char val4
;
4047 PyObject
* obj0
= 0 ;
4048 PyObject
* obj1
= 0 ;
4049 PyObject
* obj2
= 0 ;
4050 PyObject
* obj3
= 0 ;
4051 char * kwnames
[] = {
4052 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4060 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4061 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4062 if (!SWIG_IsOK(ecode2
)) {
4063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4065 arg2
= static_cast< byte
>(val2
);
4066 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4067 if (!SWIG_IsOK(ecode3
)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4070 arg3
= static_cast< byte
>(val3
);
4071 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4072 if (!SWIG_IsOK(ecode4
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4075 arg4
= static_cast< byte
>(val4
);
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= SWIG_From_int(static_cast< int >(result
));
4089 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
= 0;
4091 wxPalette
*arg1
= (wxPalette
*) 0 ;
4093 byte
*arg3
= (byte
*) 0 ;
4094 byte
*arg4
= (byte
*) 0 ;
4095 byte
*arg5
= (byte
*) 0 ;
4102 int res3
= SWIG_TMPOBJ
;
4104 int res4
= SWIG_TMPOBJ
;
4106 int res5
= SWIG_TMPOBJ
;
4107 PyObject
* obj0
= 0 ;
4108 PyObject
* obj1
= 0 ;
4109 char * kwnames
[] = {
4110 (char *) "self",(char *) "pixel", NULL
4116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4118 if (!SWIG_IsOK(res1
)) {
4119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4121 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4123 if (!SWIG_IsOK(ecode2
)) {
4124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4126 arg2
= static_cast< int >(val2
);
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4136 if (SWIG_IsTmpObj(res3
)) {
4137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4139 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4142 if (SWIG_IsTmpObj(res4
)) {
4143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4145 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4148 if (SWIG_IsTmpObj(res5
)) {
4149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4151 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4160 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4161 PyObject
*resultobj
= 0;
4162 wxPalette
*arg1
= (wxPalette
*) 0 ;
4166 PyObject
*swig_obj
[1] ;
4168 if (!args
) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4174 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= SWIG_From_int(static_cast< int >(result
));
4188 SWIGINTERN PyObject
*_wrap_Palette_Ok(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_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4202 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (bool)(arg1
)->Ok();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4218 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4221 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4222 return SWIG_Py_Void();
4225 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4226 return SWIG_Python_InitShadowInstance(args
);
4229 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
= 0;
4231 wxColour
*arg1
= 0 ;
4232 int arg2
= (int) 1 ;
4233 int arg3
= (int) wxSOLID
;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 PyObject
* obj2
= 0 ;
4243 char * kwnames
[] = {
4244 (char *) "colour",(char *) "width",(char *) "style", NULL
4247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4250 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4254 if (!SWIG_IsOK(ecode2
)) {
4255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4257 arg2
= static_cast< int >(val2
);
4260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4261 if (!SWIG_IsOK(ecode3
)) {
4262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4264 arg3
= static_cast< int >(val3
);
4267 if (!wxPyCheckForApp()) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4280 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 PyObject
*resultobj
= 0;
4282 wxPen
*arg1
= (wxPen
*) 0 ;
4285 PyObject
*swig_obj
[1] ;
4287 if (!args
) SWIG_fail
;
4289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4290 if (!SWIG_IsOK(res1
)) {
4291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4293 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_Py_Void();
4308 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxPen
*arg1
= (wxPen
*) 0 ;
4314 PyObject
*swig_obj
[1] ;
4316 if (!args
) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (int)(arg1
)->GetCap();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_From_int(static_cast< int >(result
));
4336 SWIGINTERN PyObject
*_wrap_Pen_GetColour(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_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4350 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (arg1
)->GetColour();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4364 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(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_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (int)(arg1
)->GetJoin();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_From_int(static_cast< int >(result
));
4392 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(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_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4406 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (int)(arg1
)->GetStyle();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_From_int(static_cast< int >(result
));
4420 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(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_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4434 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (int)(arg1
)->GetWidth();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_From_int(static_cast< int >(result
));
4448 SWIGINTERN PyObject
*_wrap_Pen_Ok(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_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4462 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (bool)(arg1
)->Ok();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4478 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxPen
*arg1
= (wxPen
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4488 char * kwnames
[] = {
4489 (char *) "self",(char *) "cap_style", NULL
4492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4497 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4499 if (!SWIG_IsOK(ecode2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4502 arg2
= static_cast< int >(val2
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 (arg1
)->SetCap(arg2
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_Py_Void();
4516 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxPen
*arg1
= (wxPen
*) 0 ;
4519 wxColour
*arg2
= 0 ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "self",(char *) "colour", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4534 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 (arg1
)->SetColour(*arg2
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_Py_Void();
4552 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
= 0;
4554 wxPen
*arg1
= (wxPen
*) 0 ;
4560 PyObject
* obj0
= 0 ;
4561 PyObject
* obj1
= 0 ;
4562 char * kwnames
[] = {
4563 (char *) "self",(char *) "join_style", NULL
4566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4568 if (!SWIG_IsOK(res1
)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4571 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4573 if (!SWIG_IsOK(ecode2
)) {
4574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4576 arg2
= static_cast< int >(val2
);
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 (arg1
)->SetJoin(arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 resultobj
= SWIG_Py_Void();
4590 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
= 0;
4592 wxPen
*arg1
= (wxPen
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 char * kwnames
[] = {
4601 (char *) "self",(char *) "style", NULL
4604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4606 if (!SWIG_IsOK(res1
)) {
4607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4609 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4611 if (!SWIG_IsOK(ecode2
)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4614 arg2
= static_cast< int >(val2
);
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 (arg1
)->SetStyle(arg2
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_Py_Void();
4628 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
= 0;
4630 wxPen
*arg1
= (wxPen
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "self",(char *) "width", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4644 if (!SWIG_IsOK(res1
)) {
4645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4647 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4649 if (!SWIG_IsOK(ecode2
)) {
4650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4652 arg2
= static_cast< int >(val2
);
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 (arg1
)->SetWidth(arg2
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= SWIG_Py_Void();
4666 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxPen
*arg1
= (wxPen
*) 0 ;
4670 wxDash
*arg3
= (wxDash
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "dashes", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4684 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4686 arg2
= PyList_Size(obj1
);
4687 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4688 if (arg3
== NULL
) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->SetDashes(arg2
,arg3
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_Py_Void();
4698 if (arg3
) delete [] arg3
;
4703 if (arg3
) delete [] arg3
;
4709 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4710 PyObject
*resultobj
= 0;
4711 wxPen
*arg1
= (wxPen
*) 0 ;
4712 PyObject
*result
= 0 ;
4715 PyObject
*swig_obj
[1] ;
4717 if (!args
) SWIG_fail
;
4719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4720 if (!SWIG_IsOK(res1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4723 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4737 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
= 0;
4739 wxPen
*arg1
= (wxPen
*) 0 ;
4740 PyObject
*arg2
= (PyObject
*) 0 ;
4741 PyObject
*arg3
= (PyObject
*) 0 ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 PyObject
* obj2
= 0 ;
4747 char * kwnames
[] = {
4748 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4756 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 wxPen__SetDashes(arg1
,arg2
,arg3
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= SWIG_Py_Void();
4772 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4773 PyObject
*resultobj
= 0;
4774 wxPen
*arg1
= (wxPen
*) 0 ;
4778 PyObject
*swig_obj
[1] ;
4780 if (!args
) SWIG_fail
;
4782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4783 if (!SWIG_IsOK(res1
)) {
4784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4786 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_From_int(static_cast< int >(result
));
4800 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxPen
*arg1
= (wxPen
*) 0 ;
4803 wxBitmap
*result
= 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_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4814 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxBitmap
*)(arg1
)->GetStipple();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4828 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
= 0;
4830 wxPen
*arg1
= (wxPen
*) 0 ;
4831 wxBitmap
*arg2
= 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 char * kwnames
[] = {
4839 (char *) "self",(char *) "stipple", NULL
4842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4844 if (!SWIG_IsOK(res1
)) {
4845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4847 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4849 if (!SWIG_IsOK(res2
)) {
4850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4855 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 (arg1
)->SetStipple(*arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_Py_Void();
4869 SWIGINTERN PyObject
*_wrap_Pen___eq__(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___eq__",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___eq__" "', 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___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4894 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (bool)wxPen___eq__(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
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
= 0;
4912 wxPen
*arg1
= (wxPen
*) 0 ;
4913 wxPen
*arg2
= (wxPen
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 char * kwnames
[] = {
4922 (char *) "self",(char *) "other", NULL
4925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4927 if (!SWIG_IsOK(res1
)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4930 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4932 if (!SWIG_IsOK(res2
)) {
4933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4935 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4951 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4954 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4955 return SWIG_Py_Void();
4958 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4959 return SWIG_Python_InitShadowInstance(args
);
4962 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
= 0;
4964 wxColour
*arg1
= 0 ;
4965 int arg2
= (int) wxSOLID
;
4966 wxBrush
*result
= 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4972 char * kwnames
[] = {
4973 (char *) "colour",(char *) "style", NULL
4976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4979 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4983 if (!SWIG_IsOK(ecode2
)) {
4984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4986 arg2
= static_cast< int >(val2
);
4989 if (!wxPyCheckForApp()) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5002 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
= 0;
5004 wxBitmap
*arg1
= 0 ;
5005 wxBrush
*result
= 0 ;
5008 PyObject
* obj0
= 0 ;
5009 char * kwnames
[] = {
5010 (char *) "stippleBitmap", NULL
5013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5014 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5015 if (!SWIG_IsOK(res1
)) {
5016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5021 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5023 if (!wxPyCheckForApp()) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5036 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 PyObject
*resultobj
= 0;
5038 wxBrush
*arg1
= (wxBrush
*) 0 ;
5041 PyObject
*swig_obj
[1] ;
5043 if (!args
) SWIG_fail
;
5045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5046 if (!SWIG_IsOK(res1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5049 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_Py_Void();
5064 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxBrush
*arg1
= (wxBrush
*) 0 ;
5067 wxColour
*arg2
= 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "col", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5082 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5085 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetColour((wxColour
const &)*arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
= 0;
5102 wxBrush
*arg1
= (wxBrush
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5110 char * kwnames
[] = {
5111 (char *) "self",(char *) "style", NULL
5114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5116 if (!SWIG_IsOK(res1
)) {
5117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5119 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5121 if (!SWIG_IsOK(ecode2
)) {
5122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5124 arg2
= static_cast< int >(val2
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 (arg1
)->SetStyle(arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_Py_Void();
5138 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= 0;
5140 wxBrush
*arg1
= (wxBrush
*) 0 ;
5141 wxBitmap
*arg2
= 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "self",(char *) "stipple", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5157 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5159 if (!SWIG_IsOK(res2
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5165 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_Py_Void();
5179 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5180 PyObject
*resultobj
= 0;
5181 wxBrush
*arg1
= (wxBrush
*) 0 ;
5185 PyObject
*swig_obj
[1] ;
5187 if (!args
) SWIG_fail
;
5189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5190 if (!SWIG_IsOK(res1
)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5193 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= ((wxBrush
const *)arg1
)->GetColour();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5207 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5208 PyObject
*resultobj
= 0;
5209 wxBrush
*arg1
= (wxBrush
*) 0 ;
5213 PyObject
*swig_obj
[1] ;
5215 if (!args
) SWIG_fail
;
5217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5218 if (!SWIG_IsOK(res1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5221 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_From_int(static_cast< int >(result
));
5235 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5236 PyObject
*resultobj
= 0;
5237 wxBrush
*arg1
= (wxBrush
*) 0 ;
5238 wxBitmap
*result
= 0 ;
5241 PyObject
*swig_obj
[1] ;
5243 if (!args
) SWIG_fail
;
5245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5246 if (!SWIG_IsOK(res1
)) {
5247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5249 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5263 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5264 PyObject
*resultobj
= 0;
5265 wxBrush
*arg1
= (wxBrush
*) 0 ;
5269 PyObject
*swig_obj
[1] ;
5271 if (!args
) SWIG_fail
;
5273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5274 if (!SWIG_IsOK(res1
)) {
5275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5277 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5293 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5294 PyObject
*resultobj
= 0;
5295 wxBrush
*arg1
= (wxBrush
*) 0 ;
5299 PyObject
*swig_obj
[1] ;
5301 if (!args
) SWIG_fail
;
5303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5304 if (!SWIG_IsOK(res1
)) {
5305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5307 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= (bool)(arg1
)->Ok();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5323 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5326 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5327 return SWIG_Py_Void();
5330 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5331 return SWIG_Python_InitShadowInstance(args
);
5334 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
= 0;
5336 wxString
*arg1
= 0 ;
5337 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5338 wxBitmap
*result
= 0 ;
5339 bool temp1
= false ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 char * kwnames
[] = {
5345 (char *) "name",(char *) "type", NULL
5348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5350 arg1
= wxString_in_helper(obj0
);
5351 if (arg1
== NULL
) SWIG_fail
;
5355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5356 if (!SWIG_IsOK(ecode2
)) {
5357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5359 arg2
= static_cast< wxBitmapType
>(val2
);
5362 if (!wxPyCheckForApp()) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5383 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5384 PyObject
*resultobj
= 0;
5385 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5388 PyObject
*swig_obj
[1] ;
5390 if (!args
) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5396 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_Py_Void();
5411 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
= 0;
5415 int arg3
= (int) -1 ;
5416 wxBitmap
*result
= 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "width",(char *) "height",(char *) "depth", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5435 arg1
= static_cast< int >(val1
);
5436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5437 if (!SWIG_IsOK(ecode2
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5440 arg2
= static_cast< int >(val2
);
5442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5443 if (!SWIG_IsOK(ecode3
)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5446 arg3
= static_cast< int >(val3
);
5449 if (!wxPyCheckForApp()) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5462 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
= 0;
5465 wxBitmap
*result
= 0 ;
5468 PyObject
* obj0
= 0 ;
5469 char * kwnames
[] = {
5470 (char *) "icon", NULL
5473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5481 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5483 if (!wxPyCheckForApp()) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5496 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
= 0;
5499 int arg2
= (int) -1 ;
5500 wxBitmap
*result
= 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 char * kwnames
[] = {
5508 (char *) "image",(char *) "depth", NULL
5511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5512 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5513 if (!SWIG_IsOK(res1
)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5519 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5522 if (!SWIG_IsOK(ecode2
)) {
5523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5525 arg2
= static_cast< int >(val2
);
5528 if (!wxPyCheckForApp()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5541 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
= 0;
5543 PyObject
*arg1
= (PyObject
*) 0 ;
5544 wxBitmap
*result
= 0 ;
5545 PyObject
* obj0
= 0 ;
5546 char * kwnames
[] = {
5547 (char *) "listOfStrings", NULL
5550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5553 if (!wxPyCheckForApp()) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5566 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 PyObject
*arg1
= (PyObject
*) 0 ;
5571 int arg4
= (int) 1 ;
5572 wxBitmap
*result
= 0 ;
5579 PyObject
* obj0
= 0 ;
5580 PyObject
* obj1
= 0 ;
5581 PyObject
* obj2
= 0 ;
5582 PyObject
* obj3
= 0 ;
5583 char * kwnames
[] = {
5584 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5590 if (!SWIG_IsOK(ecode2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5593 arg2
= static_cast< int >(val2
);
5594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5595 if (!SWIG_IsOK(ecode3
)) {
5596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5598 arg3
= static_cast< int >(val3
);
5600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5601 if (!SWIG_IsOK(ecode4
)) {
5602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5604 arg4
= static_cast< int >(val4
);
5607 if (!wxPyCheckForApp()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5620 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5621 PyObject
*resultobj
= 0;
5622 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5626 PyObject
*swig_obj
[1] ;
5628 if (!args
) SWIG_fail
;
5630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5631 if (!SWIG_IsOK(res1
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5634 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (long)(arg1
)->GetHandle();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_From_long(static_cast< long >(result
));
5648 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
= 0;
5650 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5658 char * kwnames
[] = {
5659 (char *) "self",(char *) "handle", NULL
5662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5664 if (!SWIG_IsOK(res1
)) {
5665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5667 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5669 if (!SWIG_IsOK(ecode2
)) {
5670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5672 arg2
= static_cast< long >(val2
);
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 wxBitmap_SetHandle(arg1
,arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= SWIG_Py_Void();
5686 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5687 PyObject
*resultobj
= 0;
5688 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5692 PyObject
*swig_obj
[1] ;
5694 if (!args
) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5700 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (bool)(arg1
)->Ok();
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5716 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5717 PyObject
*resultobj
= 0;
5718 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5722 PyObject
*swig_obj
[1] ;
5724 if (!args
) SWIG_fail
;
5726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5727 if (!SWIG_IsOK(res1
)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5730 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (int)(arg1
)->GetWidth();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_From_int(static_cast< int >(result
));
5744 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5745 PyObject
*resultobj
= 0;
5746 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5750 PyObject
*swig_obj
[1] ;
5752 if (!args
) SWIG_fail
;
5754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5755 if (!SWIG_IsOK(res1
)) {
5756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5758 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (int)(arg1
)->GetHeight();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_From_int(static_cast< int >(result
));
5772 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5773 PyObject
*resultobj
= 0;
5774 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5778 PyObject
*swig_obj
[1] ;
5780 if (!args
) SWIG_fail
;
5782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5783 if (!SWIG_IsOK(res1
)) {
5784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5786 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (int)(arg1
)->GetDepth();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_From_int(static_cast< int >(result
));
5800 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5801 PyObject
*resultobj
= 0;
5802 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5806 PyObject
*swig_obj
[1] ;
5808 if (!args
) SWIG_fail
;
5810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5811 if (!SWIG_IsOK(res1
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5814 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= wxBitmap_GetSize(arg1
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5828 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5829 PyObject
*resultobj
= 0;
5830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5831 SwigValueWrapper
<wxImage
> result
;
5834 PyObject
*swig_obj
[1] ;
5836 if (!args
) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5842 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5856 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5857 PyObject
*resultobj
= 0;
5858 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5859 wxMask
*result
= 0 ;
5862 PyObject
*swig_obj
[1] ;
5864 if (!args
) SWIG_fail
;
5866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5867 if (!SWIG_IsOK(res1
)) {
5868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5870 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5884 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
= 0;
5886 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5887 wxMask
*arg2
= (wxMask
*) 0 ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5893 char * kwnames
[] = {
5894 (char *) "self",(char *) "mask", NULL
5897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5899 if (!SWIG_IsOK(res1
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5902 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5903 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5904 if (!SWIG_IsOK(res2
)) {
5905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 (arg1
)->SetMask(arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= SWIG_Py_Void();
5920 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
= 0;
5922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5923 wxColour
*arg2
= 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5929 char * kwnames
[] = {
5930 (char *) "self",(char *) "colour", NULL
5933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5935 if (!SWIG_IsOK(res1
)) {
5936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5938 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_Py_Void();
5956 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
= 0;
5958 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5960 SwigValueWrapper
<wxBitmap
> result
;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5966 char * kwnames
[] = {
5967 (char *) "self",(char *) "rect", NULL
5970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5975 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5978 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5993 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
= 0;
5995 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5996 wxString
*arg2
= 0 ;
5998 wxPalette
*arg4
= (wxPalette
*) NULL
;
6002 bool temp2
= false ;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 PyObject
* obj2
= 0 ;
6010 PyObject
* obj3
= 0 ;
6011 char * kwnames
[] = {
6012 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6017 if (!SWIG_IsOK(res1
)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6020 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6022 arg2
= wxString_in_helper(obj1
);
6023 if (arg2
== NULL
) SWIG_fail
;
6026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6027 if (!SWIG_IsOK(ecode3
)) {
6028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6030 arg3
= static_cast< wxBitmapType
>(val3
);
6032 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6033 if (!SWIG_IsOK(res4
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6036 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6061 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
= 0;
6063 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6064 wxString
*arg2
= 0 ;
6069 bool temp2
= false ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 char * kwnames
[] = {
6076 (char *) "self",(char *) "name",(char *) "type", NULL
6079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6086 arg2
= wxString_in_helper(obj1
);
6087 if (arg2
== NULL
) SWIG_fail
;
6090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6091 if (!SWIG_IsOK(ecode3
)) {
6092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6094 arg3
= static_cast< wxBitmapType
>(val3
);
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6118 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6121 wxPalette
*result
= 0 ;
6124 PyObject
*swig_obj
[1] ;
6126 if (!args
) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6146 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
= 0;
6148 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6149 wxPalette
*arg2
= 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 char * kwnames
[] = {
6157 (char *) "self",(char *) "palette", NULL
6160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6167 if (!SWIG_IsOK(res2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6173 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_Py_Void();
6187 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
= 0;
6189 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6198 char * kwnames
[] = {
6199 (char *) "self",(char *) "icon", NULL
6202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6204 if (!SWIG_IsOK(res1
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6209 if (!SWIG_IsOK(res2
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6215 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6231 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
= 0;
6233 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6241 char * kwnames
[] = {
6242 (char *) "self",(char *) "height", NULL
6245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6247 if (!SWIG_IsOK(res1
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6250 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6252 if (!SWIG_IsOK(ecode2
)) {
6253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6255 arg2
= static_cast< int >(val2
);
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 (arg1
)->SetHeight(arg2
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_Py_Void();
6269 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "width", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6288 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6290 if (!SWIG_IsOK(ecode2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6293 arg2
= static_cast< int >(val2
);
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetWidth(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6307 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
= 0;
6309 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "depth", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6326 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6328 if (!SWIG_IsOK(ecode2
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6331 arg2
= static_cast< int >(val2
);
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 (arg1
)->SetDepth(arg2
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_Py_Void();
6345 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= 0;
6347 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "self",(char *) "size", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6363 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= SWIG_Py_Void();
6381 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
= 0;
6383 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6384 wxCursor
*arg2
= 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "cursor", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6403 if (!SWIG_IsOK(res2
)) {
6404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6409 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6425 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
= 0;
6427 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6428 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 char * kwnames
[] = {
6437 (char *) "self",(char *) "other", NULL
6440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6442 if (!SWIG_IsOK(res1
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6447 if (!SWIG_IsOK(res2
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6450 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6466 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
= 0;
6468 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6469 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 char * kwnames
[] = {
6478 (char *) "self",(char *) "other", NULL
6481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6486 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6488 if (!SWIG_IsOK(res2
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6491 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6510 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6511 return SWIG_Py_Void();
6514 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6515 return SWIG_Python_InitShadowInstance(args
);
6518 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxBitmap
*arg1
= 0 ;
6521 wxColour
const &arg2_defvalue
= wxNullColour
;
6522 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6523 wxMask
*result
= 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 char * kwnames
[] = {
6530 (char *) "bitmap",(char *) "colour", NULL
6533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6534 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6535 if (!SWIG_IsOK(res1
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6541 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6549 if (!wxPyCheckForApp()) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6562 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6563 PyObject
*resultobj
= 0;
6564 wxMask
*arg1
= (wxMask
*) 0 ;
6567 PyObject
*swig_obj
[1] ;
6569 if (!args
) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6575 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 resultobj
= SWIG_Py_Void();
6590 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6593 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6594 return SWIG_Py_Void();
6597 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 return SWIG_Python_InitShadowInstance(args
);
6601 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
= 0;
6603 wxString
*arg1
= 0 ;
6605 int arg3
= (int) -1 ;
6606 int arg4
= (int) -1 ;
6607 wxIcon
*result
= 0 ;
6608 bool temp1
= false ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 PyObject
* obj2
= 0 ;
6618 PyObject
* obj3
= 0 ;
6619 char * kwnames
[] = {
6620 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6625 arg1
= wxString_in_helper(obj0
);
6626 if (arg1
== NULL
) SWIG_fail
;
6629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6630 if (!SWIG_IsOK(ecode2
)) {
6631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6633 arg2
= static_cast< wxBitmapType
>(val2
);
6635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6636 if (!SWIG_IsOK(ecode3
)) {
6637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6639 arg3
= static_cast< int >(val3
);
6642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6643 if (!SWIG_IsOK(ecode4
)) {
6644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6646 arg4
= static_cast< int >(val4
);
6649 if (!wxPyCheckForApp()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6670 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6671 PyObject
*resultobj
= 0;
6672 wxIcon
*arg1
= (wxIcon
*) 0 ;
6675 PyObject
*swig_obj
[1] ;
6677 if (!args
) SWIG_fail
;
6679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6680 if (!SWIG_IsOK(res1
)) {
6681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6683 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= SWIG_Py_Void();
6698 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6699 PyObject
*resultobj
= 0;
6700 wxIcon
*result
= 0 ;
6702 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6704 if (!wxPyCheckForApp()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (wxIcon
*)new wxIcon();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6717 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
= 0;
6719 wxIconLocation
*arg1
= 0 ;
6720 wxIcon
*result
= 0 ;
6723 PyObject
* obj0
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "loc", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6736 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6738 if (!wxPyCheckForApp()) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6751 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
= 0;
6753 wxBitmap
*arg1
= 0 ;
6754 wxIcon
*result
= 0 ;
6757 PyObject
* obj0
= 0 ;
6758 char * kwnames
[] = {
6759 (char *) "bmp", NULL
6762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6770 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6785 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
= 0;
6787 PyObject
*arg1
= (PyObject
*) 0 ;
6788 wxIcon
*result
= 0 ;
6789 PyObject
* obj0
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "listOfStrings", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6797 if (!wxPyCheckForApp()) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (wxIcon
*)new_wxIcon(arg1
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6810 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
= 0;
6812 wxIcon
*arg1
= (wxIcon
*) 0 ;
6813 wxString
*arg2
= 0 ;
6818 bool temp2
= false ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 PyObject
* obj2
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "name",(char *) "type", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6833 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6840 if (!SWIG_IsOK(ecode3
)) {
6841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6843 arg3
= static_cast< wxBitmapType
>(val3
);
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6867 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6868 PyObject
*resultobj
= 0;
6869 wxIcon
*arg1
= (wxIcon
*) 0 ;
6873 PyObject
*swig_obj
[1] ;
6875 if (!args
) SWIG_fail
;
6877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6878 if (!SWIG_IsOK(res1
)) {
6879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6881 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (long)(arg1
)->GetHandle();
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_From_long(static_cast< long >(result
));
6895 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
= 0;
6897 wxIcon
*arg1
= (wxIcon
*) 0 ;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 char * kwnames
[] = {
6906 (char *) "self",(char *) "handle", NULL
6909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6914 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6916 if (!SWIG_IsOK(ecode2
)) {
6917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6919 arg2
= static_cast< long >(val2
);
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 wxIcon_SetHandle(arg1
,arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_Py_Void();
6933 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6934 PyObject
*resultobj
= 0;
6935 wxIcon
*arg1
= (wxIcon
*) 0 ;
6939 PyObject
*swig_obj
[1] ;
6941 if (!args
) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6947 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (bool)(arg1
)->Ok();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6963 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6964 PyObject
*resultobj
= 0;
6965 wxIcon
*arg1
= (wxIcon
*) 0 ;
6969 PyObject
*swig_obj
[1] ;
6971 if (!args
) SWIG_fail
;
6973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6974 if (!SWIG_IsOK(res1
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6977 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (int)(arg1
)->GetWidth();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_From_int(static_cast< int >(result
));
6991 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6992 PyObject
*resultobj
= 0;
6993 wxIcon
*arg1
= (wxIcon
*) 0 ;
6997 PyObject
*swig_obj
[1] ;
6999 if (!args
) SWIG_fail
;
7001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7002 if (!SWIG_IsOK(res1
)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7005 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (int)(arg1
)->GetHeight();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_From_int(static_cast< int >(result
));
7019 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7020 PyObject
*resultobj
= 0;
7021 wxIcon
*arg1
= (wxIcon
*) 0 ;
7025 PyObject
*swig_obj
[1] ;
7027 if (!args
) SWIG_fail
;
7029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7030 if (!SWIG_IsOK(res1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7033 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (int)(arg1
)->GetDepth();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_From_int(static_cast< int >(result
));
7047 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
= 0;
7049 wxIcon
*arg1
= (wxIcon
*) 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 char * kwnames
[] = {
7058 (char *) "self",(char *) "w", NULL
7061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7066 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7068 if (!SWIG_IsOK(ecode2
)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7071 arg2
= static_cast< int >(val2
);
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 (arg1
)->SetWidth(arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_Py_Void();
7085 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= 0;
7087 wxIcon
*arg1
= (wxIcon
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 char * kwnames
[] = {
7096 (char *) "self",(char *) "h", NULL
7099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7101 if (!SWIG_IsOK(res1
)) {
7102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7104 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7106 if (!SWIG_IsOK(ecode2
)) {
7107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7109 arg2
= static_cast< int >(val2
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 (arg1
)->SetHeight(arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_Py_Void();
7123 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
= 0;
7125 wxIcon
*arg1
= (wxIcon
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 char * kwnames
[] = {
7134 (char *) "self",(char *) "d", NULL
7137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7139 if (!SWIG_IsOK(res1
)) {
7140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7142 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7144 if (!SWIG_IsOK(ecode2
)) {
7145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7147 arg2
= static_cast< int >(val2
);
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 (arg1
)->SetDepth(arg2
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= SWIG_Py_Void();
7161 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
= 0;
7163 wxIcon
*arg1
= (wxIcon
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 char * kwnames
[] = {
7171 (char *) "self",(char *) "size", NULL
7174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7176 if (!SWIG_IsOK(res1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7179 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7182 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 (arg1
)->SetSize((wxSize
const &)*arg2
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_Py_Void();
7197 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
= 0;
7199 wxIcon
*arg1
= (wxIcon
*) 0 ;
7200 wxBitmap
*arg2
= 0 ;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7207 char * kwnames
[] = {
7208 (char *) "self",(char *) "bmp", NULL
7211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7213 if (!SWIG_IsOK(res1
)) {
7214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7216 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7218 if (!SWIG_IsOK(res2
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7224 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_Py_Void();
7238 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7241 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7242 return SWIG_Py_Void();
7245 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7246 return SWIG_Python_InitShadowInstance(args
);
7249 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
= 0;
7251 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7252 int arg2
= (int) 0 ;
7253 wxIconLocation
*result
= 0 ;
7254 bool temp1
= false ;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7259 char * kwnames
[] = {
7260 (char *) "filename",(char *) "num", NULL
7263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7266 arg1
= wxString_in_helper(obj0
);
7267 if (arg1
== NULL
) SWIG_fail
;
7272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7273 if (!SWIG_IsOK(ecode2
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7276 arg2
= static_cast< int >(val2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7299 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7300 PyObject
*resultobj
= 0;
7301 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7304 PyObject
*swig_obj
[1] ;
7306 if (!args
) SWIG_fail
;
7308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7309 if (!SWIG_IsOK(res1
)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7312 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= SWIG_Py_Void();
7327 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 PyObject
*resultobj
= 0;
7329 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7333 PyObject
*swig_obj
[1] ;
7335 if (!args
) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7341 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7357 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
= 0;
7359 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7360 wxString
*arg2
= 0 ;
7363 bool temp2
= false ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7366 char * kwnames
[] = {
7367 (char *) "self",(char *) "filename", NULL
7370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7372 if (!SWIG_IsOK(res1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7375 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7377 arg2
= wxString_in_helper(obj1
);
7378 if (arg2
== NULL
) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 (arg1
)->SetFileName((wxString
const &)*arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_Py_Void();
7402 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 PyObject
*resultobj
= 0;
7404 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7405 wxString
*result
= 0 ;
7408 PyObject
*swig_obj
[1] ;
7410 if (!args
) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7416 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7421 result
= (wxString
*) &_result_ref
;
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7430 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7439 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= 0;
7441 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 char * kwnames
[] = {
7450 (char *) "self",(char *) "num", NULL
7453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7455 if (!SWIG_IsOK(res1
)) {
7456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7458 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7460 if (!SWIG_IsOK(ecode2
)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7463 arg2
= static_cast< int >(val2
);
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 wxIconLocation_SetIndex(arg1
,arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 resultobj
= SWIG_Py_Void();
7477 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7478 PyObject
*resultobj
= 0;
7479 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7483 PyObject
*swig_obj
[1] ;
7485 if (!args
) SWIG_fail
;
7487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7488 if (!SWIG_IsOK(res1
)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7491 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (int)wxIconLocation_GetIndex(arg1
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_From_int(static_cast< int >(result
));
7505 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7508 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7509 return SWIG_Py_Void();
7512 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 return SWIG_Python_InitShadowInstance(args
);
7516 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7517 PyObject
*resultobj
= 0;
7518 wxIconBundle
*result
= 0 ;
7520 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (wxIconBundle
*)new wxIconBundle();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7534 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
= 0;
7536 wxString
*arg1
= 0 ;
7538 wxIconBundle
*result
= 0 ;
7539 bool temp1
= false ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7544 char * kwnames
[] = {
7545 (char *) "file",(char *) "type", NULL
7548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7550 arg1
= wxString_in_helper(obj0
);
7551 if (arg1
== NULL
) SWIG_fail
;
7554 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7555 if (!SWIG_IsOK(ecode2
)) {
7556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7558 arg2
= static_cast< long >(val2
);
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7580 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
= 0;
7583 wxIconBundle
*result
= 0 ;
7586 PyObject
* obj0
= 0 ;
7587 char * kwnames
[] = {
7588 (char *) "icon", NULL
7591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7592 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7593 if (!SWIG_IsOK(res1
)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7599 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7613 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7614 PyObject
*resultobj
= 0;
7615 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7618 PyObject
*swig_obj
[1] ;
7620 if (!args
) SWIG_fail
;
7622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7623 if (!SWIG_IsOK(res1
)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7626 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_Py_Void();
7641 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= 0;
7643 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 char * kwnames
[] = {
7652 (char *) "self",(char *) "icon", NULL
7655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7660 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7662 if (!SWIG_IsOK(res2
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7668 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= SWIG_Py_Void();
7682 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
= 0;
7684 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7685 wxString
*arg2
= 0 ;
7689 bool temp2
= false ;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 PyObject
* obj2
= 0 ;
7695 char * kwnames
[] = {
7696 (char *) "self",(char *) "file",(char *) "type", NULL
7699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7704 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7706 arg2
= wxString_in_helper(obj1
);
7707 if (arg2
== NULL
) SWIG_fail
;
7710 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7711 if (!SWIG_IsOK(ecode3
)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7714 arg3
= static_cast< long >(val3
);
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_Py_Void();
7736 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
= 0;
7738 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7740 wxIcon
*result
= 0 ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 char * kwnames
[] = {
7747 (char *) "self",(char *) "size", NULL
7750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7752 if (!SWIG_IsOK(res1
)) {
7753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7755 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7758 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7764 result
= (wxIcon
*) &_result_ref
;
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 wxIcon
* resultptr
= new wxIcon(*result
);
7771 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7779 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7782 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7783 return SWIG_Py_Void();
7786 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7787 return SWIG_Python_InitShadowInstance(args
);
7790 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxString
*arg1
= 0 ;
7794 int arg3
= (int) 0 ;
7795 int arg4
= (int) 0 ;
7796 wxCursor
*result
= 0 ;
7797 bool temp1
= false ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7806 PyObject
* obj2
= 0 ;
7807 PyObject
* obj3
= 0 ;
7808 char * kwnames
[] = {
7809 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7814 arg1
= wxString_in_helper(obj0
);
7815 if (arg1
== NULL
) SWIG_fail
;
7818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7819 if (!SWIG_IsOK(ecode2
)) {
7820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7822 arg2
= static_cast< long >(val2
);
7824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7825 if (!SWIG_IsOK(ecode3
)) {
7826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7828 arg3
= static_cast< int >(val3
);
7831 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7832 if (!SWIG_IsOK(ecode4
)) {
7833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7835 arg4
= static_cast< int >(val4
);
7838 if (!wxPyCheckForApp()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7859 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7860 PyObject
*resultobj
= 0;
7861 wxCursor
*arg1
= (wxCursor
*) 0 ;
7864 PyObject
*swig_obj
[1] ;
7866 if (!args
) SWIG_fail
;
7868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7869 if (!SWIG_IsOK(res1
)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7872 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_Py_Void();
7887 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
= 0;
7890 wxCursor
*result
= 0 ;
7893 PyObject
* obj0
= 0 ;
7894 char * kwnames
[] = {
7898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7900 if (!SWIG_IsOK(ecode1
)) {
7901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7903 arg1
= static_cast< int >(val1
);
7905 if (!wxPyCheckForApp()) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxCursor
*)new wxCursor(arg1
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7918 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
= 0;
7921 wxCursor
*result
= 0 ;
7924 PyObject
* obj0
= 0 ;
7925 char * kwnames
[] = {
7926 (char *) "image", NULL
7929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7930 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7931 if (!SWIG_IsOK(res1
)) {
7932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7937 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7939 if (!wxPyCheckForApp()) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7952 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7953 PyObject
*resultobj
= 0;
7954 wxCursor
*arg1
= (wxCursor
*) 0 ;
7958 PyObject
*swig_obj
[1] ;
7960 if (!args
) SWIG_fail
;
7962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7963 if (!SWIG_IsOK(res1
)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7966 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (long)(arg1
)->GetHandle();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_From_long(static_cast< long >(result
));
7980 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
= 0;
7982 wxCursor
*arg1
= (wxCursor
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 char * kwnames
[] = {
7991 (char *) "self",(char *) "handle", NULL
7994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7996 if (!SWIG_IsOK(res1
)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7999 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8001 if (!SWIG_IsOK(ecode2
)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8004 arg2
= static_cast< long >(val2
);
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 wxCursor_SetHandle(arg1
,arg2
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_Py_Void();
8018 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8019 PyObject
*resultobj
= 0;
8020 wxCursor
*arg1
= (wxCursor
*) 0 ;
8024 PyObject
*swig_obj
[1] ;
8026 if (!args
) SWIG_fail
;
8028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8029 if (!SWIG_IsOK(res1
)) {
8030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8032 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (bool)(arg1
)->Ok();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8048 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 PyObject
*resultobj
= 0;
8050 wxCursor
*arg1
= (wxCursor
*) 0 ;
8054 PyObject
*swig_obj
[1] ;
8056 if (!args
) SWIG_fail
;
8058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8059 if (!SWIG_IsOK(res1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8062 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (int)(arg1
)->GetWidth();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= SWIG_From_int(static_cast< int >(result
));
8076 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8077 PyObject
*resultobj
= 0;
8078 wxCursor
*arg1
= (wxCursor
*) 0 ;
8082 PyObject
*swig_obj
[1] ;
8084 if (!args
) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8090 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (int)(arg1
)->GetHeight();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_From_int(static_cast< int >(result
));
8104 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 PyObject
*resultobj
= 0;
8106 wxCursor
*arg1
= (wxCursor
*) 0 ;
8110 PyObject
*swig_obj
[1] ;
8112 if (!args
) SWIG_fail
;
8114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8115 if (!SWIG_IsOK(res1
)) {
8116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8118 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (int)(arg1
)->GetDepth();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= SWIG_From_int(static_cast< int >(result
));
8132 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
= 0;
8134 wxCursor
*arg1
= (wxCursor
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 char * kwnames
[] = {
8143 (char *) "self",(char *) "w", NULL
8146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8148 if (!SWIG_IsOK(res1
)) {
8149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8151 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8153 if (!SWIG_IsOK(ecode2
)) {
8154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8156 arg2
= static_cast< int >(val2
);
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 (arg1
)->SetWidth(arg2
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_Py_Void();
8170 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
= 0;
8172 wxCursor
*arg1
= (wxCursor
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8179 PyObject
* obj1
= 0 ;
8180 char * kwnames
[] = {
8181 (char *) "self",(char *) "h", NULL
8184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8186 if (!SWIG_IsOK(res1
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8189 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8191 if (!SWIG_IsOK(ecode2
)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8194 arg2
= static_cast< int >(val2
);
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 (arg1
)->SetHeight(arg2
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_Py_Void();
8208 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
= 0;
8210 wxCursor
*arg1
= (wxCursor
*) 0 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 char * kwnames
[] = {
8219 (char *) "self",(char *) "d", NULL
8222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8224 if (!SWIG_IsOK(res1
)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8227 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8229 if (!SWIG_IsOK(ecode2
)) {
8230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8232 arg2
= static_cast< int >(val2
);
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 (arg1
)->SetDepth(arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_Py_Void();
8246 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxCursor
*arg1
= (wxCursor
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 char * kwnames
[] = {
8256 (char *) "self",(char *) "size", NULL
8259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8261 if (!SWIG_IsOK(res1
)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8264 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8267 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 (arg1
)->SetSize((wxSize
const &)*arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_Py_Void();
8282 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8285 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8286 return SWIG_Py_Void();
8289 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8290 return SWIG_Python_InitShadowInstance(args
);
8293 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 int arg1
= (int) 0 ;
8296 int arg2
= (int) 0 ;
8297 int arg3
= (int) 0 ;
8298 int arg4
= (int) 0 ;
8299 wxRegion
*result
= 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 PyObject
* obj2
= 0 ;
8311 PyObject
* obj3
= 0 ;
8312 char * kwnames
[] = {
8313 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8319 if (!SWIG_IsOK(ecode1
)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8322 arg1
= static_cast< int >(val1
);
8325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8326 if (!SWIG_IsOK(ecode2
)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8329 arg2
= static_cast< int >(val2
);
8332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8333 if (!SWIG_IsOK(ecode3
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8336 arg3
= static_cast< int >(val3
);
8339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8340 if (!SWIG_IsOK(ecode4
)) {
8341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8343 arg4
= static_cast< int >(val4
);
8346 if (!wxPyCheckForApp()) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8359 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
= 0;
8361 wxBitmap
*arg1
= 0 ;
8362 wxRegion
*result
= 0 ;
8365 PyObject
* obj0
= 0 ;
8366 char * kwnames
[] = {
8367 (char *) "bmp", NULL
8370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8378 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8380 if (!wxPyCheckForApp()) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8393 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxBitmap
*arg1
= 0 ;
8396 wxColour
*arg2
= 0 ;
8397 int arg3
= (int) 0 ;
8398 wxRegion
*result
= 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8406 PyObject
* obj2
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8419 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8422 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8426 if (!SWIG_IsOK(ecode3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8429 arg3
= static_cast< int >(val3
);
8432 if (!wxPyCheckForApp()) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8445 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
= 0;
8448 wxPoint
*arg2
= (wxPoint
*) 0 ;
8449 int arg3
= (int) wxWINDING_RULE
;
8450 wxRegion
*result
= 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 char * kwnames
[] = {
8456 (char *) "points",(char *) "fillStyle", NULL
8459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8461 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8462 if (arg2
== NULL
) SWIG_fail
;
8465 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8466 if (!SWIG_IsOK(ecode3
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8469 arg3
= static_cast< int >(val3
);
8472 if (!wxPyCheckForApp()) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8480 if (arg2
) delete [] arg2
;
8485 if (arg2
) delete [] arg2
;
8491 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8492 PyObject
*resultobj
= 0;
8493 wxRegion
*arg1
= (wxRegion
*) 0 ;
8496 PyObject
*swig_obj
[1] ;
8498 if (!args
) SWIG_fail
;
8500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8501 if (!SWIG_IsOK(res1
)) {
8502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_Py_Void();
8519 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8520 PyObject
*resultobj
= 0;
8521 wxRegion
*arg1
= (wxRegion
*) 0 ;
8524 PyObject
*swig_obj
[1] ;
8526 if (!args
) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8532 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_Py_Void();
8546 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
= 0;
8548 wxRegion
*arg1
= (wxRegion
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8561 char * kwnames
[] = {
8562 (char *) "self",(char *) "x",(char *) "y", NULL
8565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8567 if (!SWIG_IsOK(res1
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8570 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8572 if (!SWIG_IsOK(ecode2
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8575 arg2
= static_cast< int >(val2
);
8576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8577 if (!SWIG_IsOK(ecode3
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8580 arg3
= static_cast< int >(val3
);
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= 0;
8598 wxRegion
*arg1
= (wxRegion
*) 0 ;
8601 wxRegionContain result
;
8608 PyObject
* obj0
= 0 ;
8609 PyObject
* obj1
= 0 ;
8610 PyObject
* obj2
= 0 ;
8611 char * kwnames
[] = {
8612 (char *) "self",(char *) "x",(char *) "y", NULL
8615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8620 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8622 if (!SWIG_IsOK(ecode2
)) {
8623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8625 arg2
= static_cast< int >(val2
);
8626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8627 if (!SWIG_IsOK(ecode3
)) {
8628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8630 arg3
= static_cast< int >(val3
);
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_From_int(static_cast< int >(result
));
8644 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
= 0;
8646 wxRegion
*arg1
= (wxRegion
*) 0 ;
8648 wxRegionContain result
;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 char * kwnames
[] = {
8655 (char *) "self",(char *) "pt", NULL
8658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8660 if (!SWIG_IsOK(res1
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8663 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= SWIG_From_int(static_cast< int >(result
));
8681 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
= 0;
8683 wxRegion
*arg1
= (wxRegion
*) 0 ;
8685 wxRegionContain result
;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 char * kwnames
[] = {
8692 (char *) "self",(char *) "rect", NULL
8695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8700 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_From_int(static_cast< int >(result
));
8718 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
= 0;
8720 wxRegion
*arg1
= (wxRegion
*) 0 ;
8725 wxRegionContain result
;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8739 PyObject
* obj3
= 0 ;
8740 PyObject
* obj4
= 0 ;
8741 char * kwnames
[] = {
8742 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8747 if (!SWIG_IsOK(res1
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8750 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8752 if (!SWIG_IsOK(ecode2
)) {
8753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8755 arg2
= static_cast< int >(val2
);
8756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8757 if (!SWIG_IsOK(ecode3
)) {
8758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8760 arg3
= static_cast< int >(val3
);
8761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8762 if (!SWIG_IsOK(ecode4
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8765 arg4
= static_cast< int >(val4
);
8766 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8767 if (!SWIG_IsOK(ecode5
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8770 arg5
= static_cast< int >(val5
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_From_int(static_cast< int >(result
));
8784 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 PyObject
*resultobj
= 0;
8786 wxRegion
*arg1
= (wxRegion
*) 0 ;
8790 PyObject
*swig_obj
[1] ;
8792 if (!args
) SWIG_fail
;
8794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8795 if (!SWIG_IsOK(res1
)) {
8796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8798 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 result
= (arg1
)->GetBox();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8812 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxRegion
*arg1
= (wxRegion
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8832 PyObject
* obj2
= 0 ;
8833 PyObject
* obj3
= 0 ;
8834 PyObject
* obj4
= 0 ;
8835 char * kwnames
[] = {
8836 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8841 if (!SWIG_IsOK(res1
)) {
8842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8844 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8846 if (!SWIG_IsOK(ecode2
)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8849 arg2
= static_cast< int >(val2
);
8850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8851 if (!SWIG_IsOK(ecode3
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8854 arg3
= static_cast< int >(val3
);
8855 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8856 if (!SWIG_IsOK(ecode4
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8859 arg4
= static_cast< int >(val4
);
8860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8861 if (!SWIG_IsOK(ecode5
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8864 arg5
= static_cast< int >(val5
);
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8880 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxRegion
*arg1
= (wxRegion
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 char * kwnames
[] = {
8891 (char *) "self",(char *) "rect", NULL
8894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8896 if (!SWIG_IsOK(res1
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8899 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8919 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= 0;
8921 wxRegion
*arg1
= (wxRegion
*) 0 ;
8922 wxRegion
*arg2
= 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 char * kwnames
[] = {
8931 (char *) "self",(char *) "region", NULL
8934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8941 if (!SWIG_IsOK(res2
)) {
8942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8947 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8964 PyObject
*resultobj
= 0;
8965 wxRegion
*arg1
= (wxRegion
*) 0 ;
8969 PyObject
*swig_obj
[1] ;
8971 if (!args
) SWIG_fail
;
8973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8974 if (!SWIG_IsOK(res1
)) {
8975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8977 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (bool)(arg1
)->IsEmpty();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8993 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
= 0;
8995 wxRegion
*arg1
= (wxRegion
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9013 PyObject
* obj2
= 0 ;
9014 PyObject
* obj3
= 0 ;
9015 PyObject
* obj4
= 0 ;
9016 char * kwnames
[] = {
9017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9025 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9027 if (!SWIG_IsOK(ecode2
)) {
9028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9030 arg2
= static_cast< int >(val2
);
9031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9032 if (!SWIG_IsOK(ecode3
)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9035 arg3
= static_cast< int >(val3
);
9036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9037 if (!SWIG_IsOK(ecode4
)) {
9038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9040 arg4
= static_cast< int >(val4
);
9041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9042 if (!SWIG_IsOK(ecode5
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9045 arg5
= static_cast< int >(val5
);
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9061 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
= 0;
9063 wxRegion
*arg1
= (wxRegion
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 char * kwnames
[] = {
9072 (char *) "self",(char *) "rect", NULL
9075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9077 if (!SWIG_IsOK(res1
)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9080 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9083 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9100 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
= 0;
9102 wxRegion
*arg1
= (wxRegion
*) 0 ;
9103 wxRegion
*arg2
= 0 ;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "self",(char *) "region", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9120 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9122 if (!SWIG_IsOK(res2
)) {
9123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9128 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9144 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
= 0;
9146 wxRegion
*arg1
= (wxRegion
*) 0 ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 PyObject
* obj3
= 0 ;
9166 PyObject
* obj4
= 0 ;
9167 char * kwnames
[] = {
9168 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9173 if (!SWIG_IsOK(res1
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9176 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9178 if (!SWIG_IsOK(ecode2
)) {
9179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9181 arg2
= static_cast< int >(val2
);
9182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9183 if (!SWIG_IsOK(ecode3
)) {
9184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9186 arg3
= static_cast< int >(val3
);
9187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9188 if (!SWIG_IsOK(ecode4
)) {
9189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9191 arg4
= static_cast< int >(val4
);
9192 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9193 if (!SWIG_IsOK(ecode5
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9196 arg5
= static_cast< int >(val5
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9212 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxRegion
*arg1
= (wxRegion
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "rect", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9231 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9234 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9251 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
= 0;
9253 wxRegion
*arg1
= (wxRegion
*) 0 ;
9254 wxRegion
*arg2
= 0 ;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9262 char * kwnames
[] = {
9263 (char *) "self",(char *) "region", NULL
9266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9268 if (!SWIG_IsOK(res1
)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9271 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9273 if (!SWIG_IsOK(res2
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9279 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
= 0;
9297 wxRegion
*arg1
= (wxRegion
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 PyObject
* obj2
= 0 ;
9316 PyObject
* obj3
= 0 ;
9317 PyObject
* obj4
= 0 ;
9318 char * kwnames
[] = {
9319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9327 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9329 if (!SWIG_IsOK(ecode2
)) {
9330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9332 arg2
= static_cast< int >(val2
);
9333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9334 if (!SWIG_IsOK(ecode3
)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9337 arg3
= static_cast< int >(val3
);
9338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9339 if (!SWIG_IsOK(ecode4
)) {
9340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9342 arg4
= static_cast< int >(val4
);
9343 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9344 if (!SWIG_IsOK(ecode5
)) {
9345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9347 arg5
= static_cast< int >(val5
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9363 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
= 0;
9365 wxRegion
*arg1
= (wxRegion
*) 0 ;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 char * kwnames
[] = {
9374 (char *) "self",(char *) "rect", NULL
9377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9382 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9385 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9402 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= 0;
9404 wxRegion
*arg1
= (wxRegion
*) 0 ;
9405 wxRegion
*arg2
= 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 char * kwnames
[] = {
9414 (char *) "self",(char *) "region", NULL
9417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9422 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9424 if (!SWIG_IsOK(res2
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9430 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9446 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9447 PyObject
*resultobj
= 0;
9448 wxRegion
*arg1
= (wxRegion
*) 0 ;
9449 SwigValueWrapper
<wxBitmap
> result
;
9452 PyObject
*swig_obj
[1] ;
9454 if (!args
) SWIG_fail
;
9456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9457 if (!SWIG_IsOK(res1
)) {
9458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9460 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (arg1
)->ConvertToBitmap();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9474 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= 0;
9476 wxRegion
*arg1
= (wxRegion
*) 0 ;
9477 wxBitmap
*arg2
= 0 ;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 char * kwnames
[] = {
9486 (char *) "self",(char *) "bmp", NULL
9489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9494 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9496 if (!SWIG_IsOK(res2
)) {
9497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9502 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9518 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
= 0;
9520 wxRegion
*arg1
= (wxRegion
*) 0 ;
9521 wxBitmap
*arg2
= 0 ;
9522 wxColour
*arg3
= 0 ;
9523 int arg4
= (int) 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9535 PyObject
* obj3
= 0 ;
9536 char * kwnames
[] = {
9537 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9542 if (!SWIG_IsOK(res1
)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9547 if (!SWIG_IsOK(res2
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9553 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9556 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9560 if (!SWIG_IsOK(ecode4
)) {
9561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9563 arg4
= static_cast< int >(val4
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9580 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9583 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9584 return SWIG_Py_Void();
9587 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9588 return SWIG_Python_InitShadowInstance(args
);
9591 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxRegion
*arg1
= 0 ;
9594 wxRegionIterator
*result
= 0 ;
9597 PyObject
* obj0
= 0 ;
9598 char * kwnames
[] = {
9599 (char *) "region", NULL
9602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9603 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9604 if (!SWIG_IsOK(res1
)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9610 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9612 if (!wxPyCheckForApp()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9625 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9630 PyObject
*swig_obj
[1] ;
9632 if (!args
) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9638 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_Py_Void();
9653 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9659 PyObject
*swig_obj
[1] ;
9661 if (!args
) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9667 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (int)(arg1
)->GetX();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_From_int(static_cast< int >(result
));
9681 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9682 PyObject
*resultobj
= 0;
9683 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9687 PyObject
*swig_obj
[1] ;
9689 if (!args
) SWIG_fail
;
9691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9692 if (!SWIG_IsOK(res1
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9695 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (int)(arg1
)->GetY();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_From_int(static_cast< int >(result
));
9709 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9710 PyObject
*resultobj
= 0;
9711 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9715 PyObject
*swig_obj
[1] ;
9717 if (!args
) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9723 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (int)(arg1
)->GetW();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_From_int(static_cast< int >(result
));
9737 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9738 PyObject
*resultobj
= 0;
9739 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9743 PyObject
*swig_obj
[1] ;
9745 if (!args
) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9751 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (int)(arg1
)->GetWidth();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= SWIG_From_int(static_cast< int >(result
));
9765 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9766 PyObject
*resultobj
= 0;
9767 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9771 PyObject
*swig_obj
[1] ;
9773 if (!args
) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9779 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (int)(arg1
)->GetH();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_From_int(static_cast< int >(result
));
9793 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9794 PyObject
*resultobj
= 0;
9795 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9799 PyObject
*swig_obj
[1] ;
9801 if (!args
) SWIG_fail
;
9803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9804 if (!SWIG_IsOK(res1
)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9807 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (int)(arg1
)->GetHeight();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= SWIG_From_int(static_cast< int >(result
));
9821 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9822 PyObject
*resultobj
= 0;
9823 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9827 PyObject
*swig_obj
[1] ;
9829 if (!args
) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9835 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (arg1
)->GetRect();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9849 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9850 PyObject
*resultobj
= 0;
9851 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9855 PyObject
*swig_obj
[1] ;
9857 if (!args
) SWIG_fail
;
9859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9860 if (!SWIG_IsOK(res1
)) {
9861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9863 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (bool)(arg1
)->HaveRects();
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9879 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9880 PyObject
*resultobj
= 0;
9881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9884 PyObject
*swig_obj
[1] ;
9886 if (!args
) SWIG_fail
;
9888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9889 if (!SWIG_IsOK(res1
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9892 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_Py_Void();
9906 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9907 PyObject
*resultobj
= 0;
9908 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9911 PyObject
*swig_obj
[1] ;
9913 if (!args
) SWIG_fail
;
9915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9916 if (!SWIG_IsOK(res1
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9919 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 wxRegionIterator_Next(arg1
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_Py_Void();
9933 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9939 PyObject
*swig_obj
[1] ;
9941 if (!args
) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9947 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9963 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9966 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9967 return SWIG_Py_Void();
9970 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 return SWIG_Python_InitShadowInstance(args
);
9974 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 PyObject
*resultobj
= 0;
9976 wxNativeFontInfo
*result
= 0 ;
9978 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9992 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9993 PyObject
*resultobj
= 0;
9994 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9997 PyObject
*swig_obj
[1] ;
9999 if (!args
) SWIG_fail
;
10000 swig_obj
[0] = args
;
10001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10005 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_Py_Void();
10020 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10021 PyObject
*resultobj
= 0;
10022 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10025 PyObject
*swig_obj
[1] ;
10027 if (!args
) SWIG_fail
;
10028 swig_obj
[0] = args
;
10029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10030 if (!SWIG_IsOK(res1
)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10033 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_Py_Void();
10047 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= 0;
10049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 char * kwnames
[] = {
10058 (char *) "self",(char *) "font", NULL
10061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10066 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10068 if (!SWIG_IsOK(res2
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10074 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_Py_Void();
10088 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10089 PyObject
*resultobj
= 0;
10090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10094 PyObject
*swig_obj
[1] ;
10096 if (!args
) SWIG_fail
;
10097 swig_obj
[0] = args
;
10098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10099 if (!SWIG_IsOK(res1
)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10102 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_From_int(static_cast< int >(result
));
10116 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10117 PyObject
*resultobj
= 0;
10118 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10122 PyObject
*swig_obj
[1] ;
10124 if (!args
) SWIG_fail
;
10125 swig_obj
[0] = args
;
10126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10144 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10145 PyObject
*resultobj
= 0;
10146 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10147 wxFontStyle result
;
10150 PyObject
*swig_obj
[1] ;
10152 if (!args
) SWIG_fail
;
10153 swig_obj
[0] = args
;
10154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10158 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_From_int(static_cast< int >(result
));
10172 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10173 PyObject
*resultobj
= 0;
10174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10175 wxFontWeight result
;
10178 PyObject
*swig_obj
[1] ;
10180 if (!args
) SWIG_fail
;
10181 swig_obj
[0] = args
;
10182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10186 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_From_int(static_cast< int >(result
));
10200 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 PyObject
*resultobj
= 0;
10202 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10206 PyObject
*swig_obj
[1] ;
10208 if (!args
) SWIG_fail
;
10209 swig_obj
[0] = args
;
10210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10214 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10231 PyObject
*resultobj
= 0;
10232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10236 PyObject
*swig_obj
[1] ;
10238 if (!args
) SWIG_fail
;
10239 swig_obj
[0] = args
;
10240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10241 if (!SWIG_IsOK(res1
)) {
10242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10244 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10264 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10265 PyObject
*resultobj
= 0;
10266 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10267 wxFontFamily result
;
10270 PyObject
*swig_obj
[1] ;
10272 if (!args
) SWIG_fail
;
10273 swig_obj
[0] = args
;
10274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10275 if (!SWIG_IsOK(res1
)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10278 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_From_int(static_cast< int >(result
));
10292 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10293 PyObject
*resultobj
= 0;
10294 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10295 wxFontEncoding result
;
10298 PyObject
*swig_obj
[1] ;
10300 if (!args
) SWIG_fail
;
10301 swig_obj
[0] = args
;
10302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10303 if (!SWIG_IsOK(res1
)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10306 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_From_int(static_cast< int >(result
));
10320 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "pointsize", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10339 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10341 if (!SWIG_IsOK(ecode2
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10344 arg2
= static_cast< int >(val2
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 (arg1
)->SetPointSize(arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_Py_Void();
10358 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= 0;
10360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "self",(char *) "pixelSize", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10376 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_Py_Void();
10394 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "self",(char *) "style", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10413 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10415 if (!SWIG_IsOK(ecode2
)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10418 arg2
= static_cast< wxFontStyle
>(val2
);
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 (arg1
)->SetStyle(arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_Py_Void();
10432 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
= 0;
10434 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10435 wxFontWeight arg2
;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "self",(char *) "weight", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10451 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10453 if (!SWIG_IsOK(ecode2
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10456 arg2
= static_cast< wxFontWeight
>(val2
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 (arg1
)->SetWeight(arg2
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_Py_Void();
10470 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
= 0;
10472 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 PyObject
* obj1
= 0 ;
10480 char * kwnames
[] = {
10481 (char *) "self",(char *) "underlined", NULL
10484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10489 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10490 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10491 if (!SWIG_IsOK(ecode2
)) {
10492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10494 arg2
= static_cast< bool >(val2
);
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->SetUnderlined(arg2
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_Py_Void();
10508 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
= 0;
10510 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char * kwnames
[] = {
10517 (char *) "self",(char *) "facename", NULL
10520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10522 if (!SWIG_IsOK(res1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10525 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10527 wxString
* sptr
= wxString_in_helper(obj1
);
10528 if (sptr
== NULL
) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 (arg1
)->SetFaceName(arg2
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_Py_Void();
10545 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
= 0;
10547 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10548 wxFontFamily arg2
;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char * kwnames
[] = {
10556 (char *) "self",(char *) "family", NULL
10559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10564 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10566 if (!SWIG_IsOK(ecode2
)) {
10567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10569 arg2
= static_cast< wxFontFamily
>(val2
);
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 (arg1
)->SetFamily(arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= SWIG_Py_Void();
10583 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
= 0;
10585 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10586 wxFontEncoding arg2
;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 char * kwnames
[] = {
10594 (char *) "self",(char *) "encoding", NULL
10597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10602 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10604 if (!SWIG_IsOK(ecode2
)) {
10605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10607 arg2
= static_cast< wxFontEncoding
>(val2
);
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 (arg1
)->SetEncoding(arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_Py_Void();
10621 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
= 0;
10623 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10624 wxString
*arg2
= 0 ;
10628 bool temp2
= false ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char * kwnames
[] = {
10632 (char *) "self",(char *) "s", NULL
10635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10640 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10642 arg2
= wxString_in_helper(obj1
);
10643 if (arg2
== NULL
) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10669 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10670 PyObject
*resultobj
= 0;
10671 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10675 PyObject
*swig_obj
[1] ;
10677 if (!args
) SWIG_fail
;
10678 swig_obj
[0] = args
;
10679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10683 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10703 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10704 PyObject
*resultobj
= 0;
10705 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10709 PyObject
*swig_obj
[1] ;
10711 if (!args
) SWIG_fail
;
10712 swig_obj
[0] = args
;
10713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10714 if (!SWIG_IsOK(res1
)) {
10715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10717 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= wxNativeFontInfo___str__(arg1
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10737 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
= 0;
10739 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10740 wxString
*arg2
= 0 ;
10744 bool temp2
= false ;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 char * kwnames
[] = {
10748 (char *) "self",(char *) "s", NULL
10751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10756 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10758 arg2
= wxString_in_helper(obj1
);
10759 if (arg2
== NULL
) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10786 PyObject
*resultobj
= 0;
10787 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10791 PyObject
*swig_obj
[1] ;
10793 if (!args
) SWIG_fail
;
10794 swig_obj
[0] = args
;
10795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10799 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10819 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10822 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10823 return SWIG_Py_Void();
10826 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10827 return SWIG_Python_InitShadowInstance(args
);
10830 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10831 PyObject
*resultobj
= 0;
10832 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10833 wxString
*arg2
= (wxString
*) 0 ;
10836 bool temp2
= false ;
10837 PyObject
*swig_obj
[2] ;
10839 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10841 if (!SWIG_IsOK(res1
)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10844 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10846 arg2
= wxString_in_helper(swig_obj
[1]);
10847 if (arg2
== NULL
) SWIG_fail
;
10850 if (arg1
) (arg1
)->facename
= *arg2
;
10852 resultobj
= SWIG_Py_Void();
10867 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10868 PyObject
*resultobj
= 0;
10869 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10870 wxString
*result
= 0 ;
10873 PyObject
*swig_obj
[1] ;
10875 if (!args
) SWIG_fail
;
10876 swig_obj
[0] = args
;
10877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10878 if (!SWIG_IsOK(res1
)) {
10879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10881 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10882 result
= (wxString
*)& ((arg1
)->facename
);
10885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10896 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10897 PyObject
*resultobj
= 0;
10898 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10899 wxFontEncoding arg2
;
10904 PyObject
*swig_obj
[2] ;
10906 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10908 if (!SWIG_IsOK(res1
)) {
10909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10911 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10912 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10913 if (!SWIG_IsOK(ecode2
)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10916 arg2
= static_cast< wxFontEncoding
>(val2
);
10917 if (arg1
) (arg1
)->encoding
= arg2
;
10919 resultobj
= SWIG_Py_Void();
10926 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10927 PyObject
*resultobj
= 0;
10928 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10929 wxFontEncoding result
;
10932 PyObject
*swig_obj
[1] ;
10934 if (!args
) SWIG_fail
;
10935 swig_obj
[0] = args
;
10936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10940 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10941 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10942 resultobj
= SWIG_From_int(static_cast< int >(result
));
10949 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10950 PyObject
*resultobj
= 0;
10951 wxNativeEncodingInfo
*result
= 0 ;
10953 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10967 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10968 PyObject
*resultobj
= 0;
10969 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10972 PyObject
*swig_obj
[1] ;
10974 if (!args
) SWIG_fail
;
10975 swig_obj
[0] = args
;
10976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10980 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= SWIG_Py_Void();
10995 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
= 0;
10997 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10998 wxString
*arg2
= 0 ;
11002 bool temp2
= false ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char * kwnames
[] = {
11006 (char *) "self",(char *) "s", NULL
11009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11014 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11016 arg2
= wxString_in_helper(obj1
);
11017 if (arg2
== NULL
) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11043 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11044 PyObject
*resultobj
= 0;
11045 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11049 PyObject
*swig_obj
[1] ;
11051 if (!args
) SWIG_fail
;
11052 swig_obj
[0] = args
;
11053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11054 if (!SWIG_IsOK(res1
)) {
11055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11057 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11077 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11080 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11081 return SWIG_Py_Void();
11084 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11085 return SWIG_Python_InitShadowInstance(args
);
11088 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11090 wxFontEncoding arg1
;
11091 wxNativeEncodingInfo
*result
= 0 ;
11094 PyObject
* obj0
= 0 ;
11095 char * kwnames
[] = {
11096 (char *) "encoding", NULL
11099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11101 if (!SWIG_IsOK(ecode1
)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11104 arg1
= static_cast< wxFontEncoding
>(val1
);
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11118 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
= 0;
11120 wxNativeEncodingInfo
*arg1
= 0 ;
11124 PyObject
* obj0
= 0 ;
11125 char * kwnames
[] = {
11126 (char *) "info", NULL
11129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11130 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11137 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11153 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11154 PyObject
*resultobj
= 0;
11155 wxFontMapper
*result
= 0 ;
11157 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (wxFontMapper
*)new wxFontMapper();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11171 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11172 PyObject
*resultobj
= 0;
11173 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11176 PyObject
*swig_obj
[1] ;
11178 if (!args
) SWIG_fail
;
11179 swig_obj
[0] = args
;
11180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11181 if (!SWIG_IsOK(res1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11184 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_Py_Void();
11199 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11200 PyObject
*resultobj
= 0;
11201 wxFontMapper
*result
= 0 ;
11203 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (wxFontMapper
*)wxFontMapper::Get();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11217 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
= 0;
11219 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11220 wxFontMapper
*result
= 0 ;
11223 PyObject
* obj0
= 0 ;
11224 char * kwnames
[] = {
11225 (char *) "mapper", NULL
11228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11233 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11247 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
= 0;
11249 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11250 wxString
*arg2
= 0 ;
11251 bool arg3
= (bool) true ;
11252 wxFontEncoding result
;
11255 bool temp2
= false ;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 PyObject
* obj2
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11270 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11272 arg2
= wxString_in_helper(obj1
);
11273 if (arg2
== NULL
) SWIG_fail
;
11277 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11278 if (!SWIG_IsOK(ecode3
)) {
11279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11281 arg3
= static_cast< bool >(val3
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= SWIG_From_int(static_cast< int >(result
));
11304 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11305 PyObject
*resultobj
= 0;
11308 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11322 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
= 0;
11325 wxFontEncoding result
;
11328 PyObject
* obj0
= 0 ;
11329 char * kwnames
[] = {
11333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11334 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11335 if (!SWIG_IsOK(ecode1
)) {
11336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11338 arg1
= static_cast< size_t >(val1
);
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_From_int(static_cast< int >(result
));
11352 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
= 0;
11354 wxFontEncoding arg1
;
11358 PyObject
* obj0
= 0 ;
11359 char * kwnames
[] = {
11360 (char *) "encoding", NULL
11363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11365 if (!SWIG_IsOK(ecode1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11368 arg1
= static_cast< wxFontEncoding
>(val1
);
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= wxFontMapper::GetEncodingName(arg1
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11388 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
= 0;
11390 wxFontEncoding arg1
;
11394 PyObject
* obj0
= 0 ;
11395 char * kwnames
[] = {
11396 (char *) "encoding", NULL
11399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11401 if (!SWIG_IsOK(ecode1
)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11404 arg1
= static_cast< wxFontEncoding
>(val1
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= wxFontMapper::GetEncodingDescription(arg1
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11424 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= 0;
11426 wxString
*arg1
= 0 ;
11427 wxFontEncoding result
;
11428 bool temp1
= false ;
11429 PyObject
* obj0
= 0 ;
11430 char * kwnames
[] = {
11431 (char *) "name", NULL
11434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11436 arg1
= wxString_in_helper(obj0
);
11437 if (arg1
== NULL
) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_int(static_cast< int >(result
));
11461 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
= 0;
11463 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11464 wxString
*arg2
= 0 ;
11467 bool temp2
= false ;
11468 PyObject
* obj0
= 0 ;
11469 PyObject
* obj1
= 0 ;
11470 char * kwnames
[] = {
11471 (char *) "self",(char *) "prefix", NULL
11474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11479 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11481 arg2
= wxString_in_helper(obj1
);
11482 if (arg2
== NULL
) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_Py_Void();
11506 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11507 PyObject
*resultobj
= 0;
11510 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= wxFontMapper::GetDefaultConfigPath();
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11530 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= 0;
11532 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11533 wxFontEncoding arg2
;
11534 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11535 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11536 bool arg4
= (bool) true ;
11537 PyObject
*result
= 0 ;
11542 bool temp3
= false ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 PyObject
* obj2
= 0 ;
11548 PyObject
* obj3
= 0 ;
11549 char * kwnames
[] = {
11550 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11555 if (!SWIG_IsOK(res1
)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11558 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11560 if (!SWIG_IsOK(ecode2
)) {
11561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11563 arg2
= static_cast< wxFontEncoding
>(val2
);
11566 arg3
= wxString_in_helper(obj2
);
11567 if (arg3
== NULL
) SWIG_fail
;
11572 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11573 if (!SWIG_IsOK(ecode4
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11576 arg4
= static_cast< bool >(val4
);
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= result
;
11599 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
= 0;
11601 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11602 wxFontEncoding arg2
;
11603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11610 bool temp3
= false ;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 PyObject
* obj2
= 0 ;
11614 char * kwnames
[] = {
11615 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11623 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11625 if (!SWIG_IsOK(ecode2
)) {
11626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11628 arg2
= static_cast< wxFontEncoding
>(val2
);
11631 arg3
= wxString_in_helper(obj2
);
11632 if (arg3
== NULL
) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11659 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
= 0;
11661 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11662 wxWindow
*arg2
= (wxWindow
*) 0 ;
11667 PyObject
* obj0
= 0 ;
11668 PyObject
* obj1
= 0 ;
11669 char * kwnames
[] = {
11670 (char *) "self",(char *) "parent", NULL
11673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11678 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11680 if (!SWIG_IsOK(res2
)) {
11681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 (arg1
)->SetDialogParent(arg2
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= SWIG_Py_Void();
11697 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
= 0;
11699 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11700 wxString
*arg2
= 0 ;
11703 bool temp2
= false ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 char * kwnames
[] = {
11707 (char *) "self",(char *) "title", NULL
11710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11712 if (!SWIG_IsOK(res1
)) {
11713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11715 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11717 arg2
= wxString_in_helper(obj1
);
11718 if (arg2
== NULL
) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_Py_Void();
11742 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11745 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11746 return SWIG_Py_Void();
11749 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 return SWIG_Python_InitShadowInstance(args
);
11753 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= 0;
11759 bool arg5
= (bool) false ;
11760 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11762 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11763 wxFont
*result
= 0 ;
11774 bool temp6
= false ;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 PyObject
* obj2
= 0 ;
11780 PyObject
* obj3
= 0 ;
11781 PyObject
* obj4
= 0 ;
11782 PyObject
* obj5
= 0 ;
11783 PyObject
* obj6
= 0 ;
11784 char * kwnames
[] = {
11785 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11789 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11790 if (!SWIG_IsOK(ecode1
)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11793 arg1
= static_cast< int >(val1
);
11794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11795 if (!SWIG_IsOK(ecode2
)) {
11796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11798 arg2
= static_cast< int >(val2
);
11799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11800 if (!SWIG_IsOK(ecode3
)) {
11801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11803 arg3
= static_cast< int >(val3
);
11804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11805 if (!SWIG_IsOK(ecode4
)) {
11806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11808 arg4
= static_cast< int >(val4
);
11810 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11811 if (!SWIG_IsOK(ecode5
)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11814 arg5
= static_cast< bool >(val5
);
11818 arg6
= wxString_in_helper(obj5
);
11819 if (arg6
== NULL
) SWIG_fail
;
11824 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11825 if (!SWIG_IsOK(ecode7
)) {
11826 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11828 arg7
= static_cast< wxFontEncoding
>(val7
);
11831 if (!wxPyCheckForApp()) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11852 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11853 PyObject
*resultobj
= 0;
11854 wxFont
*arg1
= (wxFont
*) 0 ;
11857 PyObject
*swig_obj
[1] ;
11859 if (!args
) SWIG_fail
;
11860 swig_obj
[0] = args
;
11861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11865 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_Py_Void();
11880 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
= 0;
11882 wxNativeFontInfo
*arg1
= 0 ;
11883 wxFont
*result
= 0 ;
11886 PyObject
* obj0
= 0 ;
11887 char * kwnames
[] = {
11888 (char *) "info", NULL
11891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11892 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11893 if (!SWIG_IsOK(res1
)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11899 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11901 if (!wxPyCheckForApp()) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11914 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
= 0;
11916 wxString
*arg1
= 0 ;
11917 wxFont
*result
= 0 ;
11918 bool temp1
= false ;
11919 PyObject
* obj0
= 0 ;
11920 char * kwnames
[] = {
11921 (char *) "info", NULL
11924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11926 arg1
= wxString_in_helper(obj0
);
11927 if (arg1
== NULL
) SWIG_fail
;
11931 if (!wxPyCheckForApp()) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11952 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
= 0;
11955 wxFontFamily arg2
;
11956 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11957 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11958 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11959 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11960 wxFont
*result
= 0 ;
11967 bool temp4
= false ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 PyObject
* obj2
= 0 ;
11973 PyObject
* obj3
= 0 ;
11974 PyObject
* obj4
= 0 ;
11975 char * kwnames
[] = {
11976 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11981 if (!SWIG_IsOK(ecode1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11984 arg1
= static_cast< int >(val1
);
11985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11986 if (!SWIG_IsOK(ecode2
)) {
11987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11989 arg2
= static_cast< wxFontFamily
>(val2
);
11991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11992 if (!SWIG_IsOK(ecode3
)) {
11993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11995 arg3
= static_cast< int >(val3
);
11999 arg4
= wxString_in_helper(obj3
);
12000 if (arg4
== NULL
) SWIG_fail
;
12005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12006 if (!SWIG_IsOK(ecode5
)) {
12007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12009 arg5
= static_cast< wxFontEncoding
>(val5
);
12012 if (!wxPyCheckForApp()) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12033 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= 0;
12039 bool arg5
= (bool) false ;
12040 wxString
const &arg6_defvalue
= wxEmptyString
;
12041 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12042 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12043 wxFont
*result
= 0 ;
12053 bool temp6
= false ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 PyObject
* obj2
= 0 ;
12059 PyObject
* obj3
= 0 ;
12060 PyObject
* obj4
= 0 ;
12061 PyObject
* obj5
= 0 ;
12062 PyObject
* obj6
= 0 ;
12063 char * kwnames
[] = {
12064 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12070 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12073 if (!SWIG_IsOK(ecode2
)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12076 arg2
= static_cast< int >(val2
);
12077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12078 if (!SWIG_IsOK(ecode3
)) {
12079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12081 arg3
= static_cast< int >(val3
);
12082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12083 if (!SWIG_IsOK(ecode4
)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12086 arg4
= static_cast< int >(val4
);
12088 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12089 if (!SWIG_IsOK(ecode5
)) {
12090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12092 arg5
= static_cast< bool >(val5
);
12096 arg6
= wxString_in_helper(obj5
);
12097 if (arg6
== NULL
) SWIG_fail
;
12102 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12103 if (!SWIG_IsOK(ecode7
)) {
12104 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12106 arg7
= static_cast< wxFontEncoding
>(val7
);
12109 if (!wxPyCheckForApp()) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12130 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12133 wxFontFamily arg2
;
12134 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12135 wxString
const &arg4_defvalue
= wxEmptyString
;
12136 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12137 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12138 wxFont
*result
= 0 ;
12144 bool temp4
= false ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 PyObject
* obj2
= 0 ;
12150 PyObject
* obj3
= 0 ;
12151 PyObject
* obj4
= 0 ;
12152 char * kwnames
[] = {
12153 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12159 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12162 if (!SWIG_IsOK(ecode2
)) {
12163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12165 arg2
= static_cast< wxFontFamily
>(val2
);
12167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12168 if (!SWIG_IsOK(ecode3
)) {
12169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12171 arg3
= static_cast< int >(val3
);
12175 arg4
= wxString_in_helper(obj3
);
12176 if (arg4
== NULL
) SWIG_fail
;
12181 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12182 if (!SWIG_IsOK(ecode5
)) {
12183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12185 arg5
= static_cast< wxFontEncoding
>(val5
);
12188 if (!wxPyCheckForApp()) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12209 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxFont
*arg1
= (wxFont
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12223 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxFont
const *)arg1
)->Ok();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
= 0;
12241 wxFont
*arg1
= (wxFont
*) 0 ;
12242 wxFont
*arg2
= (wxFont
*) 0 ;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 char * kwnames
[] = {
12251 (char *) "self",(char *) "other", NULL
12254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12256 if (!SWIG_IsOK(res1
)) {
12257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12259 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12261 if (!SWIG_IsOK(res2
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12264 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12280 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
= 0;
12282 wxFont
*arg1
= (wxFont
*) 0 ;
12283 wxFont
*arg2
= (wxFont
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 char * kwnames
[] = {
12292 (char *) "self",(char *) "other", NULL
12295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12297 if (!SWIG_IsOK(res1
)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12300 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12302 if (!SWIG_IsOK(res2
)) {
12303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12305 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12321 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12322 PyObject
*resultobj
= 0;
12323 wxFont
*arg1
= (wxFont
*) 0 ;
12327 PyObject
*swig_obj
[1] ;
12329 if (!args
) SWIG_fail
;
12330 swig_obj
[0] = args
;
12331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12332 if (!SWIG_IsOK(res1
)) {
12333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12335 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_From_int(static_cast< int >(result
));
12349 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxFont
*arg1
= (wxFont
*) 0 ;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12363 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12377 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12378 PyObject
*resultobj
= 0;
12379 wxFont
*arg1
= (wxFont
*) 0 ;
12383 PyObject
*swig_obj
[1] ;
12385 if (!args
) SWIG_fail
;
12386 swig_obj
[0] = args
;
12387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12391 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12407 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 PyObject
*resultobj
= 0;
12409 wxFont
*arg1
= (wxFont
*) 0 ;
12413 PyObject
*swig_obj
[1] ;
12415 if (!args
) SWIG_fail
;
12416 swig_obj
[0] = args
;
12417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12418 if (!SWIG_IsOK(res1
)) {
12419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12421 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_From_int(static_cast< int >(result
));
12435 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 PyObject
*resultobj
= 0;
12437 wxFont
*arg1
= (wxFont
*) 0 ;
12441 PyObject
*swig_obj
[1] ;
12443 if (!args
) SWIG_fail
;
12444 swig_obj
[0] = args
;
12445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12446 if (!SWIG_IsOK(res1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12449 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_From_int(static_cast< int >(result
));
12463 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12464 PyObject
*resultobj
= 0;
12465 wxFont
*arg1
= (wxFont
*) 0 ;
12469 PyObject
*swig_obj
[1] ;
12471 if (!args
) SWIG_fail
;
12472 swig_obj
[0] = args
;
12473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12474 if (!SWIG_IsOK(res1
)) {
12475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12477 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_From_int(static_cast< int >(result
));
12491 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12492 PyObject
*resultobj
= 0;
12493 wxFont
*arg1
= (wxFont
*) 0 ;
12497 PyObject
*swig_obj
[1] ;
12499 if (!args
) SWIG_fail
;
12500 swig_obj
[0] = args
;
12501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12502 if (!SWIG_IsOK(res1
)) {
12503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12505 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12521 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12522 PyObject
*resultobj
= 0;
12523 wxFont
*arg1
= (wxFont
*) 0 ;
12527 PyObject
*swig_obj
[1] ;
12529 if (!args
) SWIG_fail
;
12530 swig_obj
[0] = args
;
12531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12532 if (!SWIG_IsOK(res1
)) {
12533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12535 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= ((wxFont
const *)arg1
)->GetFaceName();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12555 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12556 PyObject
*resultobj
= 0;
12557 wxFont
*arg1
= (wxFont
*) 0 ;
12558 wxFontEncoding result
;
12561 PyObject
*swig_obj
[1] ;
12563 if (!args
) SWIG_fail
;
12564 swig_obj
[0] = args
;
12565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12566 if (!SWIG_IsOK(res1
)) {
12567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12569 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_From_int(static_cast< int >(result
));
12583 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12584 PyObject
*resultobj
= 0;
12585 wxFont
*arg1
= (wxFont
*) 0 ;
12586 wxNativeFontInfo
*result
= 0 ;
12589 PyObject
*swig_obj
[1] ;
12591 if (!args
) SWIG_fail
;
12592 swig_obj
[0] = args
;
12593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12597 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12611 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 PyObject
*resultobj
= 0;
12613 wxFont
*arg1
= (wxFont
*) 0 ;
12617 PyObject
*swig_obj
[1] ;
12619 if (!args
) SWIG_fail
;
12620 swig_obj
[0] = args
;
12621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12625 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12641 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12642 PyObject
*resultobj
= 0;
12643 wxFont
*arg1
= (wxFont
*) 0 ;
12647 PyObject
*swig_obj
[1] ;
12649 if (!args
) SWIG_fail
;
12650 swig_obj
[0] = args
;
12651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12655 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12675 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12676 PyObject
*resultobj
= 0;
12677 wxFont
*arg1
= (wxFont
*) 0 ;
12681 PyObject
*swig_obj
[1] ;
12683 if (!args
) SWIG_fail
;
12684 swig_obj
[0] = args
;
12685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12686 if (!SWIG_IsOK(res1
)) {
12687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12689 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12709 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
= 0;
12711 wxFont
*arg1
= (wxFont
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 PyObject
* obj1
= 0 ;
12719 char * kwnames
[] = {
12720 (char *) "self",(char *) "pointSize", NULL
12723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12725 if (!SWIG_IsOK(res1
)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12728 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12730 if (!SWIG_IsOK(ecode2
)) {
12731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12733 arg2
= static_cast< int >(val2
);
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 (arg1
)->SetPointSize(arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_Py_Void();
12747 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
= 0;
12749 wxFont
*arg1
= (wxFont
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "pixelSize", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12765 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12768 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_Py_Void();
12783 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
= 0;
12785 wxFont
*arg1
= (wxFont
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 char * kwnames
[] = {
12794 (char *) "self",(char *) "family", NULL
12797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12799 if (!SWIG_IsOK(res1
)) {
12800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12802 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12804 if (!SWIG_IsOK(ecode2
)) {
12805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12807 arg2
= static_cast< int >(val2
);
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->SetFamily(arg2
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_Py_Void();
12821 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
= 0;
12823 wxFont
*arg1
= (wxFont
*) 0 ;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 char * kwnames
[] = {
12832 (char *) "self",(char *) "style", NULL
12835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12837 if (!SWIG_IsOK(res1
)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12840 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12842 if (!SWIG_IsOK(ecode2
)) {
12843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12845 arg2
= static_cast< int >(val2
);
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 (arg1
)->SetStyle(arg2
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_Py_Void();
12859 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
= 0;
12861 wxFont
*arg1
= (wxFont
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "weight", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12878 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12880 if (!SWIG_IsOK(ecode2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12883 arg2
= static_cast< int >(val2
);
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->SetWeight(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_Py_Void();
12897 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
= 0;
12899 wxFont
*arg1
= (wxFont
*) 0 ;
12900 wxString
*arg2
= 0 ;
12903 bool temp2
= false ;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 char * kwnames
[] = {
12907 (char *) "self",(char *) "faceName", NULL
12910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12915 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12917 arg2
= wxString_in_helper(obj1
);
12918 if (arg2
== NULL
) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_Py_Void();
12942 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
= 0;
12944 wxFont
*arg1
= (wxFont
*) 0 ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char * kwnames
[] = {
12953 (char *) "self",(char *) "underlined", NULL
12956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12958 if (!SWIG_IsOK(res1
)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12961 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12963 if (!SWIG_IsOK(ecode2
)) {
12964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12966 arg2
= static_cast< bool >(val2
);
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 (arg1
)->SetUnderlined(arg2
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_Py_Void();
12980 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12982 wxFont
*arg1
= (wxFont
*) 0 ;
12983 wxFontEncoding arg2
;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 char * kwnames
[] = {
12991 (char *) "self",(char *) "encoding", NULL
12994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12996 if (!SWIG_IsOK(res1
)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12999 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13001 if (!SWIG_IsOK(ecode2
)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13004 arg2
= static_cast< wxFontEncoding
>(val2
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 (arg1
)->SetEncoding(arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_Py_Void();
13018 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
= 0;
13020 wxFont
*arg1
= (wxFont
*) 0 ;
13021 wxNativeFontInfo
*arg2
= 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "self",(char *) "info", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13037 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13039 if (!SWIG_IsOK(res2
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13045 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= SWIG_Py_Void();
13059 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
= 0;
13061 wxFont
*arg1
= (wxFont
*) 0 ;
13062 wxString
*arg2
= 0 ;
13065 bool temp2
= false ;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char * kwnames
[] = {
13069 (char *) "self",(char *) "info", NULL
13072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13074 if (!SWIG_IsOK(res1
)) {
13075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13077 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13079 arg2
= wxString_in_helper(obj1
);
13080 if (arg2
== NULL
) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_Py_Void();
13104 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
= 0;
13106 wxFont
*arg1
= (wxFont
*) 0 ;
13107 wxString
*arg2
= 0 ;
13110 bool temp2
= false ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char * kwnames
[] = {
13114 (char *) "self",(char *) "info", NULL
13117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13122 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13124 arg2
= wxString_in_helper(obj1
);
13125 if (arg2
== NULL
) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_Py_Void();
13149 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13150 PyObject
*resultobj
= 0;
13151 wxFont
*arg1
= (wxFont
*) 0 ;
13155 PyObject
*swig_obj
[1] ;
13157 if (!args
) SWIG_fail
;
13158 swig_obj
[0] = args
;
13159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13163 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13183 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13184 PyObject
*resultobj
= 0;
13185 wxFont
*arg1
= (wxFont
*) 0 ;
13189 PyObject
*swig_obj
[1] ;
13191 if (!args
) SWIG_fail
;
13192 swig_obj
[0] = args
;
13193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13194 if (!SWIG_IsOK(res1
)) {
13195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13197 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= ((wxFont
const *)arg1
)->GetStyleString();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13217 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13218 PyObject
*resultobj
= 0;
13219 wxFont
*arg1
= (wxFont
*) 0 ;
13223 PyObject
*swig_obj
[1] ;
13225 if (!args
) SWIG_fail
;
13226 swig_obj
[0] = args
;
13227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13228 if (!SWIG_IsOK(res1
)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13231 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= ((wxFont
const *)arg1
)->GetWeightString();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13251 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
= 0;
13253 wxFont
*arg1
= (wxFont
*) 0 ;
13254 bool arg2
= (bool) true ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "self",(char *) "no", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13270 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13272 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13273 if (!SWIG_IsOK(ecode2
)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13276 arg2
= static_cast< bool >(val2
);
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->SetNoAntiAliasing(arg2
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_Py_Void();
13291 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13292 PyObject
*resultobj
= 0;
13293 wxFont
*arg1
= (wxFont
*) 0 ;
13297 PyObject
*swig_obj
[1] ;
13299 if (!args
) SWIG_fail
;
13300 swig_obj
[0] = args
;
13301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13305 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13321 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 PyObject
*resultobj
= 0;
13323 wxFontEncoding result
;
13325 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13327 if (!wxPyCheckForApp()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_From_int(static_cast< int >(result
));
13340 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
= 0;
13342 wxFontEncoding arg1
;
13345 PyObject
* obj0
= 0 ;
13346 char * kwnames
[] = {
13347 (char *) "encoding", NULL
13350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13352 if (!SWIG_IsOK(ecode1
)) {
13353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13355 arg1
= static_cast< wxFontEncoding
>(val1
);
13357 if (!wxPyCheckForApp()) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 wxFont::SetDefaultEncoding(arg1
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_Py_Void();
13370 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13373 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13374 return SWIG_Py_Void();
13377 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 return SWIG_Python_InitShadowInstance(args
);
13381 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13382 PyObject
*resultobj
= 0;
13383 wxPyFontEnumerator
*result
= 0 ;
13385 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13387 if (!wxPyCheckForApp()) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13400 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13401 PyObject
*resultobj
= 0;
13402 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13405 PyObject
*swig_obj
[1] ;
13407 if (!args
) SWIG_fail
;
13408 swig_obj
[0] = args
;
13409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13410 if (!SWIG_IsOK(res1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13413 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_Py_Void();
13428 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
= 0;
13430 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13431 PyObject
*arg2
= (PyObject
*) 0 ;
13432 PyObject
*arg3
= (PyObject
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 PyObject
* obj2
= 0 ;
13441 PyObject
* obj3
= 0 ;
13442 char * kwnames
[] = {
13443 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13451 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13454 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13455 if (!SWIG_IsOK(ecode4
)) {
13456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13458 arg4
= static_cast< bool >(val4
);
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_Py_Void();
13472 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
= 0;
13474 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13475 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13476 bool arg3
= (bool) false ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj2
= 0 ;
13487 char * kwnames
[] = {
13488 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13493 if (!SWIG_IsOK(res1
)) {
13494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13496 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13499 if (!SWIG_IsOK(ecode2
)) {
13500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13502 arg2
= static_cast< wxFontEncoding
>(val2
);
13505 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13506 if (!SWIG_IsOK(ecode3
)) {
13507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13509 arg3
= static_cast< bool >(val3
);
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
= 0;
13528 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13529 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13530 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13534 bool temp2
= false ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char * kwnames
[] = {
13538 (char *) "self",(char *) "facename", NULL
13541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13546 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13549 arg2
= wxString_in_helper(obj1
);
13550 if (arg2
== NULL
) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13577 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13578 PyObject
*resultobj
= 0;
13579 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13580 PyObject
*result
= 0 ;
13583 PyObject
*swig_obj
[1] ;
13585 if (!args
) SWIG_fail
;
13586 swig_obj
[0] = args
;
13587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13588 if (!SWIG_IsOK(res1
)) {
13589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13591 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= result
;
13605 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13606 PyObject
*resultobj
= 0;
13607 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13608 PyObject
*result
= 0 ;
13611 PyObject
*swig_obj
[1] ;
13613 if (!args
) SWIG_fail
;
13614 swig_obj
[0] = args
;
13615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13616 if (!SWIG_IsOK(res1
)) {
13617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13619 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= result
;
13633 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13637 return SWIG_Py_Void();
13640 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 return SWIG_Python_InitShadowInstance(args
);
13644 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13645 PyObject
*resultobj
= 0;
13646 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13652 PyObject
*swig_obj
[2] ;
13654 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13659 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13660 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13661 if (!SWIG_IsOK(ecode2
)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13664 arg2
= static_cast< int >(val2
);
13665 if (arg1
) (arg1
)->Language
= arg2
;
13667 resultobj
= SWIG_Py_Void();
13674 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13675 PyObject
*resultobj
= 0;
13676 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13680 PyObject
*swig_obj
[1] ;
13682 if (!args
) SWIG_fail
;
13683 swig_obj
[0] = args
;
13684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13685 if (!SWIG_IsOK(res1
)) {
13686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13688 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13689 result
= (int) ((arg1
)->Language
);
13690 resultobj
= SWIG_From_int(static_cast< int >(result
));
13697 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13698 PyObject
*resultobj
= 0;
13699 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13700 wxString
*arg2
= (wxString
*) 0 ;
13703 bool temp2
= false ;
13704 PyObject
*swig_obj
[2] ;
13706 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13708 if (!SWIG_IsOK(res1
)) {
13709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13711 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13713 arg2
= wxString_in_helper(swig_obj
[1]);
13714 if (arg2
== NULL
) SWIG_fail
;
13717 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13719 resultobj
= SWIG_Py_Void();
13734 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13735 PyObject
*resultobj
= 0;
13736 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13737 wxString
*result
= 0 ;
13740 PyObject
*swig_obj
[1] ;
13742 if (!args
) SWIG_fail
;
13743 swig_obj
[0] = args
;
13744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13745 if (!SWIG_IsOK(res1
)) {
13746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13748 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13749 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13752 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13754 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13763 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 PyObject
*resultobj
= 0;
13765 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13766 wxString
*arg2
= (wxString
*) 0 ;
13769 bool temp2
= false ;
13770 PyObject
*swig_obj
[2] ;
13772 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13774 if (!SWIG_IsOK(res1
)) {
13775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13777 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13779 arg2
= wxString_in_helper(swig_obj
[1]);
13780 if (arg2
== NULL
) SWIG_fail
;
13783 if (arg1
) (arg1
)->Description
= *arg2
;
13785 resultobj
= SWIG_Py_Void();
13800 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13801 PyObject
*resultobj
= 0;
13802 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13803 wxString
*result
= 0 ;
13806 PyObject
*swig_obj
[1] ;
13808 if (!args
) SWIG_fail
;
13809 swig_obj
[0] = args
;
13810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13811 if (!SWIG_IsOK(res1
)) {
13812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13814 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13815 result
= (wxString
*)& ((arg1
)->Description
);
13818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13829 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13832 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13833 return SWIG_Py_Void();
13836 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
= 0;
13838 int arg1
= (int) -1 ;
13839 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13840 wxLocale
*result
= 0 ;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 char * kwnames
[] = {
13848 (char *) "language",(char *) "flags", NULL
13851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13853 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13854 if (!SWIG_IsOK(ecode1
)) {
13855 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13857 arg1
= static_cast< int >(val1
);
13860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13861 if (!SWIG_IsOK(ecode2
)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13864 arg2
= static_cast< int >(val2
);
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13879 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13880 PyObject
*resultobj
= 0;
13881 wxLocale
*arg1
= (wxLocale
*) 0 ;
13884 PyObject
*swig_obj
[1] ;
13886 if (!args
) SWIG_fail
;
13887 swig_obj
[0] = args
;
13888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13889 if (!SWIG_IsOK(res1
)) {
13890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13892 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_Py_Void();
13907 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
= 0;
13909 wxLocale
*arg1
= (wxLocale
*) 0 ;
13910 wxString
*arg2
= 0 ;
13911 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13912 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13913 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13914 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13915 bool arg5
= (bool) true ;
13916 bool arg6
= (bool) false ;
13920 bool temp2
= false ;
13921 bool temp3
= false ;
13922 bool temp4
= false ;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 PyObject
* obj2
= 0 ;
13930 PyObject
* obj3
= 0 ;
13931 PyObject
* obj4
= 0 ;
13932 PyObject
* obj5
= 0 ;
13933 char * kwnames
[] = {
13934 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13939 if (!SWIG_IsOK(res1
)) {
13940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13942 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13944 arg2
= wxString_in_helper(obj1
);
13945 if (arg2
== NULL
) SWIG_fail
;
13950 arg3
= wxString_in_helper(obj2
);
13951 if (arg3
== NULL
) SWIG_fail
;
13957 arg4
= wxString_in_helper(obj3
);
13958 if (arg4
== NULL
) SWIG_fail
;
13963 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13964 if (!SWIG_IsOK(ecode5
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13967 arg5
= static_cast< bool >(val5
);
13970 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13971 if (!SWIG_IsOK(ecode6
)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13974 arg6
= static_cast< bool >(val6
);
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14015 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
= 0;
14017 wxLocale
*arg1
= (wxLocale
*) 0 ;
14018 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14019 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 PyObject
* obj2
= 0 ;
14030 char * kwnames
[] = {
14031 (char *) "self",(char *) "language",(char *) "flags", NULL
14034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14039 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14042 if (!SWIG_IsOK(ecode2
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14045 arg2
= static_cast< int >(val2
);
14048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14049 if (!SWIG_IsOK(ecode3
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14052 arg3
= static_cast< int >(val3
);
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 PyObject
*resultobj
= 0;
14073 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (int)wxLocale::GetSystemLanguage();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_From_int(static_cast< int >(result
));
14087 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14088 PyObject
*resultobj
= 0;
14089 wxFontEncoding result
;
14091 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= SWIG_From_int(static_cast< int >(result
));
14105 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14106 PyObject
*resultobj
= 0;
14109 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= wxLocale::GetSystemEncodingName();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14129 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14130 PyObject
*resultobj
= 0;
14131 wxLocale
*arg1
= (wxLocale
*) 0 ;
14135 PyObject
*swig_obj
[1] ;
14137 if (!args
) SWIG_fail
;
14138 swig_obj
[0] = args
;
14139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14140 if (!SWIG_IsOK(res1
)) {
14141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14143 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14159 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14160 PyObject
*resultobj
= 0;
14161 wxLocale
*arg1
= (wxLocale
*) 0 ;
14165 PyObject
*swig_obj
[1] ;
14167 if (!args
) SWIG_fail
;
14168 swig_obj
[0] = args
;
14169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14173 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= ((wxLocale
const *)arg1
)->GetLocale();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14193 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14194 PyObject
*resultobj
= 0;
14195 wxLocale
*arg1
= (wxLocale
*) 0 ;
14199 PyObject
*swig_obj
[1] ;
14201 if (!args
) SWIG_fail
;
14202 swig_obj
[0] = args
;
14203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14204 if (!SWIG_IsOK(res1
)) {
14205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14207 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= SWIG_From_int(static_cast< int >(result
));
14221 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14222 PyObject
*resultobj
= 0;
14223 wxLocale
*arg1
= (wxLocale
*) 0 ;
14227 PyObject
*swig_obj
[1] ;
14229 if (!args
) SWIG_fail
;
14230 swig_obj
[0] = args
;
14231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14232 if (!SWIG_IsOK(res1
)) {
14233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14235 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= ((wxLocale
const *)arg1
)->GetSysName();
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14255 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14256 PyObject
*resultobj
= 0;
14257 wxLocale
*arg1
= (wxLocale
*) 0 ;
14261 PyObject
*swig_obj
[1] ;
14263 if (!args
) SWIG_fail
;
14264 swig_obj
[0] = args
;
14265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14266 if (!SWIG_IsOK(res1
)) {
14267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14269 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14289 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14291 wxString
*arg1
= 0 ;
14292 bool temp1
= false ;
14293 PyObject
* obj0
= 0 ;
14294 char * kwnames
[] = {
14295 (char *) "prefix", NULL
14298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14300 arg1
= wxString_in_helper(obj0
);
14301 if (arg1
== NULL
) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_Py_Void();
14325 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
= 0;
14327 wxLocale
*arg1
= (wxLocale
*) 0 ;
14328 wxString
*arg2
= 0 ;
14332 bool temp2
= false ;
14333 PyObject
* obj0
= 0 ;
14334 PyObject
* obj1
= 0 ;
14335 char * kwnames
[] = {
14336 (char *) "self",(char *) "szDomain", NULL
14339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14344 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14346 arg2
= wxString_in_helper(obj1
);
14347 if (arg2
== NULL
) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14373 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
= 0;
14375 wxLocale
*arg1
= (wxLocale
*) 0 ;
14376 wxString
*arg2
= 0 ;
14380 bool temp2
= false ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char * kwnames
[] = {
14384 (char *) "self",(char *) "szDomain", NULL
14387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14389 if (!SWIG_IsOK(res1
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14392 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14394 arg2
= wxString_in_helper(obj1
);
14395 if (arg2
== NULL
) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14421 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
= 0;
14424 wxLanguageInfo
*result
= 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char * kwnames
[] = {
14429 (char *) "lang", NULL
14432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14434 if (!SWIG_IsOK(ecode1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14437 arg1
= static_cast< int >(val1
);
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14451 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
= 0;
14457 PyObject
* obj0
= 0 ;
14458 char * kwnames
[] = {
14459 (char *) "lang", NULL
14462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14463 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14464 if (!SWIG_IsOK(ecode1
)) {
14465 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14467 arg1
= static_cast< int >(val1
);
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= wxLocale::GetLanguageName(arg1
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14487 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
= 0;
14489 wxString
*arg1
= 0 ;
14490 wxLanguageInfo
*result
= 0 ;
14491 bool temp1
= false ;
14492 PyObject
* obj0
= 0 ;
14493 char * kwnames
[] = {
14494 (char *) "locale", NULL
14497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14499 arg1
= wxString_in_helper(obj0
);
14500 if (arg1
== NULL
) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14524 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
= 0;
14526 wxLanguageInfo
*arg1
= 0 ;
14529 PyObject
* obj0
= 0 ;
14530 char * kwnames
[] = {
14531 (char *) "info", NULL
14534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14535 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14536 if (!SWIG_IsOK(res1
)) {
14537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14542 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_Py_Void();
14556 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
= 0;
14558 wxLocale
*arg1
= (wxLocale
*) 0 ;
14559 wxString
*arg2
= 0 ;
14560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14565 bool temp2
= false ;
14566 bool temp3
= false ;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 PyObject
* obj2
= 0 ;
14570 char * kwnames
[] = {
14571 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14579 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14581 arg2
= wxString_in_helper(obj1
);
14582 if (arg2
== NULL
) SWIG_fail
;
14587 arg3
= wxString_in_helper(obj2
);
14588 if (arg3
== NULL
) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14627 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14628 PyObject
*resultobj
= 0;
14629 wxLocale
*arg1
= (wxLocale
*) 0 ;
14630 wxString
*result
= 0 ;
14633 PyObject
*swig_obj
[1] ;
14635 if (!args
) SWIG_fail
;
14636 swig_obj
[0] = args
;
14637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14638 if (!SWIG_IsOK(res1
)) {
14639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14641 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14646 result
= (wxString
*) &_result_ref
;
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14664 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14667 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14668 return SWIG_Py_Void();
14671 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14672 return SWIG_Python_InitShadowInstance(args
);
14675 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14676 PyObject
*resultobj
= 0;
14677 wxLocale
*result
= 0 ;
14679 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (wxLocale
*)wxGetLocale();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14693 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14694 PyObject
*resultobj
= 0;
14695 wxString
*arg1
= 0 ;
14697 bool temp1
= false ;
14699 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14701 arg1
= wxString_in_helper(swig_obj
[0]);
14702 if (arg1
== NULL
) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= wxGetTranslation((wxString
const &)*arg1
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14732 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14733 PyObject
*resultobj
= 0;
14734 wxString
*arg1
= 0 ;
14735 wxString
*arg2
= 0 ;
14738 bool temp1
= false ;
14739 bool temp2
= false ;
14743 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14745 arg1
= wxString_in_helper(swig_obj
[0]);
14746 if (arg1
== NULL
) SWIG_fail
;
14750 arg2
= wxString_in_helper(swig_obj
[1]);
14751 if (arg2
== NULL
) SWIG_fail
;
14754 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14755 if (!SWIG_IsOK(ecode3
)) {
14756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14758 arg3
= static_cast< size_t >(val3
);
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14794 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14798 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14801 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14804 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14808 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14813 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxEncodingConverter
*result
= 0 ;
14817 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14831 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14832 PyObject
*resultobj
= 0;
14833 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14836 PyObject
*swig_obj
[1] ;
14838 if (!args
) SWIG_fail
;
14839 swig_obj
[0] = args
;
14840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14841 if (!SWIG_IsOK(res1
)) {
14842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14844 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= SWIG_Py_Void();
14859 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
= 0;
14861 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14862 wxFontEncoding arg2
;
14863 wxFontEncoding arg3
;
14864 int arg4
= (int) wxCONVERT_STRICT
;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 PyObject
* obj2
= 0 ;
14877 PyObject
* obj3
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14887 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14889 if (!SWIG_IsOK(ecode2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14892 arg2
= static_cast< wxFontEncoding
>(val2
);
14893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14894 if (!SWIG_IsOK(ecode3
)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14897 arg3
= static_cast< wxFontEncoding
>(val3
);
14899 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14900 if (!SWIG_IsOK(ecode4
)) {
14901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14903 arg4
= static_cast< int >(val4
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14920 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
= 0;
14922 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14923 wxString
*arg2
= 0 ;
14927 bool temp2
= false ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 char * kwnames
[] = {
14931 (char *) "self",(char *) "input", NULL
14934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14936 if (!SWIG_IsOK(res1
)) {
14937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14939 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14941 arg2
= wxString_in_helper(obj1
);
14942 if (arg2
== NULL
) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14972 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
= 0;
14974 wxFontEncoding arg1
;
14975 int arg2
= (int) wxPLATFORM_CURRENT
;
14976 wxFontEncodingArray result
;
14981 PyObject
* obj0
= 0 ;
14982 PyObject
* obj1
= 0 ;
14983 char * kwnames
[] = {
14984 (char *) "enc",(char *) "platform", NULL
14987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14989 if (!SWIG_IsOK(ecode1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14992 arg1
= static_cast< wxFontEncoding
>(val1
);
14994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14995 if (!SWIG_IsOK(ecode2
)) {
14996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14998 arg2
= static_cast< int >(val2
);
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= PyList_New(0);
15008 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15009 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15010 PyList_Append(resultobj
, number
);
15020 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
= 0;
15022 wxFontEncoding arg1
;
15023 wxFontEncodingArray result
;
15026 PyObject
* obj0
= 0 ;
15027 char * kwnames
[] = {
15028 (char *) "enc", NULL
15031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15032 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15033 if (!SWIG_IsOK(ecode1
)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15036 arg1
= static_cast< wxFontEncoding
>(val1
);
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= PyList_New(0);
15045 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15046 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15047 PyList_Append(resultobj
, number
);
15057 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
= 0;
15059 wxFontEncoding arg1
;
15060 wxFontEncoding arg2
;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 char * kwnames
[] = {
15069 (char *) "encIn",(char *) "encOut", NULL
15072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15073 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15074 if (!SWIG_IsOK(ecode1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15077 arg1
= static_cast< wxFontEncoding
>(val1
);
15078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15079 if (!SWIG_IsOK(ecode2
)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15082 arg2
= static_cast< wxFontEncoding
>(val2
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15098 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15101 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15102 return SWIG_Py_Void();
15105 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15106 return SWIG_Python_InitShadowInstance(args
);
15109 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15110 PyObject
*resultobj
= 0;
15111 wxDC
*arg1
= (wxDC
*) 0 ;
15114 PyObject
*swig_obj
[1] ;
15116 if (!args
) SWIG_fail
;
15117 swig_obj
[0] = args
;
15118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= SWIG_Py_Void();
15137 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
= 0;
15139 wxDC
*arg1
= (wxDC
*) 0 ;
15142 wxColour
*arg4
= 0 ;
15143 int arg5
= (int) wxFLOOD_SURFACE
;
15154 PyObject
* obj0
= 0 ;
15155 PyObject
* obj1
= 0 ;
15156 PyObject
* obj2
= 0 ;
15157 PyObject
* obj3
= 0 ;
15158 PyObject
* obj4
= 0 ;
15159 char * kwnames
[] = {
15160 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15170 if (!SWIG_IsOK(ecode2
)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15173 arg2
= static_cast< int >(val2
);
15174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15175 if (!SWIG_IsOK(ecode3
)) {
15176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15178 arg3
= static_cast< int >(val3
);
15181 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15184 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15185 if (!SWIG_IsOK(ecode5
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15188 arg5
= static_cast< int >(val5
);
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15205 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
= 0;
15207 wxDC
*arg1
= (wxDC
*) 0 ;
15208 wxPoint
*arg2
= 0 ;
15209 wxColour
*arg3
= 0 ;
15210 int arg4
= (int) wxFLOOD_SURFACE
;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 PyObject
* obj2
= 0 ;
15221 PyObject
* obj3
= 0 ;
15222 char * kwnames
[] = {
15223 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15228 if (!SWIG_IsOK(res1
)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15234 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15238 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15242 if (!SWIG_IsOK(ecode4
)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15245 arg4
= static_cast< int >(val4
);
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15262 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
= 0;
15264 wxDC
*arg1
= (wxDC
*) 0 ;
15266 wxColour
*arg3
= 0 ;
15267 wxColour
*arg4
= 0 ;
15268 wxPoint
*arg5
= 0 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 PyObject
* obj2
= 0 ;
15278 PyObject
* obj3
= 0 ;
15279 PyObject
* obj4
= 0 ;
15280 char * kwnames
[] = {
15281 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15286 if (!SWIG_IsOK(res1
)) {
15287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15296 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15300 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= SWIG_Py_Void();
15319 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
= 0;
15321 wxDC
*arg1
= (wxDC
*) 0 ;
15323 wxColour
*arg3
= 0 ;
15324 wxColour
*arg4
= 0 ;
15325 wxDirection arg5
= (wxDirection
) wxEAST
;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 PyObject
* obj2
= 0 ;
15336 PyObject
* obj3
= 0 ;
15337 PyObject
* obj4
= 0 ;
15338 char * kwnames
[] = {
15339 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15344 if (!SWIG_IsOK(res1
)) {
15345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15350 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15354 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15358 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15361 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15362 if (!SWIG_IsOK(ecode5
)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15365 arg5
= static_cast< wxDirection
>(val5
);
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= SWIG_Py_Void();
15380 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
= 0;
15382 wxDC
*arg1
= (wxDC
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 PyObject
* obj2
= 0 ;
15395 char * kwnames
[] = {
15396 (char *) "self",(char *) "x",(char *) "y", NULL
15399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15401 if (!SWIG_IsOK(res1
)) {
15402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15406 if (!SWIG_IsOK(ecode2
)) {
15407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15409 arg2
= static_cast< int >(val2
);
15410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15411 if (!SWIG_IsOK(ecode3
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15414 arg3
= static_cast< int >(val3
);
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15428 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
= 0;
15430 wxDC
*arg1
= (wxDC
*) 0 ;
15431 wxPoint
*arg2
= 0 ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 char * kwnames
[] = {
15439 (char *) "self",(char *) "pt", NULL
15442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15465 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
= 0;
15467 wxDC
*arg1
= (wxDC
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 PyObject
* obj2
= 0 ;
15485 PyObject
* obj3
= 0 ;
15486 PyObject
* obj4
= 0 ;
15487 char * kwnames
[] = {
15488 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15493 if (!SWIG_IsOK(res1
)) {
15494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15498 if (!SWIG_IsOK(ecode2
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15501 arg2
= static_cast< int >(val2
);
15502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15503 if (!SWIG_IsOK(ecode3
)) {
15504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15506 arg3
= static_cast< int >(val3
);
15507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15508 if (!SWIG_IsOK(ecode4
)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15511 arg4
= static_cast< int >(val4
);
15512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15513 if (!SWIG_IsOK(ecode5
)) {
15514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15516 arg5
= static_cast< int >(val5
);
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= SWIG_Py_Void();
15530 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
= 0;
15532 wxDC
*arg1
= (wxDC
*) 0 ;
15533 wxPoint
*arg2
= 0 ;
15534 wxPoint
*arg3
= 0 ;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 PyObject
* obj2
= 0 ;
15542 char * kwnames
[] = {
15543 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15548 if (!SWIG_IsOK(res1
)) {
15549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_Py_Void();
15573 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
= 0;
15575 wxDC
*arg1
= (wxDC
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "self",(char *) "x",(char *) "y", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15598 if (!SWIG_IsOK(ecode2
)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15601 arg2
= static_cast< int >(val2
);
15602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15603 if (!SWIG_IsOK(ecode3
)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15606 arg3
= static_cast< int >(val3
);
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 (arg1
)->CrossHair(arg2
,arg3
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_Py_Void();
15620 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
= 0;
15622 wxDC
*arg1
= (wxDC
*) 0 ;
15623 wxPoint
*arg2
= 0 ;
15627 PyObject
* obj0
= 0 ;
15628 PyObject
* obj1
= 0 ;
15629 char * kwnames
[] = {
15630 (char *) "self",(char *) "pt", NULL
15633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15635 if (!SWIG_IsOK(res1
)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= SWIG_Py_Void();
15656 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
= 0;
15658 wxDC
*arg1
= (wxDC
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 PyObject
* obj2
= 0 ;
15682 PyObject
* obj3
= 0 ;
15683 PyObject
* obj4
= 0 ;
15684 PyObject
* obj5
= 0 ;
15685 PyObject
* obj6
= 0 ;
15686 char * kwnames
[] = {
15687 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15697 if (!SWIG_IsOK(ecode2
)) {
15698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15700 arg2
= static_cast< int >(val2
);
15701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15702 if (!SWIG_IsOK(ecode3
)) {
15703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15705 arg3
= static_cast< int >(val3
);
15706 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15707 if (!SWIG_IsOK(ecode4
)) {
15708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15710 arg4
= static_cast< int >(val4
);
15711 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15712 if (!SWIG_IsOK(ecode5
)) {
15713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15715 arg5
= static_cast< int >(val5
);
15716 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15717 if (!SWIG_IsOK(ecode6
)) {
15718 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15720 arg6
= static_cast< int >(val6
);
15721 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15722 if (!SWIG_IsOK(ecode7
)) {
15723 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15725 arg7
= static_cast< int >(val7
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_Py_Void();
15739 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
= 0;
15741 wxDC
*arg1
= (wxDC
*) 0 ;
15742 wxPoint
*arg2
= 0 ;
15743 wxPoint
*arg3
= 0 ;
15744 wxPoint
*arg4
= 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 PyObject
* obj2
= 0 ;
15753 PyObject
* obj3
= 0 ;
15754 char * kwnames
[] = {
15755 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15760 if (!SWIG_IsOK(res1
)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15770 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= SWIG_Py_Void();
15789 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
= 0;
15791 wxDC
*arg1
= (wxDC
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 PyObject
* obj2
= 0 ;
15809 PyObject
* obj3
= 0 ;
15810 PyObject
* obj4
= 0 ;
15811 char * kwnames
[] = {
15812 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15817 if (!SWIG_IsOK(res1
)) {
15818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15822 if (!SWIG_IsOK(ecode2
)) {
15823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15825 arg2
= static_cast< int >(val2
);
15826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15827 if (!SWIG_IsOK(ecode3
)) {
15828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15830 arg3
= static_cast< int >(val3
);
15831 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15832 if (!SWIG_IsOK(ecode4
)) {
15833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15835 arg4
= static_cast< int >(val4
);
15836 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15837 if (!SWIG_IsOK(ecode5
)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15840 arg5
= static_cast< int >(val5
);
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= SWIG_Py_Void();
15854 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
= 0;
15856 wxDC
*arg1
= (wxDC
*) 0 ;
15861 PyObject
* obj0
= 0 ;
15862 PyObject
* obj1
= 0 ;
15863 char * kwnames
[] = {
15864 (char *) "self",(char *) "rect", NULL
15867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15869 if (!SWIG_IsOK(res1
)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15875 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_Py_Void();
15890 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
= 0;
15892 wxDC
*arg1
= (wxDC
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 PyObject
* obj1
= 0 ;
15915 PyObject
* obj2
= 0 ;
15916 PyObject
* obj3
= 0 ;
15917 PyObject
* obj4
= 0 ;
15918 PyObject
* obj5
= 0 ;
15919 PyObject
* obj6
= 0 ;
15920 char * kwnames
[] = {
15921 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15926 if (!SWIG_IsOK(res1
)) {
15927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15931 if (!SWIG_IsOK(ecode2
)) {
15932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15934 arg2
= static_cast< int >(val2
);
15935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15936 if (!SWIG_IsOK(ecode3
)) {
15937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15939 arg3
= static_cast< int >(val3
);
15940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15941 if (!SWIG_IsOK(ecode4
)) {
15942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15944 arg4
= static_cast< int >(val4
);
15945 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15946 if (!SWIG_IsOK(ecode5
)) {
15947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15949 arg5
= static_cast< int >(val5
);
15950 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15951 if (!SWIG_IsOK(ecode6
)) {
15952 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15954 arg6
= static_cast< double >(val6
);
15955 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15956 if (!SWIG_IsOK(ecode7
)) {
15957 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15959 arg7
= static_cast< double >(val7
);
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_Py_Void();
15973 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
= 0;
15975 wxDC
*arg1
= (wxDC
*) 0 ;
15976 wxPoint
*arg2
= 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 PyObject
* obj3
= 0 ;
15992 PyObject
* obj4
= 0 ;
15993 char * kwnames
[] = {
15994 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15999 if (!SWIG_IsOK(res1
)) {
16000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16009 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16011 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16012 if (!SWIG_IsOK(ecode4
)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16015 arg4
= static_cast< double >(val4
);
16016 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16017 if (!SWIG_IsOK(ecode5
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16020 arg5
= static_cast< double >(val5
);
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_Py_Void();
16034 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
= 0;
16036 wxDC
*arg1
= (wxDC
*) 0 ;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 PyObject
* obj2
= 0 ;
16048 char * kwnames
[] = {
16049 (char *) "self",(char *) "x",(char *) "y", NULL
16052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16054 if (!SWIG_IsOK(res1
)) {
16055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16059 if (!SWIG_IsOK(ecode2
)) {
16060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16062 arg2
= static_cast< int >(val2
);
16063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16064 if (!SWIG_IsOK(ecode3
)) {
16065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16067 arg3
= static_cast< int >(val3
);
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 (arg1
)->DrawPoint(arg2
,arg3
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_Py_Void();
16081 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
= 0;
16083 wxDC
*arg1
= (wxDC
*) 0 ;
16084 wxPoint
*arg2
= 0 ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char * kwnames
[] = {
16091 (char *) "self",(char *) "pt", NULL
16094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16096 if (!SWIG_IsOK(res1
)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_Py_Void();
16117 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
= 0;
16119 wxDC
*arg1
= (wxDC
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 PyObject
* obj2
= 0 ;
16137 PyObject
* obj3
= 0 ;
16138 PyObject
* obj4
= 0 ;
16139 char * kwnames
[] = {
16140 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16145 if (!SWIG_IsOK(res1
)) {
16146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16148 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16150 if (!SWIG_IsOK(ecode2
)) {
16151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16153 arg2
= static_cast< int >(val2
);
16154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16155 if (!SWIG_IsOK(ecode3
)) {
16156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16158 arg3
= static_cast< int >(val3
);
16159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16160 if (!SWIG_IsOK(ecode4
)) {
16161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16163 arg4
= static_cast< int >(val4
);
16164 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16165 if (!SWIG_IsOK(ecode5
)) {
16166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16168 arg5
= static_cast< int >(val5
);
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_Py_Void();
16182 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
= 0;
16184 wxDC
*arg1
= (wxDC
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char * kwnames
[] = {
16192 (char *) "self",(char *) "rect", NULL
16195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16197 if (!SWIG_IsOK(res1
)) {
16198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16203 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_Py_Void();
16218 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
= 0;
16220 wxDC
*arg1
= (wxDC
*) 0 ;
16221 wxPoint
*arg2
= 0 ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 PyObject
* obj2
= 0 ;
16230 char * kwnames
[] = {
16231 (char *) "self",(char *) "pt",(char *) "sz", NULL
16234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16236 if (!SWIG_IsOK(res1
)) {
16237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16246 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= SWIG_Py_Void();
16261 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
= 0;
16263 wxDC
*arg1
= (wxDC
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 PyObject
* obj2
= 0 ;
16284 PyObject
* obj3
= 0 ;
16285 PyObject
* obj4
= 0 ;
16286 PyObject
* obj5
= 0 ;
16287 char * kwnames
[] = {
16288 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16293 if (!SWIG_IsOK(res1
)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16298 if (!SWIG_IsOK(ecode2
)) {
16299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16301 arg2
= static_cast< int >(val2
);
16302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16303 if (!SWIG_IsOK(ecode3
)) {
16304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16306 arg3
= static_cast< int >(val3
);
16307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16308 if (!SWIG_IsOK(ecode4
)) {
16309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16311 arg4
= static_cast< int >(val4
);
16312 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16313 if (!SWIG_IsOK(ecode5
)) {
16314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16316 arg5
= static_cast< int >(val5
);
16317 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16318 if (!SWIG_IsOK(ecode6
)) {
16319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16321 arg6
= static_cast< double >(val6
);
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= SWIG_Py_Void();
16335 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
= 0;
16337 wxDC
*arg1
= (wxDC
*) 0 ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 PyObject
* obj2
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "self",(char *) "r",(char *) "radius", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16360 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16362 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16363 if (!SWIG_IsOK(ecode3
)) {
16364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16366 arg3
= static_cast< double >(val3
);
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= SWIG_Py_Void();
16380 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
= 0;
16382 wxDC
*arg1
= (wxDC
*) 0 ;
16383 wxPoint
*arg2
= 0 ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 PyObject
* obj2
= 0 ;
16395 PyObject
* obj3
= 0 ;
16396 char * kwnames
[] = {
16397 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16402 if (!SWIG_IsOK(res1
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16412 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16414 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16415 if (!SWIG_IsOK(ecode4
)) {
16416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16418 arg4
= static_cast< double >(val4
);
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_Py_Void();
16432 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
= 0;
16434 wxDC
*arg1
= (wxDC
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 PyObject
* obj2
= 0 ;
16449 PyObject
* obj3
= 0 ;
16450 char * kwnames
[] = {
16451 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16456 if (!SWIG_IsOK(res1
)) {
16457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16461 if (!SWIG_IsOK(ecode2
)) {
16462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16464 arg2
= static_cast< int >(val2
);
16465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16466 if (!SWIG_IsOK(ecode3
)) {
16467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16469 arg3
= static_cast< int >(val3
);
16470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16471 if (!SWIG_IsOK(ecode4
)) {
16472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16474 arg4
= static_cast< int >(val4
);
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_Py_Void();
16488 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxDC
*arg1
= (wxDC
*) 0 ;
16491 wxPoint
*arg2
= 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 PyObject
* obj2
= 0 ;
16501 char * kwnames
[] = {
16502 (char *) "self",(char *) "pt",(char *) "radius", NULL
16505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16507 if (!SWIG_IsOK(res1
)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16513 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16516 if (!SWIG_IsOK(ecode3
)) {
16517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16519 arg3
= static_cast< int >(val3
);
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_Py_Void();
16533 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
= 0;
16535 wxDC
*arg1
= (wxDC
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 PyObject
* obj2
= 0 ;
16553 PyObject
* obj3
= 0 ;
16554 PyObject
* obj4
= 0 ;
16555 char * kwnames
[] = {
16556 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16566 if (!SWIG_IsOK(ecode2
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16569 arg2
= static_cast< int >(val2
);
16570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16571 if (!SWIG_IsOK(ecode3
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16574 arg3
= static_cast< int >(val3
);
16575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16576 if (!SWIG_IsOK(ecode4
)) {
16577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16579 arg4
= static_cast< int >(val4
);
16580 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16581 if (!SWIG_IsOK(ecode5
)) {
16582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16584 arg5
= static_cast< int >(val5
);
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= SWIG_Py_Void();
16598 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
= 0;
16600 wxDC
*arg1
= (wxDC
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char * kwnames
[] = {
16608 (char *) "self",(char *) "rect", NULL
16611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16613 if (!SWIG_IsOK(res1
)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_Py_Void();
16634 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
= 0;
16636 wxDC
*arg1
= (wxDC
*) 0 ;
16637 wxPoint
*arg2
= 0 ;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 PyObject
* obj2
= 0 ;
16646 char * kwnames
[] = {
16647 (char *) "self",(char *) "pt",(char *) "sz", NULL
16650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16652 if (!SWIG_IsOK(res1
)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16658 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16662 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= SWIG_Py_Void();
16677 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
= 0;
16679 wxDC
*arg1
= (wxDC
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 PyObject
* obj2
= 0 ;
16694 PyObject
* obj3
= 0 ;
16695 char * kwnames
[] = {
16696 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16701 if (!SWIG_IsOK(res1
)) {
16702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16706 if (!SWIG_IsOK(res2
)) {
16707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16712 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16714 if (!SWIG_IsOK(ecode3
)) {
16715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16717 arg3
= static_cast< int >(val3
);
16718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16719 if (!SWIG_IsOK(ecode4
)) {
16720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16722 arg4
= static_cast< int >(val4
);
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_Py_Void();
16736 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
= 0;
16738 wxDC
*arg1
= (wxDC
*) 0 ;
16740 wxPoint
*arg3
= 0 ;
16746 PyObject
* obj0
= 0 ;
16747 PyObject
* obj1
= 0 ;
16748 PyObject
* obj2
= 0 ;
16749 char * kwnames
[] = {
16750 (char *) "self",(char *) "icon",(char *) "pt", NULL
16753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16755 if (!SWIG_IsOK(res1
)) {
16756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16760 if (!SWIG_IsOK(res2
)) {
16761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16766 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_Py_Void();
16784 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= 0;
16786 wxDC
*arg1
= (wxDC
*) 0 ;
16787 wxBitmap
*arg2
= 0 ;
16790 bool arg5
= (bool) false ;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 PyObject
* obj2
= 0 ;
16804 PyObject
* obj3
= 0 ;
16805 PyObject
* obj4
= 0 ;
16806 char * kwnames
[] = {
16807 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16817 if (!SWIG_IsOK(res2
)) {
16818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16823 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16825 if (!SWIG_IsOK(ecode3
)) {
16826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16828 arg3
= static_cast< int >(val3
);
16829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16830 if (!SWIG_IsOK(ecode4
)) {
16831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16833 arg4
= static_cast< int >(val4
);
16835 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16836 if (!SWIG_IsOK(ecode5
)) {
16837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16839 arg5
= static_cast< bool >(val5
);
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= SWIG_Py_Void();
16854 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
= 0;
16856 wxDC
*arg1
= (wxDC
*) 0 ;
16857 wxBitmap
*arg2
= 0 ;
16858 wxPoint
*arg3
= 0 ;
16859 bool arg4
= (bool) false ;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 PyObject
* obj2
= 0 ;
16870 PyObject
* obj3
= 0 ;
16871 char * kwnames
[] = {
16872 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16877 if (!SWIG_IsOK(res1
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16882 if (!SWIG_IsOK(res2
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16888 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16894 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16895 if (!SWIG_IsOK(ecode4
)) {
16896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16898 arg4
= static_cast< bool >(val4
);
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_Py_Void();
16913 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
= 0;
16915 wxDC
*arg1
= (wxDC
*) 0 ;
16916 wxString
*arg2
= 0 ;
16921 bool temp2
= false ;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 PyObject
* obj2
= 0 ;
16929 PyObject
* obj3
= 0 ;
16930 char * kwnames
[] = {
16931 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16941 arg2
= wxString_in_helper(obj1
);
16942 if (arg2
== NULL
) SWIG_fail
;
16945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16946 if (!SWIG_IsOK(ecode3
)) {
16947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16949 arg3
= static_cast< int >(val3
);
16950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16951 if (!SWIG_IsOK(ecode4
)) {
16952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16954 arg4
= static_cast< int >(val4
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_Py_Void();
16976 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
= 0;
16978 wxDC
*arg1
= (wxDC
*) 0 ;
16979 wxString
*arg2
= 0 ;
16980 wxPoint
*arg3
= 0 ;
16983 bool temp2
= false ;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 PyObject
* obj2
= 0 ;
16988 char * kwnames
[] = {
16989 (char *) "self",(char *) "text",(char *) "pt", NULL
16992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16994 if (!SWIG_IsOK(res1
)) {
16995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16999 arg2
= wxString_in_helper(obj1
);
17000 if (arg2
== NULL
) SWIG_fail
;
17005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_Py_Void();
17028 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxDC
*arg1
= (wxDC
*) 0 ;
17031 wxString
*arg2
= 0 ;
17037 bool temp2
= false ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 PyObject
* obj2
= 0 ;
17047 PyObject
* obj3
= 0 ;
17048 PyObject
* obj4
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17060 arg2
= wxString_in_helper(obj1
);
17061 if (arg2
== NULL
) SWIG_fail
;
17064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17065 if (!SWIG_IsOK(ecode3
)) {
17066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17068 arg3
= static_cast< int >(val3
);
17069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17070 if (!SWIG_IsOK(ecode4
)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17073 arg4
= static_cast< int >(val4
);
17074 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17075 if (!SWIG_IsOK(ecode5
)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17078 arg5
= static_cast< double >(val5
);
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= SWIG_Py_Void();
17100 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
= 0;
17102 wxDC
*arg1
= (wxDC
*) 0 ;
17103 wxString
*arg2
= 0 ;
17104 wxPoint
*arg3
= 0 ;
17108 bool temp2
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 PyObject
* obj3
= 0 ;
17116 char * kwnames
[] = {
17117 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17122 if (!SWIG_IsOK(res1
)) {
17123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17127 arg2
= wxString_in_helper(obj1
);
17128 if (arg2
== NULL
) SWIG_fail
;
17133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17135 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17136 if (!SWIG_IsOK(ecode4
)) {
17137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17139 arg4
= static_cast< double >(val4
);
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= SWIG_Py_Void();
17161 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
= 0;
17163 wxDC
*arg1
= (wxDC
*) 0 ;
17168 wxDC
*arg6
= (wxDC
*) 0 ;
17171 int arg9
= (int) wxCOPY
;
17172 bool arg10
= (bool) false ;
17173 int arg11
= (int) -1 ;
17174 int arg12
= (int) -1 ;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 PyObject
* obj2
= 0 ;
17203 PyObject
* obj3
= 0 ;
17204 PyObject
* obj4
= 0 ;
17205 PyObject
* obj5
= 0 ;
17206 PyObject
* obj6
= 0 ;
17207 PyObject
* obj7
= 0 ;
17208 PyObject
* obj8
= 0 ;
17209 PyObject
* obj9
= 0 ;
17210 PyObject
* obj10
= 0 ;
17211 PyObject
* obj11
= 0 ;
17212 char * kwnames
[] = {
17213 (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
17216 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
;
17217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17218 if (!SWIG_IsOK(res1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17223 if (!SWIG_IsOK(ecode2
)) {
17224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17226 arg2
= static_cast< int >(val2
);
17227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17228 if (!SWIG_IsOK(ecode3
)) {
17229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17231 arg3
= static_cast< int >(val3
);
17232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17233 if (!SWIG_IsOK(ecode4
)) {
17234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17236 arg4
= static_cast< int >(val4
);
17237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17238 if (!SWIG_IsOK(ecode5
)) {
17239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17241 arg5
= static_cast< int >(val5
);
17242 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17243 if (!SWIG_IsOK(res6
)) {
17244 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17246 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17247 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17248 if (!SWIG_IsOK(ecode7
)) {
17249 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17251 arg7
= static_cast< int >(val7
);
17252 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17253 if (!SWIG_IsOK(ecode8
)) {
17254 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17256 arg8
= static_cast< int >(val8
);
17258 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17259 if (!SWIG_IsOK(ecode9
)) {
17260 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17262 arg9
= static_cast< int >(val9
);
17265 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17266 if (!SWIG_IsOK(ecode10
)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17269 arg10
= static_cast< bool >(val10
);
17272 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17273 if (!SWIG_IsOK(ecode11
)) {
17274 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17276 arg11
= static_cast< int >(val11
);
17279 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17280 if (!SWIG_IsOK(ecode12
)) {
17281 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17283 arg12
= static_cast< int >(val12
);
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17300 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxDC
*arg1
= (wxDC
*) 0 ;
17303 wxPoint
*arg2
= 0 ;
17305 wxDC
*arg4
= (wxDC
*) 0 ;
17306 wxPoint
*arg5
= 0 ;
17307 int arg6
= (int) wxCOPY
;
17308 bool arg7
= (bool) false ;
17309 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17310 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 PyObject
* obj2
= 0 ;
17327 PyObject
* obj3
= 0 ;
17328 PyObject
* obj4
= 0 ;
17329 PyObject
* obj5
= 0 ;
17330 PyObject
* obj6
= 0 ;
17331 PyObject
* obj7
= 0 ;
17332 char * kwnames
[] = {
17333 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17338 if (!SWIG_IsOK(res1
)) {
17339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17348 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17350 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17351 if (!SWIG_IsOK(res4
)) {
17352 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17354 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17357 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17360 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17361 if (!SWIG_IsOK(ecode6
)) {
17362 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17364 arg6
= static_cast< int >(val6
);
17367 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17368 if (!SWIG_IsOK(ecode7
)) {
17369 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17371 arg7
= static_cast< bool >(val7
);
17376 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17394 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
= 0;
17396 wxDC
*arg1
= (wxDC
*) 0 ;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 PyObject
* obj2
= 0 ;
17414 PyObject
* obj3
= 0 ;
17415 PyObject
* obj4
= 0 ;
17416 char * kwnames
[] = {
17417 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17422 if (!SWIG_IsOK(res1
)) {
17423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17427 if (!SWIG_IsOK(ecode2
)) {
17428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17430 arg2
= static_cast< int >(val2
);
17431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17432 if (!SWIG_IsOK(ecode3
)) {
17433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17435 arg3
= static_cast< int >(val3
);
17436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17437 if (!SWIG_IsOK(ecode4
)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17440 arg4
= static_cast< int >(val4
);
17441 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17442 if (!SWIG_IsOK(ecode5
)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17445 arg5
= static_cast< int >(val5
);
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_Py_Void();
17459 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
= 0;
17461 wxDC
*arg1
= (wxDC
*) 0 ;
17462 wxPoint
*arg2
= 0 ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 PyObject
* obj2
= 0 ;
17471 char * kwnames
[] = {
17472 (char *) "self",(char *) "pt",(char *) "sz", NULL
17475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17477 if (!SWIG_IsOK(res1
)) {
17478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17487 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= SWIG_Py_Void();
17502 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
= 0;
17504 wxDC
*arg1
= (wxDC
*) 0 ;
17505 wxRegion
*arg2
= 0 ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 char * kwnames
[] = {
17513 (char *) "self",(char *) "region", NULL
17516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17518 if (!SWIG_IsOK(res1
)) {
17519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17523 if (!SWIG_IsOK(res2
)) {
17524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17529 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_Py_Void();
17543 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
= 0;
17545 wxDC
*arg1
= (wxDC
*) 0 ;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 char * kwnames
[] = {
17553 (char *) "self",(char *) "rect", NULL
17556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17558 if (!SWIG_IsOK(res1
)) {
17559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17564 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= SWIG_Py_Void();
17579 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
= 0;
17581 wxDC
*arg1
= (wxDC
*) 0 ;
17583 wxPoint
*arg3
= (wxPoint
*) 0 ;
17584 int arg4
= (int) 0 ;
17585 int arg5
= (int) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 PyObject
* obj1
= 0 ;
17594 PyObject
* obj2
= 0 ;
17595 PyObject
* obj3
= 0 ;
17596 char * kwnames
[] = {
17597 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17602 if (!SWIG_IsOK(res1
)) {
17603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17607 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17608 if (arg3
== NULL
) SWIG_fail
;
17611 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17612 if (!SWIG_IsOK(ecode4
)) {
17613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17615 arg4
= static_cast< int >(val4
);
17618 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17619 if (!SWIG_IsOK(ecode5
)) {
17620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17622 arg5
= static_cast< int >(val5
);
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_Py_Void();
17632 if (arg3
) delete [] arg3
;
17637 if (arg3
) delete [] arg3
;
17643 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
= 0;
17645 wxDC
*arg1
= (wxDC
*) 0 ;
17647 wxPoint
*arg3
= (wxPoint
*) 0 ;
17648 int arg4
= (int) 0 ;
17649 int arg5
= (int) 0 ;
17650 int arg6
= (int) wxODDEVEN_RULE
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 PyObject
* obj3
= 0 ;
17663 PyObject
* obj4
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17675 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17676 if (arg3
== NULL
) SWIG_fail
;
17679 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17680 if (!SWIG_IsOK(ecode4
)) {
17681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17683 arg4
= static_cast< int >(val4
);
17686 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17687 if (!SWIG_IsOK(ecode5
)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17690 arg5
= static_cast< int >(val5
);
17693 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17694 if (!SWIG_IsOK(ecode6
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17697 arg6
= static_cast< int >(val6
);
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= SWIG_Py_Void();
17707 if (arg3
) delete [] arg3
;
17712 if (arg3
) delete [] arg3
;
17718 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
= 0;
17720 wxDC
*arg1
= (wxDC
*) 0 ;
17721 wxString
*arg2
= 0 ;
17723 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17724 int arg5
= (int) -1 ;
17727 bool temp2
= false ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 PyObject
* obj3
= 0 ;
17737 PyObject
* obj4
= 0 ;
17738 char * kwnames
[] = {
17739 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17749 arg2
= wxString_in_helper(obj1
);
17750 if (arg2
== NULL
) SWIG_fail
;
17755 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17759 if (!SWIG_IsOK(ecode4
)) {
17760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17762 arg4
= static_cast< int >(val4
);
17765 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17766 if (!SWIG_IsOK(ecode5
)) {
17767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17769 arg5
= static_cast< int >(val5
);
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_Py_Void();
17792 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
= 0;
17794 wxDC
*arg1
= (wxDC
*) 0 ;
17795 wxString
*arg2
= 0 ;
17796 wxBitmap
*arg3
= 0 ;
17798 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17799 int arg6
= (int) -1 ;
17803 bool temp2
= false ;
17811 PyObject
* obj0
= 0 ;
17812 PyObject
* obj1
= 0 ;
17813 PyObject
* obj2
= 0 ;
17814 PyObject
* obj3
= 0 ;
17815 PyObject
* obj4
= 0 ;
17816 PyObject
* obj5
= 0 ;
17817 char * kwnames
[] = {
17818 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17823 if (!SWIG_IsOK(res1
)) {
17824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17828 arg2
= wxString_in_helper(obj1
);
17829 if (arg2
== NULL
) SWIG_fail
;
17832 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17833 if (!SWIG_IsOK(res3
)) {
17834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17839 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17842 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17845 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17846 if (!SWIG_IsOK(ecode5
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17849 arg5
= static_cast< int >(val5
);
17852 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17853 if (!SWIG_IsOK(ecode6
)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17856 arg6
= static_cast< int >(val6
);
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17879 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
= 0;
17881 wxDC
*arg1
= (wxDC
*) 0 ;
17883 wxPoint
*arg3
= (wxPoint
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char * kwnames
[] = {
17889 (char *) "self",(char *) "points", NULL
17892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",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_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17899 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17900 if (arg3
== NULL
) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 (arg1
)->DrawSpline(arg2
,arg3
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_Py_Void();
17910 if (arg3
) delete [] arg3
;
17915 if (arg3
) delete [] arg3
;
17921 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17922 PyObject
*resultobj
= 0;
17923 wxDC
*arg1
= (wxDC
*) 0 ;
17926 PyObject
*swig_obj
[1] ;
17928 if (!args
) SWIG_fail
;
17929 swig_obj
[0] = args
;
17930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17931 if (!SWIG_IsOK(res1
)) {
17932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= SWIG_Py_Void();
17948 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
= 0;
17950 wxDC
*arg1
= (wxDC
*) 0 ;
17951 wxString
*arg2
= 0 ;
17955 bool temp2
= false ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "message", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17969 arg2
= wxString_in_helper(obj1
);
17970 if (arg2
== NULL
) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17996 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17997 PyObject
*resultobj
= 0;
17998 wxDC
*arg1
= (wxDC
*) 0 ;
18001 PyObject
*swig_obj
[1] ;
18003 if (!args
) SWIG_fail
;
18004 swig_obj
[0] = args
;
18005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= SWIG_Py_Void();
18023 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18024 PyObject
*resultobj
= 0;
18025 wxDC
*arg1
= (wxDC
*) 0 ;
18028 PyObject
*swig_obj
[1] ;
18030 if (!args
) SWIG_fail
;
18031 swig_obj
[0] = args
;
18032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18033 if (!SWIG_IsOK(res1
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->StartPage();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_Py_Void();
18050 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18051 PyObject
*resultobj
= 0;
18052 wxDC
*arg1
= (wxDC
*) 0 ;
18055 PyObject
*swig_obj
[1] ;
18057 if (!args
) SWIG_fail
;
18058 swig_obj
[0] = args
;
18059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_Py_Void();
18077 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
= 0;
18079 wxDC
*arg1
= (wxDC
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char * kwnames
[] = {
18088 (char *) "self",(char *) "font", NULL
18091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18098 if (!SWIG_IsOK(res2
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18104 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 (arg1
)->SetFont((wxFont
const &)*arg2
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_Py_Void();
18118 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
= 0;
18120 wxDC
*arg1
= (wxDC
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "pen", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",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_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18139 if (!SWIG_IsOK(res2
)) {
18140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18145 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetPen((wxPen
const &)*arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_Py_Void();
18159 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= 0;
18161 wxDC
*arg1
= (wxDC
*) 0 ;
18162 wxBrush
*arg2
= 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "brush", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18180 if (!SWIG_IsOK(res2
)) {
18181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18186 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_Py_Void();
18200 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
= 0;
18202 wxDC
*arg1
= (wxDC
*) 0 ;
18203 wxBrush
*arg2
= 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char * kwnames
[] = {
18211 (char *) "self",(char *) "brush", NULL
18214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18221 if (!SWIG_IsOK(res2
)) {
18222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18227 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= SWIG_Py_Void();
18241 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
= 0;
18243 wxDC
*arg1
= (wxDC
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 char * kwnames
[] = {
18252 (char *) "self",(char *) "mode", NULL
18255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18257 if (!SWIG_IsOK(res1
)) {
18258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18262 if (!SWIG_IsOK(ecode2
)) {
18263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18265 arg2
= static_cast< int >(val2
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 (arg1
)->SetBackgroundMode(arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_Py_Void();
18279 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
= 0;
18281 wxDC
*arg1
= (wxDC
*) 0 ;
18282 wxPalette
*arg2
= 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char * kwnames
[] = {
18290 (char *) "self",(char *) "palette", NULL
18293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18295 if (!SWIG_IsOK(res1
)) {
18296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18300 if (!SWIG_IsOK(res2
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18306 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_Py_Void();
18320 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18321 PyObject
*resultobj
= 0;
18322 wxDC
*arg1
= (wxDC
*) 0 ;
18325 PyObject
*swig_obj
[1] ;
18327 if (!args
) SWIG_fail
;
18328 swig_obj
[0] = args
;
18329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18330 if (!SWIG_IsOK(res1
)) {
18331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->DestroyClippingRegion();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_Py_Void();
18347 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18348 PyObject
*resultobj
= 0;
18349 wxDC
*arg1
= (wxDC
*) 0 ;
18350 int *arg2
= (int *) 0 ;
18351 int *arg3
= (int *) 0 ;
18352 int *arg4
= (int *) 0 ;
18353 int *arg5
= (int *) 0 ;
18357 int res2
= SWIG_TMPOBJ
;
18359 int res3
= SWIG_TMPOBJ
;
18361 int res4
= SWIG_TMPOBJ
;
18363 int res5
= SWIG_TMPOBJ
;
18364 PyObject
*swig_obj
[1] ;
18370 if (!args
) SWIG_fail
;
18371 swig_obj
[0] = args
;
18372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_Py_Void();
18384 if (SWIG_IsTmpObj(res2
)) {
18385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18387 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18390 if (SWIG_IsTmpObj(res3
)) {
18391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18393 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18396 if (SWIG_IsTmpObj(res4
)) {
18397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18399 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18402 if (SWIG_IsTmpObj(res5
)) {
18403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18405 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18414 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18415 PyObject
*resultobj
= 0;
18416 wxDC
*arg1
= (wxDC
*) 0 ;
18420 PyObject
*swig_obj
[1] ;
18422 if (!args
) SWIG_fail
;
18423 swig_obj
[0] = args
;
18424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18425 if (!SWIG_IsOK(res1
)) {
18426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= wxDC_GetClippingRect(arg1
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18442 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18443 PyObject
*resultobj
= 0;
18444 wxDC
*arg1
= (wxDC
*) 0 ;
18448 PyObject
*swig_obj
[1] ;
18450 if (!args
) SWIG_fail
;
18451 swig_obj
[0] = args
;
18452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18453 if (!SWIG_IsOK(res1
)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_From_int(static_cast< int >(result
));
18470 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18471 PyObject
*resultobj
= 0;
18472 wxDC
*arg1
= (wxDC
*) 0 ;
18476 PyObject
*swig_obj
[1] ;
18478 if (!args
) SWIG_fail
;
18479 swig_obj
[0] = args
;
18480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_From_int(static_cast< int >(result
));
18498 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
= 0;
18500 wxDC
*arg1
= (wxDC
*) 0 ;
18501 wxString
*arg2
= 0 ;
18502 int *arg3
= (int *) 0 ;
18503 int *arg4
= (int *) 0 ;
18506 bool temp2
= false ;
18508 int res3
= SWIG_TMPOBJ
;
18510 int res4
= SWIG_TMPOBJ
;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 char * kwnames
[] = {
18514 (char *) "self",(char *) "string", NULL
18519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18526 arg2
= wxString_in_helper(obj1
);
18527 if (arg2
== NULL
) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_Py_Void();
18537 if (SWIG_IsTmpObj(res3
)) {
18538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18540 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18543 if (SWIG_IsTmpObj(res4
)) {
18544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18546 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18563 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
= 0;
18565 wxDC
*arg1
= (wxDC
*) 0 ;
18566 wxString
*arg2
= 0 ;
18567 int *arg3
= (int *) 0 ;
18568 int *arg4
= (int *) 0 ;
18569 int *arg5
= (int *) 0 ;
18570 int *arg6
= (int *) 0 ;
18571 wxFont
*arg7
= (wxFont
*) NULL
;
18574 bool temp2
= false ;
18576 int res3
= SWIG_TMPOBJ
;
18578 int res4
= SWIG_TMPOBJ
;
18580 int res5
= SWIG_TMPOBJ
;
18582 int res6
= SWIG_TMPOBJ
;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 PyObject
* obj2
= 0 ;
18588 char * kwnames
[] = {
18589 (char *) "self",(char *) "string",(char *) "font", NULL
18596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18603 arg2
= wxString_in_helper(obj1
);
18604 if (arg2
== NULL
) SWIG_fail
;
18608 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18609 if (!SWIG_IsOK(res7
)) {
18610 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18612 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_Py_Void();
18621 if (SWIG_IsTmpObj(res3
)) {
18622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18624 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18627 if (SWIG_IsTmpObj(res4
)) {
18628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18630 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18633 if (SWIG_IsTmpObj(res5
)) {
18634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18636 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18639 if (SWIG_IsTmpObj(res6
)) {
18640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18642 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18659 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
= 0;
18661 wxDC
*arg1
= (wxDC
*) 0 ;
18662 wxString
*arg2
= 0 ;
18663 int *arg3
= (int *) 0 ;
18664 int *arg4
= (int *) 0 ;
18665 int *arg5
= (int *) 0 ;
18666 wxFont
*arg6
= (wxFont
*) NULL
;
18669 bool temp2
= false ;
18671 int res3
= SWIG_TMPOBJ
;
18673 int res4
= SWIG_TMPOBJ
;
18675 int res5
= SWIG_TMPOBJ
;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 PyObject
* obj2
= 0 ;
18681 char * kwnames
[] = {
18682 (char *) "self",(char *) "text",(char *) "font", NULL
18688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18690 if (!SWIG_IsOK(res1
)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18695 arg2
= wxString_in_helper(obj1
);
18696 if (arg2
== NULL
) SWIG_fail
;
18700 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18701 if (!SWIG_IsOK(res6
)) {
18702 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18704 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_Py_Void();
18713 if (SWIG_IsTmpObj(res3
)) {
18714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18716 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18719 if (SWIG_IsTmpObj(res4
)) {
18720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18722 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18725 if (SWIG_IsTmpObj(res5
)) {
18726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18728 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18745 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
= 0;
18747 wxDC
*arg1
= (wxDC
*) 0 ;
18748 wxString
*arg2
= 0 ;
18752 bool temp2
= false ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 char * kwnames
[] = {
18756 (char *) "self",(char *) "text", NULL
18759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18766 arg2
= wxString_in_helper(obj1
);
18767 if (arg2
== NULL
) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= PyList_New(0);
18779 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18780 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18781 PyList_Append(resultobj
, val
);
18799 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18800 PyObject
*resultobj
= 0;
18801 wxDC
*arg1
= (wxDC
*) 0 ;
18805 PyObject
*swig_obj
[1] ;
18807 if (!args
) SWIG_fail
;
18808 swig_obj
[0] = args
;
18809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (arg1
)->GetSize();
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18827 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18828 PyObject
*resultobj
= 0;
18829 wxDC
*arg1
= (wxDC
*) 0 ;
18830 int *arg2
= (int *) 0 ;
18831 int *arg3
= (int *) 0 ;
18835 int res2
= SWIG_TMPOBJ
;
18837 int res3
= SWIG_TMPOBJ
;
18838 PyObject
*swig_obj
[1] ;
18842 if (!args
) SWIG_fail
;
18843 swig_obj
[0] = args
;
18844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 (arg1
)->GetSize(arg2
,arg3
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_Py_Void();
18856 if (SWIG_IsTmpObj(res2
)) {
18857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18859 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18862 if (SWIG_IsTmpObj(res3
)) {
18863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18865 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18874 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18875 PyObject
*resultobj
= 0;
18876 wxDC
*arg1
= (wxDC
*) 0 ;
18880 PyObject
*swig_obj
[1] ;
18882 if (!args
) SWIG_fail
;
18883 swig_obj
[0] = args
;
18884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18885 if (!SWIG_IsOK(res1
)) {
18886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18902 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18903 PyObject
*resultobj
= 0;
18904 wxDC
*arg1
= (wxDC
*) 0 ;
18905 int *arg2
= (int *) 0 ;
18906 int *arg3
= (int *) 0 ;
18910 int res2
= SWIG_TMPOBJ
;
18912 int res3
= SWIG_TMPOBJ
;
18913 PyObject
*swig_obj
[1] ;
18917 if (!args
) SWIG_fail
;
18918 swig_obj
[0] = args
;
18919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18920 if (!SWIG_IsOK(res1
)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= SWIG_Py_Void();
18931 if (SWIG_IsTmpObj(res2
)) {
18932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18934 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18937 if (SWIG_IsTmpObj(res3
)) {
18938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18940 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18949 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
= 0;
18951 wxDC
*arg1
= (wxDC
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 char * kwnames
[] = {
18961 (char *) "self",(char *) "x", NULL
18964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18966 if (!SWIG_IsOK(res1
)) {
18967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18971 if (!SWIG_IsOK(ecode2
)) {
18972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18974 arg2
= static_cast< int >(val2
);
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 resultobj
= SWIG_From_int(static_cast< int >(result
));
18988 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
= 0;
18990 wxDC
*arg1
= (wxDC
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char * kwnames
[] = {
19000 (char *) "self",(char *) "y", NULL
19003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19005 if (!SWIG_IsOK(res1
)) {
19006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19010 if (!SWIG_IsOK(ecode2
)) {
19011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19013 arg2
= static_cast< int >(val2
);
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_From_int(static_cast< int >(result
));
19027 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
= 0;
19029 wxDC
*arg1
= (wxDC
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 PyObject
* obj1
= 0 ;
19038 char * kwnames
[] = {
19039 (char *) "self",(char *) "x", NULL
19042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19044 if (!SWIG_IsOK(res1
)) {
19045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19049 if (!SWIG_IsOK(ecode2
)) {
19050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19052 arg2
= static_cast< int >(val2
);
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= SWIG_From_int(static_cast< int >(result
));
19066 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= 0;
19068 wxDC
*arg1
= (wxDC
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char * kwnames
[] = {
19078 (char *) "self",(char *) "y", NULL
19081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19083 if (!SWIG_IsOK(res1
)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19088 if (!SWIG_IsOK(ecode2
)) {
19089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19091 arg2
= static_cast< int >(val2
);
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= SWIG_From_int(static_cast< int >(result
));
19105 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
= 0;
19107 wxDC
*arg1
= (wxDC
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char * kwnames
[] = {
19117 (char *) "self",(char *) "x", NULL
19120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",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_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
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_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19130 arg2
= static_cast< int >(val2
);
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_From_int(static_cast< int >(result
));
19144 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
= 0;
19146 wxDC
*arg1
= (wxDC
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char * kwnames
[] = {
19156 (char *) "self",(char *) "y", NULL
19159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19161 if (!SWIG_IsOK(res1
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19166 if (!SWIG_IsOK(ecode2
)) {
19167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19169 arg2
= static_cast< int >(val2
);
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= SWIG_From_int(static_cast< int >(result
));
19183 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
= 0;
19185 wxDC
*arg1
= (wxDC
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char * kwnames
[] = {
19195 (char *) "self",(char *) "x", NULL
19198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19200 if (!SWIG_IsOK(res1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19205 if (!SWIG_IsOK(ecode2
)) {
19206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19208 arg2
= static_cast< int >(val2
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_From_int(static_cast< int >(result
));
19222 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxDC
*arg1
= (wxDC
*) 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char * kwnames
[] = {
19234 (char *) "self",(char *) "y", NULL
19237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19244 if (!SWIG_IsOK(ecode2
)) {
19245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19247 arg2
= static_cast< int >(val2
);
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_From_int(static_cast< int >(result
));
19261 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19262 PyObject
*resultobj
= 0;
19263 wxDC
*arg1
= (wxDC
*) 0 ;
19267 PyObject
*swig_obj
[1] ;
19269 if (!args
) SWIG_fail
;
19270 swig_obj
[0] = args
;
19271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19272 if (!SWIG_IsOK(res1
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19291 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19292 PyObject
*resultobj
= 0;
19293 wxDC
*arg1
= (wxDC
*) 0 ;
19297 PyObject
*swig_obj
[1] ;
19299 if (!args
) SWIG_fail
;
19300 swig_obj
[0] = args
;
19301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19321 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19322 PyObject
*resultobj
= 0;
19323 wxDC
*arg1
= (wxDC
*) 0 ;
19327 PyObject
*swig_obj
[1] ;
19329 if (!args
) SWIG_fail
;
19330 swig_obj
[0] = args
;
19331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19332 if (!SWIG_IsOK(res1
)) {
19333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= SWIG_From_int(static_cast< int >(result
));
19349 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19350 PyObject
*resultobj
= 0;
19351 wxDC
*arg1
= (wxDC
*) 0 ;
19355 PyObject
*swig_obj
[1] ;
19357 if (!args
) SWIG_fail
;
19358 swig_obj
[0] = args
;
19359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19360 if (!SWIG_IsOK(res1
)) {
19361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= ((wxDC
const *)arg1
)->GetPPI();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19377 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19378 PyObject
*resultobj
= 0;
19379 wxDC
*arg1
= (wxDC
*) 0 ;
19383 PyObject
*swig_obj
[1] ;
19385 if (!args
) SWIG_fail
;
19386 swig_obj
[0] = args
;
19387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19388 if (!SWIG_IsOK(res1
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= (bool)((wxDC
const *)arg1
)->Ok();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19407 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19408 PyObject
*resultobj
= 0;
19409 wxDC
*arg1
= (wxDC
*) 0 ;
19413 PyObject
*swig_obj
[1] ;
19415 if (!args
) SWIG_fail
;
19416 swig_obj
[0] = args
;
19417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19418 if (!SWIG_IsOK(res1
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_From_int(static_cast< int >(result
));
19435 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19436 PyObject
*resultobj
= 0;
19437 wxDC
*arg1
= (wxDC
*) 0 ;
19438 wxBrush
*result
= 0 ;
19441 PyObject
*swig_obj
[1] ;
19443 if (!args
) SWIG_fail
;
19444 swig_obj
[0] = args
;
19445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19446 if (!SWIG_IsOK(res1
)) {
19447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19454 result
= (wxBrush
*) &_result_ref
;
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19460 wxBrush
* resultptr
= new wxBrush(*result
);
19461 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19469 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19470 PyObject
*resultobj
= 0;
19471 wxDC
*arg1
= (wxDC
*) 0 ;
19472 wxBrush
*result
= 0 ;
19475 PyObject
*swig_obj
[1] ;
19477 if (!args
) SWIG_fail
;
19478 swig_obj
[0] = args
;
19479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19488 result
= (wxBrush
*) &_result_ref
;
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19494 wxBrush
* resultptr
= new wxBrush(*result
);
19495 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19503 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19504 PyObject
*resultobj
= 0;
19505 wxDC
*arg1
= (wxDC
*) 0 ;
19506 wxFont
*result
= 0 ;
19509 PyObject
*swig_obj
[1] ;
19511 if (!args
) SWIG_fail
;
19512 swig_obj
[0] = args
;
19513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19514 if (!SWIG_IsOK(res1
)) {
19515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19522 result
= (wxFont
*) &_result_ref
;
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 wxFont
* resultptr
= new wxFont(*result
);
19529 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19537 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19538 PyObject
*resultobj
= 0;
19539 wxDC
*arg1
= (wxDC
*) 0 ;
19540 wxPen
*result
= 0 ;
19543 PyObject
*swig_obj
[1] ;
19545 if (!args
) SWIG_fail
;
19546 swig_obj
[0] = args
;
19547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19556 result
= (wxPen
*) &_result_ref
;
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19562 wxPen
* resultptr
= new wxPen(*result
);
19563 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19571 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19572 PyObject
*resultobj
= 0;
19573 wxDC
*arg1
= (wxDC
*) 0 ;
19574 wxColour
*result
= 0 ;
19577 PyObject
*swig_obj
[1] ;
19579 if (!args
) SWIG_fail
;
19580 swig_obj
[0] = args
;
19581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19582 if (!SWIG_IsOK(res1
)) {
19583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19590 result
= (wxColour
*) &_result_ref
;
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19602 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19603 PyObject
*resultobj
= 0;
19604 wxDC
*arg1
= (wxDC
*) 0 ;
19605 wxColour
*result
= 0 ;
19608 PyObject
*swig_obj
[1] ;
19610 if (!args
) SWIG_fail
;
19611 swig_obj
[0] = args
;
19612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19613 if (!SWIG_IsOK(res1
)) {
19614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19621 result
= (wxColour
*) &_result_ref
;
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19633 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
= 0;
19635 wxDC
*arg1
= (wxDC
*) 0 ;
19636 wxColour
*arg2
= 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char * kwnames
[] = {
19643 (char *) "self",(char *) "colour", NULL
19646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19648 if (!SWIG_IsOK(res1
)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19654 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_Py_Void();
19669 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
= 0;
19671 wxDC
*arg1
= (wxDC
*) 0 ;
19672 wxColour
*arg2
= 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 char * kwnames
[] = {
19679 (char *) "self",(char *) "colour", NULL
19682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_Py_Void();
19705 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19706 PyObject
*resultobj
= 0;
19707 wxDC
*arg1
= (wxDC
*) 0 ;
19711 PyObject
*swig_obj
[1] ;
19713 if (!args
) SWIG_fail
;
19714 swig_obj
[0] = args
;
19715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19716 if (!SWIG_IsOK(res1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_From_int(static_cast< int >(result
));
19733 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
= 0;
19735 wxDC
*arg1
= (wxDC
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "mode", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19754 if (!SWIG_IsOK(ecode2
)) {
19755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19757 arg2
= static_cast< int >(val2
);
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 (arg1
)->SetMapMode(arg2
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_Py_Void();
19771 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19772 PyObject
*resultobj
= 0;
19773 wxDC
*arg1
= (wxDC
*) 0 ;
19774 double *arg2
= (double *) 0 ;
19775 double *arg3
= (double *) 0 ;
19779 int res2
= SWIG_TMPOBJ
;
19781 int res3
= SWIG_TMPOBJ
;
19782 PyObject
*swig_obj
[1] ;
19786 if (!args
) SWIG_fail
;
19787 swig_obj
[0] = args
;
19788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_Py_Void();
19800 if (SWIG_IsTmpObj(res2
)) {
19801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19803 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19806 if (SWIG_IsTmpObj(res3
)) {
19807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19809 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19818 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
= 0;
19820 wxDC
*arg1
= (wxDC
*) 0 ;
19829 PyObject
* obj0
= 0 ;
19830 PyObject
* obj1
= 0 ;
19831 PyObject
* obj2
= 0 ;
19832 char * kwnames
[] = {
19833 (char *) "self",(char *) "x",(char *) "y", NULL
19836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19842 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19843 if (!SWIG_IsOK(ecode2
)) {
19844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19846 arg2
= static_cast< double >(val2
);
19847 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19848 if (!SWIG_IsOK(ecode3
)) {
19849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19851 arg3
= static_cast< double >(val3
);
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 (arg1
)->SetUserScale(arg2
,arg3
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= SWIG_Py_Void();
19865 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19866 PyObject
*resultobj
= 0;
19867 wxDC
*arg1
= (wxDC
*) 0 ;
19868 double *arg2
= (double *) 0 ;
19869 double *arg3
= (double *) 0 ;
19873 int res2
= SWIG_TMPOBJ
;
19875 int res3
= SWIG_TMPOBJ
;
19876 PyObject
*swig_obj
[1] ;
19880 if (!args
) SWIG_fail
;
19881 swig_obj
[0] = args
;
19882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 (arg1
)->GetLogicalScale(arg2
,arg3
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_Py_Void();
19894 if (SWIG_IsTmpObj(res2
)) {
19895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19897 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19900 if (SWIG_IsTmpObj(res3
)) {
19901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19903 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19912 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
= 0;
19914 wxDC
*arg1
= (wxDC
*) 0 ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 PyObject
* obj2
= 0 ;
19926 char * kwnames
[] = {
19927 (char *) "self",(char *) "x",(char *) "y", NULL
19930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19932 if (!SWIG_IsOK(res1
)) {
19933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19936 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19937 if (!SWIG_IsOK(ecode2
)) {
19938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19940 arg2
= static_cast< double >(val2
);
19941 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19942 if (!SWIG_IsOK(ecode3
)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19945 arg3
= static_cast< double >(val3
);
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->SetLogicalScale(arg2
,arg3
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_Py_Void();
19959 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19960 PyObject
*resultobj
= 0;
19961 wxDC
*arg1
= (wxDC
*) 0 ;
19965 PyObject
*swig_obj
[1] ;
19967 if (!args
) SWIG_fail
;
19968 swig_obj
[0] = args
;
19969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19970 if (!SWIG_IsOK(res1
)) {
19971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19987 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19988 PyObject
*resultobj
= 0;
19989 wxDC
*arg1
= (wxDC
*) 0 ;
19990 int *arg2
= (int *) 0 ;
19991 int *arg3
= (int *) 0 ;
19995 int res2
= SWIG_TMPOBJ
;
19997 int res3
= SWIG_TMPOBJ
;
19998 PyObject
*swig_obj
[1] ;
20002 if (!args
) SWIG_fail
;
20003 swig_obj
[0] = args
;
20004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_Py_Void();
20016 if (SWIG_IsTmpObj(res2
)) {
20017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20019 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20022 if (SWIG_IsTmpObj(res3
)) {
20023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20025 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20034 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
= 0;
20036 wxDC
*arg1
= (wxDC
*) 0 ;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 PyObject
* obj2
= 0 ;
20048 char * kwnames
[] = {
20049 (char *) "self",(char *) "x",(char *) "y", NULL
20052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20054 if (!SWIG_IsOK(res1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20059 if (!SWIG_IsOK(ecode2
)) {
20060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20062 arg2
= static_cast< int >(val2
);
20063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20064 if (!SWIG_IsOK(ecode3
)) {
20065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20067 arg3
= static_cast< int >(val3
);
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= SWIG_Py_Void();
20081 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
= 0;
20083 wxDC
*arg1
= (wxDC
*) 0 ;
20084 wxPoint
*arg2
= 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 char * kwnames
[] = {
20091 (char *) "self",(char *) "point", NULL
20094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) 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_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= SWIG_Py_Void();
20117 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20118 PyObject
*resultobj
= 0;
20119 wxDC
*arg1
= (wxDC
*) 0 ;
20123 PyObject
*swig_obj
[1] ;
20125 if (!args
) SWIG_fail
;
20126 swig_obj
[0] = args
;
20127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20128 if (!SWIG_IsOK(res1
)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20145 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20146 PyObject
*resultobj
= 0;
20147 wxDC
*arg1
= (wxDC
*) 0 ;
20148 int *arg2
= (int *) 0 ;
20149 int *arg3
= (int *) 0 ;
20153 int res2
= SWIG_TMPOBJ
;
20155 int res3
= SWIG_TMPOBJ
;
20156 PyObject
*swig_obj
[1] ;
20160 if (!args
) SWIG_fail
;
20161 swig_obj
[0] = args
;
20162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20163 if (!SWIG_IsOK(res1
)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= SWIG_Py_Void();
20174 if (SWIG_IsTmpObj(res2
)) {
20175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20177 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20180 if (SWIG_IsTmpObj(res3
)) {
20181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20183 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20192 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxDC
*arg1
= (wxDC
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 PyObject
* obj2
= 0 ;
20206 char * kwnames
[] = {
20207 (char *) "self",(char *) "x",(char *) "y", NULL
20210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20212 if (!SWIG_IsOK(res1
)) {
20213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20217 if (!SWIG_IsOK(ecode2
)) {
20218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20220 arg2
= static_cast< int >(val2
);
20221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20222 if (!SWIG_IsOK(ecode3
)) {
20223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20225 arg3
= static_cast< int >(val3
);
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_Py_Void();
20239 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
= 0;
20241 wxDC
*arg1
= (wxDC
*) 0 ;
20242 wxPoint
*arg2
= 0 ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char * kwnames
[] = {
20249 (char *) "self",(char *) "point", NULL
20252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_Py_Void();
20275 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
= 0;
20277 wxDC
*arg1
= (wxDC
*) 0 ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 PyObject
* obj2
= 0 ;
20289 char * kwnames
[] = {
20290 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20295 if (!SWIG_IsOK(res1
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20300 if (!SWIG_IsOK(ecode2
)) {
20301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20303 arg2
= static_cast< bool >(val2
);
20304 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20305 if (!SWIG_IsOK(ecode3
)) {
20306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20308 arg3
= static_cast< bool >(val3
);
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= SWIG_Py_Void();
20322 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20323 PyObject
*resultobj
= 0;
20324 wxDC
*arg1
= (wxDC
*) 0 ;
20328 PyObject
*swig_obj
[1] ;
20330 if (!args
) SWIG_fail
;
20331 swig_obj
[0] = args
;
20332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20333 if (!SWIG_IsOK(res1
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= SWIG_From_int(static_cast< int >(result
));
20350 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
= 0;
20352 wxDC
*arg1
= (wxDC
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char * kwnames
[] = {
20361 (char *) "self",(char *) "function", NULL
20364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20366 if (!SWIG_IsOK(res1
)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20371 if (!SWIG_IsOK(ecode2
)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20374 arg2
= static_cast< int >(val2
);
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 (arg1
)->SetLogicalFunction(arg2
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_Py_Void();
20388 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20389 PyObject
*resultobj
= 0;
20390 wxDC
*arg1
= (wxDC
*) 0 ;
20393 PyObject
*swig_obj
[1] ;
20395 if (!args
) SWIG_fail
;
20396 swig_obj
[0] = args
;
20397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20398 if (!SWIG_IsOK(res1
)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 (arg1
)->ComputeScaleAndOrigin();
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= SWIG_Py_Void();
20415 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
= 0;
20417 wxDC
*arg1
= (wxDC
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 PyObject
* obj1
= 0 ;
20428 PyObject
* obj2
= 0 ;
20429 char * kwnames
[] = {
20430 (char *) "self",(char *) "x",(char *) "y", NULL
20433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20435 if (!SWIG_IsOK(res1
)) {
20436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20440 if (!SWIG_IsOK(ecode2
)) {
20441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20443 arg2
= static_cast< int >(val2
);
20444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20445 if (!SWIG_IsOK(ecode3
)) {
20446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20448 arg3
= static_cast< int >(val3
);
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= SWIG_Py_Void();
20462 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
= 0;
20464 wxDC
*arg1
= (wxDC
*) 0 ;
20465 wxPoint
*arg2
= 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char * kwnames
[] = {
20472 (char *) "self",(char *) "point", NULL
20475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20477 if (!SWIG_IsOK(res1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_Py_Void();
20498 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20499 PyObject
*resultobj
= 0;
20500 wxDC
*arg1
= (wxDC
*) 0 ;
20503 PyObject
*swig_obj
[1] ;
20505 if (!args
) SWIG_fail
;
20506 swig_obj
[0] = args
;
20507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20508 if (!SWIG_IsOK(res1
)) {
20509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->ResetBoundingBox();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_Py_Void();
20525 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20526 PyObject
*resultobj
= 0;
20527 wxDC
*arg1
= (wxDC
*) 0 ;
20531 PyObject
*swig_obj
[1] ;
20533 if (!args
) SWIG_fail
;
20534 swig_obj
[0] = args
;
20535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20536 if (!SWIG_IsOK(res1
)) {
20537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (int)((wxDC
const *)arg1
)->MinX();
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_From_int(static_cast< int >(result
));
20553 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20554 PyObject
*resultobj
= 0;
20555 wxDC
*arg1
= (wxDC
*) 0 ;
20559 PyObject
*swig_obj
[1] ;
20561 if (!args
) SWIG_fail
;
20562 swig_obj
[0] = args
;
20563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20564 if (!SWIG_IsOK(res1
)) {
20565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (int)((wxDC
const *)arg1
)->MaxX();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= SWIG_From_int(static_cast< int >(result
));
20581 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20582 PyObject
*resultobj
= 0;
20583 wxDC
*arg1
= (wxDC
*) 0 ;
20587 PyObject
*swig_obj
[1] ;
20589 if (!args
) SWIG_fail
;
20590 swig_obj
[0] = args
;
20591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20592 if (!SWIG_IsOK(res1
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (int)((wxDC
const *)arg1
)->MinY();
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_From_int(static_cast< int >(result
));
20609 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20610 PyObject
*resultobj
= 0;
20611 wxDC
*arg1
= (wxDC
*) 0 ;
20615 PyObject
*swig_obj
[1] ;
20617 if (!args
) SWIG_fail
;
20618 swig_obj
[0] = args
;
20619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (int)((wxDC
const *)arg1
)->MaxY();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_From_int(static_cast< int >(result
));
20637 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20638 PyObject
*resultobj
= 0;
20639 wxDC
*arg1
= (wxDC
*) 0 ;
20640 int *arg2
= (int *) 0 ;
20641 int *arg3
= (int *) 0 ;
20642 int *arg4
= (int *) 0 ;
20643 int *arg5
= (int *) 0 ;
20647 int res2
= SWIG_TMPOBJ
;
20649 int res3
= SWIG_TMPOBJ
;
20651 int res4
= SWIG_TMPOBJ
;
20653 int res5
= SWIG_TMPOBJ
;
20654 PyObject
*swig_obj
[1] ;
20660 if (!args
) SWIG_fail
;
20661 swig_obj
[0] = args
;
20662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20663 if (!SWIG_IsOK(res1
)) {
20664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_Py_Void();
20674 if (SWIG_IsTmpObj(res2
)) {
20675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20677 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20680 if (SWIG_IsTmpObj(res3
)) {
20681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20683 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20686 if (SWIG_IsTmpObj(res4
)) {
20687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20689 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20692 if (SWIG_IsTmpObj(res5
)) {
20693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20695 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20704 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20705 PyObject
*resultobj
= 0;
20706 wxDC
*arg1
= (wxDC
*) 0 ;
20710 PyObject
*swig_obj
[1] ;
20712 if (!args
) SWIG_fail
;
20713 swig_obj
[0] = args
;
20714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (long)(arg1
)->GetHDC();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= SWIG_From_long(static_cast< long >(result
));
20732 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
= 0;
20734 wxDC
*arg1
= (wxDC
*) 0 ;
20735 PyObject
*arg2
= (PyObject
*) 0 ;
20736 PyObject
*arg3
= (PyObject
*) 0 ;
20737 PyObject
*arg4
= (PyObject
*) 0 ;
20738 PyObject
*result
= 0 ;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 PyObject
* obj2
= 0 ;
20744 PyObject
* obj3
= 0 ;
20745 char * kwnames
[] = {
20746 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20751 if (!SWIG_IsOK(res1
)) {
20752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= result
;
20771 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
= 0;
20773 wxDC
*arg1
= (wxDC
*) 0 ;
20774 PyObject
*arg2
= (PyObject
*) 0 ;
20775 PyObject
*arg3
= (PyObject
*) 0 ;
20776 PyObject
*arg4
= (PyObject
*) 0 ;
20777 PyObject
*result
= 0 ;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 PyObject
* obj2
= 0 ;
20783 PyObject
* obj3
= 0 ;
20784 char * kwnames
[] = {
20785 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= result
;
20810 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= 0;
20812 wxDC
*arg1
= (wxDC
*) 0 ;
20813 PyObject
*arg2
= (PyObject
*) 0 ;
20814 PyObject
*arg3
= (PyObject
*) 0 ;
20815 PyObject
*arg4
= (PyObject
*) 0 ;
20816 PyObject
*result
= 0 ;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 PyObject
* obj2
= 0 ;
20822 PyObject
* obj3
= 0 ;
20823 char * kwnames
[] = {
20824 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= result
;
20849 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
= 0;
20851 wxDC
*arg1
= (wxDC
*) 0 ;
20852 PyObject
*arg2
= (PyObject
*) 0 ;
20853 PyObject
*arg3
= (PyObject
*) 0 ;
20854 PyObject
*arg4
= (PyObject
*) 0 ;
20855 PyObject
*result
= 0 ;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 PyObject
* obj2
= 0 ;
20861 PyObject
* obj3
= 0 ;
20862 char * kwnames
[] = {
20863 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20868 if (!SWIG_IsOK(res1
)) {
20869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= result
;
20888 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
= 0;
20890 wxDC
*arg1
= (wxDC
*) 0 ;
20891 PyObject
*arg2
= (PyObject
*) 0 ;
20892 PyObject
*arg3
= (PyObject
*) 0 ;
20893 PyObject
*arg4
= (PyObject
*) 0 ;
20894 PyObject
*result
= 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 PyObject
* obj2
= 0 ;
20900 PyObject
* obj3
= 0 ;
20901 char * kwnames
[] = {
20902 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= result
;
20927 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
= 0;
20929 wxDC
*arg1
= (wxDC
*) 0 ;
20930 PyObject
*arg2
= (PyObject
*) 0 ;
20931 PyObject
*arg3
= (PyObject
*) 0 ;
20932 PyObject
*arg4
= (PyObject
*) 0 ;
20933 PyObject
*arg5
= (PyObject
*) 0 ;
20934 PyObject
*result
= 0 ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 PyObject
* obj3
= 0 ;
20941 PyObject
* obj4
= 0 ;
20942 char * kwnames
[] = {
20943 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20948 if (!SWIG_IsOK(res1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= result
;
20969 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20972 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20973 return SWIG_Py_Void();
20976 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20977 PyObject
*resultobj
= 0;
20978 wxMemoryDC
*result
= 0 ;
20980 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20982 if (!wxPyCheckForApp()) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxMemoryDC
*)new wxMemoryDC();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20995 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
= 0;
20997 wxDC
*arg1
= (wxDC
*) 0 ;
20998 wxMemoryDC
*result
= 0 ;
21001 PyObject
* obj0
= 0 ;
21002 char * kwnames
[] = {
21003 (char *) "oldDC", NULL
21006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21008 if (!SWIG_IsOK(res1
)) {
21009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21013 if (!wxPyCheckForApp()) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21026 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
= 0;
21028 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21029 wxBitmap
*arg2
= 0 ;
21034 PyObject
* obj0
= 0 ;
21035 PyObject
* obj1
= 0 ;
21036 char * kwnames
[] = {
21037 (char *) "self",(char *) "bitmap", NULL
21040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21042 if (!SWIG_IsOK(res1
)) {
21043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21045 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21047 if (!SWIG_IsOK(res2
)) {
21048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21053 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_Py_Void();
21067 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21070 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21071 return SWIG_Py_Void();
21074 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21075 return SWIG_Python_InitShadowInstance(args
);
21078 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21079 PyObject
*resultobj
= 0;
21080 wxDC
*arg1
= (wxDC
*) 0 ;
21081 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21082 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21083 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21084 wxBufferedDC
*result
= 0 ;
21092 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21099 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21100 if (!SWIG_IsOK(res2
)) {
21101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21106 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21109 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21110 if (!SWIG_IsOK(ecode3
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21113 arg3
= static_cast< int >(val3
);
21116 if (!wxPyCheckForApp()) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21129 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21130 PyObject
*resultobj
= 0;
21131 wxDC
*arg1
= (wxDC
*) 0 ;
21133 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21134 wxBufferedDC
*result
= 0 ;
21141 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21143 if (!SWIG_IsOK(res1
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21149 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21152 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21153 if (!SWIG_IsOK(ecode3
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21156 arg3
= static_cast< int >(val3
);
21159 if (!wxPyCheckForApp()) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21172 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21176 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21178 if ((argc
>= 1) && (argc
<= 3)) {
21182 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21183 _v
= SWIG_CheckState(res
);
21185 if (!_v
) goto check_1
;
21187 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21191 if ((argc
>= 2) && (argc
<= 3)) {
21192 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21196 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21201 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21202 PyObject
*resultobj
= 0;
21203 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21206 PyObject
*swig_obj
[1] ;
21208 if (!args
) SWIG_fail
;
21209 swig_obj
[0] = args
;
21210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21214 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= SWIG_Py_Void();
21229 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21230 PyObject
*resultobj
= 0;
21231 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21234 PyObject
*swig_obj
[1] ;
21236 if (!args
) SWIG_fail
;
21237 swig_obj
[0] = args
;
21238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21239 if (!SWIG_IsOK(res1
)) {
21240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21242 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_Py_Void();
21256 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21259 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21260 return SWIG_Py_Void();
21263 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21264 return SWIG_Python_InitShadowInstance(args
);
21267 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
= 0;
21269 wxWindow
*arg1
= (wxWindow
*) 0 ;
21270 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21271 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21272 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21273 wxBufferedPaintDC
*result
= 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 PyObject
* obj2
= 0 ;
21283 char * kwnames
[] = {
21284 (char *) "window",(char *) "buffer",(char *) "style", NULL
21287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21295 if (!SWIG_IsOK(res2
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21301 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21305 if (!SWIG_IsOK(ecode3
)) {
21306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21308 arg3
= static_cast< int >(val3
);
21311 if (!wxPyCheckForApp()) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21324 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21327 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21328 return SWIG_Py_Void();
21331 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21332 return SWIG_Python_InitShadowInstance(args
);
21335 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21336 PyObject
*resultobj
= 0;
21337 wxScreenDC
*result
= 0 ;
21339 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21341 if (!wxPyCheckForApp()) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= (wxScreenDC
*)new wxScreenDC();
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21354 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
= 0;
21356 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21357 wxWindow
*arg2
= (wxWindow
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 PyObject
* obj1
= 0 ;
21365 char * kwnames
[] = {
21366 (char *) "self",(char *) "window", NULL
21369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21374 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21376 if (!SWIG_IsOK(res2
)) {
21377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
= 0;
21397 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21398 wxRect
*arg2
= (wxRect
*) NULL
;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char * kwnames
[] = {
21407 (char *) "self",(char *) "rect", NULL
21410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21412 if (!SWIG_IsOK(res1
)) {
21413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21415 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21418 if (!SWIG_IsOK(res2
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21421 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21438 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21439 PyObject
*resultobj
= 0;
21440 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21444 PyObject
*swig_obj
[1] ;
21446 if (!args
) SWIG_fail
;
21447 swig_obj
[0] = args
;
21448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21449 if (!SWIG_IsOK(res1
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21452 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (bool)(arg1
)->EndDrawingOnTop();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21468 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21471 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21472 return SWIG_Py_Void();
21475 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21476 return SWIG_Python_InitShadowInstance(args
);
21479 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
= 0;
21481 wxWindow
*arg1
= (wxWindow
*) 0 ;
21482 wxClientDC
*result
= 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char * kwnames
[] = {
21487 (char *) "win", NULL
21490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21492 if (!SWIG_IsOK(res1
)) {
21493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21497 if (!wxPyCheckForApp()) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (wxClientDC
*)new wxClientDC(arg1
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21510 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21513 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21514 return SWIG_Py_Void();
21517 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21518 return SWIG_Python_InitShadowInstance(args
);
21521 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
= 0;
21523 wxWindow
*arg1
= (wxWindow
*) 0 ;
21524 wxPaintDC
*result
= 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char * kwnames
[] = {
21529 (char *) "win", NULL
21532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21539 if (!wxPyCheckForApp()) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21552 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21555 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21556 return SWIG_Py_Void();
21559 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21560 return SWIG_Python_InitShadowInstance(args
);
21563 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
= 0;
21565 wxWindow
*arg1
= (wxWindow
*) 0 ;
21566 wxWindowDC
*result
= 0 ;
21569 PyObject
* obj0
= 0 ;
21570 char * kwnames
[] = {
21571 (char *) "win", NULL
21574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21576 if (!SWIG_IsOK(res1
)) {
21577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21581 if (!wxPyCheckForApp()) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21594 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21597 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21598 return SWIG_Py_Void();
21601 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 return SWIG_Python_InitShadowInstance(args
);
21605 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
= 0;
21609 wxMirrorDC
*result
= 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 char * kwnames
[] = {
21617 (char *) "dc",(char *) "mirror", NULL
21620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21621 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21622 if (!SWIG_IsOK(res1
)) {
21623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21629 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21630 if (!SWIG_IsOK(ecode2
)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21633 arg2
= static_cast< bool >(val2
);
21635 if (!wxPyCheckForApp()) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21648 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21651 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21652 return SWIG_Py_Void();
21655 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21656 return SWIG_Python_InitShadowInstance(args
);
21659 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
= 0;
21661 wxPrintData
*arg1
= 0 ;
21662 wxPostScriptDC
*result
= 0 ;
21665 PyObject
* obj0
= 0 ;
21666 char * kwnames
[] = {
21667 (char *) "printData", NULL
21670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21671 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21672 if (!SWIG_IsOK(res1
)) {
21673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21678 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21680 if (!wxPyCheckForApp()) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21693 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21694 PyObject
*resultobj
= 0;
21695 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21696 wxPrintData
*result
= 0 ;
21699 PyObject
*swig_obj
[1] ;
21701 if (!args
) SWIG_fail
;
21702 swig_obj
[0] = args
;
21703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21704 if (!SWIG_IsOK(res1
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21707 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21712 result
= (wxPrintData
*) &_result_ref
;
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21724 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
= 0;
21726 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21727 wxPrintData
*arg2
= 0 ;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 char * kwnames
[] = {
21735 (char *) "self",(char *) "data", NULL
21738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21740 if (!SWIG_IsOK(res1
)) {
21741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21743 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21745 if (!SWIG_IsOK(res2
)) {
21746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21751 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= SWIG_Py_Void();
21765 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= 0;
21770 PyObject
* obj0
= 0 ;
21771 char * kwnames
[] = {
21772 (char *) "ppi", NULL
21775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21777 if (!SWIG_IsOK(ecode1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21780 arg1
= static_cast< int >(val1
);
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 wxPostScriptDC::SetResolution(arg1
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_Py_Void();
21794 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21795 PyObject
*resultobj
= 0;
21798 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (int)wxPostScriptDC::GetResolution();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= SWIG_From_int(static_cast< int >(result
));
21812 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21815 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21816 return SWIG_Py_Void();
21819 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21820 return SWIG_Python_InitShadowInstance(args
);
21823 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= 0;
21825 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21826 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21827 wxMetaFile
*result
= 0 ;
21828 bool temp1
= false ;
21829 PyObject
* obj0
= 0 ;
21830 char * kwnames
[] = {
21831 (char *) "filename", NULL
21834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21837 arg1
= wxString_in_helper(obj0
);
21838 if (arg1
== NULL
) SWIG_fail
;
21843 if (!wxPyCheckForApp()) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21864 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21865 PyObject
*resultobj
= 0;
21866 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21869 PyObject
*swig_obj
[1] ;
21871 if (!args
) SWIG_fail
;
21872 swig_obj
[0] = args
;
21873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21874 if (!SWIG_IsOK(res1
)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21877 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 resultobj
= SWIG_Py_Void();
21892 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21893 PyObject
*resultobj
= 0;
21894 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21898 PyObject
*swig_obj
[1] ;
21900 if (!args
) SWIG_fail
;
21901 swig_obj
[0] = args
;
21902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21903 if (!SWIG_IsOK(res1
)) {
21904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21906 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (bool)(arg1
)->Ok();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21922 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
= 0;
21924 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21925 int arg2
= (int) 0 ;
21926 int arg3
= (int) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 char * kwnames
[] = {
21938 (char *) "self",(char *) "width",(char *) "height", NULL
21941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21946 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21949 if (!SWIG_IsOK(ecode2
)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21952 arg2
= static_cast< int >(val2
);
21955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21956 if (!SWIG_IsOK(ecode3
)) {
21957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21959 arg3
= static_cast< int >(val3
);
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21976 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21977 PyObject
*resultobj
= 0;
21978 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21982 PyObject
*swig_obj
[1] ;
21984 if (!args
) SWIG_fail
;
21985 swig_obj
[0] = args
;
21986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21990 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (arg1
)->GetSize();
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22004 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22005 PyObject
*resultobj
= 0;
22006 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22010 PyObject
*swig_obj
[1] ;
22012 if (!args
) SWIG_fail
;
22013 swig_obj
[0] = args
;
22014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22018 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (int)(arg1
)->GetWidth();
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_From_int(static_cast< int >(result
));
22032 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22033 PyObject
*resultobj
= 0;
22034 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22038 PyObject
*swig_obj
[1] ;
22040 if (!args
) SWIG_fail
;
22041 swig_obj
[0] = args
;
22042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22043 if (!SWIG_IsOK(res1
)) {
22044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22046 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (int)(arg1
)->GetHeight();
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_From_int(static_cast< int >(result
));
22060 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22061 PyObject
*resultobj
= 0;
22062 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22063 wxString
*result
= 0 ;
22066 PyObject
*swig_obj
[1] ;
22068 if (!args
) SWIG_fail
;
22069 swig_obj
[0] = args
;
22070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22074 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22079 result
= (wxString
*) &_result_ref
;
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22088 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22097 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22100 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22101 return SWIG_Py_Void();
22104 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22105 return SWIG_Python_InitShadowInstance(args
);
22108 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
= 0;
22110 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22111 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22112 int arg2
= (int) 0 ;
22113 int arg3
= (int) 0 ;
22114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22116 wxMetaFileDC
*result
= 0 ;
22117 bool temp1
= false ;
22122 bool temp4
= false ;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 PyObject
* obj2
= 0 ;
22126 PyObject
* obj3
= 0 ;
22127 char * kwnames
[] = {
22128 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22134 arg1
= wxString_in_helper(obj0
);
22135 if (arg1
== NULL
) SWIG_fail
;
22140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22141 if (!SWIG_IsOK(ecode2
)) {
22142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22144 arg2
= static_cast< int >(val2
);
22147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22148 if (!SWIG_IsOK(ecode3
)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22151 arg3
= static_cast< int >(val3
);
22155 arg4
= wxString_in_helper(obj3
);
22156 if (arg4
== NULL
) SWIG_fail
;
22161 if (!wxPyCheckForApp()) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22190 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22191 PyObject
*resultobj
= 0;
22192 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22193 wxMetaFile
*result
= 0 ;
22196 PyObject
*swig_obj
[1] ;
22198 if (!args
) SWIG_fail
;
22199 swig_obj
[0] = args
;
22200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22204 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (wxMetaFile
*)(arg1
)->Close();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22218 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22221 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22222 return SWIG_Py_Void();
22225 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22226 return SWIG_Python_InitShadowInstance(args
);
22229 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
= 0;
22231 wxPrintData
*arg1
= 0 ;
22232 wxPrinterDC
*result
= 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "printData", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22248 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22250 if (!wxPyCheckForApp()) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22263 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22266 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22267 return SWIG_Py_Void();
22270 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22271 return SWIG_Python_InitShadowInstance(args
);
22274 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
= 0;
22278 int arg3
= (int) true ;
22279 int arg4
= (int) 1 ;
22280 wxImageList
*result
= 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 PyObject
* obj3
= 0 ;
22293 char * kwnames
[] = {
22294 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22298 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22299 if (!SWIG_IsOK(ecode1
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22302 arg1
= static_cast< int >(val1
);
22303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22304 if (!SWIG_IsOK(ecode2
)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22307 arg2
= static_cast< int >(val2
);
22309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22310 if (!SWIG_IsOK(ecode3
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22313 arg3
= static_cast< int >(val3
);
22316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22317 if (!SWIG_IsOK(ecode4
)) {
22318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22320 arg4
= static_cast< int >(val4
);
22323 if (!wxPyCheckForApp()) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22338 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22339 PyObject
*resultobj
= 0;
22340 wxImageList
*arg1
= (wxImageList
*) 0 ;
22343 PyObject
*swig_obj
[1] ;
22345 if (!args
) SWIG_fail
;
22346 swig_obj
[0] = args
;
22347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22351 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_Py_Void();
22366 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
= 0;
22368 wxImageList
*arg1
= (wxImageList
*) 0 ;
22369 wxBitmap
*arg2
= 0 ;
22370 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22371 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 PyObject
* obj2
= 0 ;
22382 char * kwnames
[] = {
22383 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22388 if (!SWIG_IsOK(res1
)) {
22389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22391 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22393 if (!SWIG_IsOK(res2
)) {
22394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22399 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22402 if (!SWIG_IsOK(res3
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22408 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_From_int(static_cast< int >(result
));
22423 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
= 0;
22425 wxImageList
*arg1
= (wxImageList
*) 0 ;
22426 wxBitmap
*arg2
= 0 ;
22427 wxColour
*arg3
= 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 PyObject
* obj2
= 0 ;
22437 char * kwnames
[] = {
22438 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22446 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22448 if (!SWIG_IsOK(res2
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22454 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22457 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= SWIG_From_int(static_cast< int >(result
));
22472 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
= 0;
22474 wxImageList
*arg1
= (wxImageList
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char * kwnames
[] = {
22484 (char *) "self",(char *) "icon", NULL
22487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22492 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22494 if (!SWIG_IsOK(res2
)) {
22495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22500 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= SWIG_From_int(static_cast< int >(result
));
22514 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
= 0;
22516 wxImageList
*arg1
= (wxImageList
*) 0 ;
22518 SwigValueWrapper
<wxBitmap
> result
;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char * kwnames
[] = {
22526 (char *) "self",(char *) "index", NULL
22529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22534 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22536 if (!SWIG_IsOK(ecode2
)) {
22537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22539 arg2
= static_cast< int >(val2
);
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22553 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
= 0;
22555 wxImageList
*arg1
= (wxImageList
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char * kwnames
[] = {
22565 (char *) "self",(char *) "index", NULL
22568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22570 if (!SWIG_IsOK(res1
)) {
22571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22573 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22575 if (!SWIG_IsOK(ecode2
)) {
22576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22578 arg2
= static_cast< int >(val2
);
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22592 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
= 0;
22594 wxImageList
*arg1
= (wxImageList
*) 0 ;
22596 wxBitmap
*arg3
= 0 ;
22597 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22598 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 PyObject
* obj2
= 0 ;
22611 PyObject
* obj3
= 0 ;
22612 char * kwnames
[] = {
22613 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22618 if (!SWIG_IsOK(res1
)) {
22619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22621 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22623 if (!SWIG_IsOK(ecode2
)) {
22624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22626 arg2
= static_cast< int >(val2
);
22627 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22628 if (!SWIG_IsOK(res3
)) {
22629 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22634 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22636 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22637 if (!SWIG_IsOK(res4
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22643 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22660 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
= 0;
22662 wxImageList
*arg1
= (wxImageList
*) 0 ;
22667 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22668 bool arg7
= (bool) (bool)false ;
22684 PyObject
* obj0
= 0 ;
22685 PyObject
* obj1
= 0 ;
22686 PyObject
* obj2
= 0 ;
22687 PyObject
* obj3
= 0 ;
22688 PyObject
* obj4
= 0 ;
22689 PyObject
* obj5
= 0 ;
22690 PyObject
* obj6
= 0 ;
22691 char * kwnames
[] = {
22692 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22697 if (!SWIG_IsOK(res1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22700 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22702 if (!SWIG_IsOK(ecode2
)) {
22703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22705 arg2
= static_cast< int >(val2
);
22706 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22707 if (!SWIG_IsOK(res3
)) {
22708 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22713 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22715 if (!SWIG_IsOK(ecode4
)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22718 arg4
= static_cast< int >(val4
);
22719 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22720 if (!SWIG_IsOK(ecode5
)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22723 arg5
= static_cast< int >(val5
);
22725 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22726 if (!SWIG_IsOK(ecode6
)) {
22727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22729 arg6
= static_cast< int >(val6
);
22732 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22733 if (!SWIG_IsOK(ecode7
)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22736 arg7
= static_cast< bool >(val7
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22753 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22754 PyObject
*resultobj
= 0;
22755 wxImageList
*arg1
= (wxImageList
*) 0 ;
22759 PyObject
*swig_obj
[1] ;
22761 if (!args
) SWIG_fail
;
22762 swig_obj
[0] = args
;
22763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22764 if (!SWIG_IsOK(res1
)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22767 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (int)(arg1
)->GetImageCount();
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_From_int(static_cast< int >(result
));
22781 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
= 0;
22783 wxImageList
*arg1
= (wxImageList
*) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 char * kwnames
[] = {
22793 (char *) "self",(char *) "index", NULL
22796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22798 if (!SWIG_IsOK(res1
)) {
22799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22801 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22803 if (!SWIG_IsOK(ecode2
)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22806 arg2
= static_cast< int >(val2
);
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (bool)(arg1
)->Remove(arg2
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22823 PyObject
*resultobj
= 0;
22824 wxImageList
*arg1
= (wxImageList
*) 0 ;
22828 PyObject
*swig_obj
[1] ;
22830 if (!args
) SWIG_fail
;
22831 swig_obj
[0] = args
;
22832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22836 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (bool)(arg1
)->RemoveAll();
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22852 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
= 0;
22854 wxImageList
*arg1
= (wxImageList
*) 0 ;
22863 int res3
= SWIG_TMPOBJ
;
22865 int res4
= SWIG_TMPOBJ
;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char * kwnames
[] = {
22869 (char *) "self",(char *) "index", NULL
22874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22879 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22881 if (!SWIG_IsOK(ecode2
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22884 arg2
= static_cast< int >(val2
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_Py_Void();
22892 if (SWIG_IsTmpObj(res3
)) {
22893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22898 if (SWIG_IsTmpObj(res4
)) {
22899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22901 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22910 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22913 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22914 return SWIG_Py_Void();
22917 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 return SWIG_Python_InitShadowInstance(args
);
22921 SWIGINTERN
int NORMAL_FONT_set(PyObject
*) {
22922 SWIG_Error(SWIG_AttributeError
,"Variable NORMAL_FONT is read-only.");
22927 SWIGINTERN PyObject
*NORMAL_FONT_get(void) {
22928 PyObject
*pyobj
= 0;
22930 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22935 SWIGINTERN
int SMALL_FONT_set(PyObject
*) {
22936 SWIG_Error(SWIG_AttributeError
,"Variable SMALL_FONT is read-only.");
22941 SWIGINTERN PyObject
*SMALL_FONT_get(void) {
22942 PyObject
*pyobj
= 0;
22944 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22949 SWIGINTERN
int ITALIC_FONT_set(PyObject
*) {
22950 SWIG_Error(SWIG_AttributeError
,"Variable ITALIC_FONT is read-only.");
22955 SWIGINTERN PyObject
*ITALIC_FONT_get(void) {
22956 PyObject
*pyobj
= 0;
22958 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0 );
22963 SWIGINTERN
int SWISS_FONT_set(PyObject
*) {
22964 SWIG_Error(SWIG_AttributeError
,"Variable SWISS_FONT is read-only.");
22969 SWIGINTERN PyObject
*SWISS_FONT_get(void) {
22970 PyObject
*pyobj
= 0;
22972 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0 );
22977 SWIGINTERN
int RED_PEN_set(PyObject
*) {
22978 SWIG_Error(SWIG_AttributeError
,"Variable RED_PEN is read-only.");
22983 SWIGINTERN PyObject
*RED_PEN_get(void) {
22984 PyObject
*pyobj
= 0;
22986 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0 );
22991 SWIGINTERN
int CYAN_PEN_set(PyObject
*) {
22992 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_PEN is read-only.");
22997 SWIGINTERN PyObject
*CYAN_PEN_get(void) {
22998 PyObject
*pyobj
= 0;
23000 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0 );
23005 SWIGINTERN
int GREEN_PEN_set(PyObject
*) {
23006 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_PEN is read-only.");
23011 SWIGINTERN PyObject
*GREEN_PEN_get(void) {
23012 PyObject
*pyobj
= 0;
23014 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0 );
23019 SWIGINTERN
int BLACK_PEN_set(PyObject
*) {
23020 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_PEN is read-only.");
23025 SWIGINTERN PyObject
*BLACK_PEN_get(void) {
23026 PyObject
*pyobj
= 0;
23028 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0 );
23033 SWIGINTERN
int WHITE_PEN_set(PyObject
*) {
23034 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_PEN is read-only.");
23039 SWIGINTERN PyObject
*WHITE_PEN_get(void) {
23040 PyObject
*pyobj
= 0;
23042 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0 );
23047 SWIGINTERN
int TRANSPARENT_PEN_set(PyObject
*) {
23048 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_PEN is read-only.");
23053 SWIGINTERN PyObject
*TRANSPARENT_PEN_get(void) {
23054 PyObject
*pyobj
= 0;
23056 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0 );
23061 SWIGINTERN
int BLACK_DASHED_PEN_set(PyObject
*) {
23062 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_DASHED_PEN is read-only.");
23067 SWIGINTERN PyObject
*BLACK_DASHED_PEN_get(void) {
23068 PyObject
*pyobj
= 0;
23070 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0 );
23075 SWIGINTERN
int GREY_PEN_set(PyObject
*) {
23076 SWIG_Error(SWIG_AttributeError
,"Variable GREY_PEN is read-only.");
23081 SWIGINTERN PyObject
*GREY_PEN_get(void) {
23082 PyObject
*pyobj
= 0;
23084 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
23089 SWIGINTERN
int MEDIUM_GREY_PEN_set(PyObject
*) {
23090 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_PEN is read-only.");
23095 SWIGINTERN PyObject
*MEDIUM_GREY_PEN_get(void) {
23096 PyObject
*pyobj
= 0;
23098 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
23103 SWIGINTERN
int LIGHT_GREY_PEN_set(PyObject
*) {
23104 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_PEN is read-only.");
23109 SWIGINTERN PyObject
*LIGHT_GREY_PEN_get(void) {
23110 PyObject
*pyobj
= 0;
23112 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
23117 SWIGINTERN
int BLUE_BRUSH_set(PyObject
*) {
23118 SWIG_Error(SWIG_AttributeError
,"Variable BLUE_BRUSH is read-only.");
23123 SWIGINTERN PyObject
*BLUE_BRUSH_get(void) {
23124 PyObject
*pyobj
= 0;
23126 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23131 SWIGINTERN
int GREEN_BRUSH_set(PyObject
*) {
23132 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_BRUSH is read-only.");
23137 SWIGINTERN PyObject
*GREEN_BRUSH_get(void) {
23138 PyObject
*pyobj
= 0;
23140 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23145 SWIGINTERN
int WHITE_BRUSH_set(PyObject
*) {
23146 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_BRUSH is read-only.");
23151 SWIGINTERN PyObject
*WHITE_BRUSH_get(void) {
23152 PyObject
*pyobj
= 0;
23154 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23159 SWIGINTERN
int BLACK_BRUSH_set(PyObject
*) {
23160 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_BRUSH is read-only.");
23165 SWIGINTERN PyObject
*BLACK_BRUSH_get(void) {
23166 PyObject
*pyobj
= 0;
23168 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23173 SWIGINTERN
int TRANSPARENT_BRUSH_set(PyObject
*) {
23174 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_BRUSH is read-only.");
23179 SWIGINTERN PyObject
*TRANSPARENT_BRUSH_get(void) {
23180 PyObject
*pyobj
= 0;
23182 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23187 SWIGINTERN
int CYAN_BRUSH_set(PyObject
*) {
23188 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_BRUSH is read-only.");
23193 SWIGINTERN PyObject
*CYAN_BRUSH_get(void) {
23194 PyObject
*pyobj
= 0;
23196 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23201 SWIGINTERN
int RED_BRUSH_set(PyObject
*) {
23202 SWIG_Error(SWIG_AttributeError
,"Variable RED_BRUSH is read-only.");
23207 SWIGINTERN PyObject
*RED_BRUSH_get(void) {
23208 PyObject
*pyobj
= 0;
23210 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23215 SWIGINTERN
int GREY_BRUSH_set(PyObject
*) {
23216 SWIG_Error(SWIG_AttributeError
,"Variable GREY_BRUSH is read-only.");
23221 SWIGINTERN PyObject
*GREY_BRUSH_get(void) {
23222 PyObject
*pyobj
= 0;
23224 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23229 SWIGINTERN
int MEDIUM_GREY_BRUSH_set(PyObject
*) {
23230 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
23235 SWIGINTERN PyObject
*MEDIUM_GREY_BRUSH_get(void) {
23236 PyObject
*pyobj
= 0;
23238 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23243 SWIGINTERN
int LIGHT_GREY_BRUSH_set(PyObject
*) {
23244 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
23249 SWIGINTERN PyObject
*LIGHT_GREY_BRUSH_get(void) {
23250 PyObject
*pyobj
= 0;
23252 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23257 SWIGINTERN
int BLACK_set(PyObject
*) {
23258 SWIG_Error(SWIG_AttributeError
,"Variable BLACK is read-only.");
23263 SWIGINTERN PyObject
*BLACK_get(void) {
23264 PyObject
*pyobj
= 0;
23266 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK
), SWIGTYPE_p_wxColour
, 0 );
23271 SWIGINTERN
int WHITE_set(PyObject
*) {
23272 SWIG_Error(SWIG_AttributeError
,"Variable WHITE is read-only.");
23277 SWIGINTERN PyObject
*WHITE_get(void) {
23278 PyObject
*pyobj
= 0;
23280 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE
), SWIGTYPE_p_wxColour
, 0 );
23285 SWIGINTERN
int RED_set(PyObject
*) {
23286 SWIG_Error(SWIG_AttributeError
,"Variable RED is read-only.");
23291 SWIGINTERN PyObject
*RED_get(void) {
23292 PyObject
*pyobj
= 0;
23294 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED
), SWIGTYPE_p_wxColour
, 0 );
23299 SWIGINTERN
int BLUE_set(PyObject
*) {
23300 SWIG_Error(SWIG_AttributeError
,"Variable BLUE is read-only.");
23305 SWIGINTERN PyObject
*BLUE_get(void) {
23306 PyObject
*pyobj
= 0;
23308 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE
), SWIGTYPE_p_wxColour
, 0 );
23313 SWIGINTERN
int GREEN_set(PyObject
*) {
23314 SWIG_Error(SWIG_AttributeError
,"Variable GREEN is read-only.");
23319 SWIGINTERN PyObject
*GREEN_get(void) {
23320 PyObject
*pyobj
= 0;
23322 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN
), SWIGTYPE_p_wxColour
, 0 );
23327 SWIGINTERN
int CYAN_set(PyObject
*) {
23328 SWIG_Error(SWIG_AttributeError
,"Variable CYAN is read-only.");
23333 SWIGINTERN PyObject
*CYAN_get(void) {
23334 PyObject
*pyobj
= 0;
23336 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN
), SWIGTYPE_p_wxColour
, 0 );
23341 SWIGINTERN
int LIGHT_GREY_set(PyObject
*) {
23342 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY is read-only.");
23347 SWIGINTERN PyObject
*LIGHT_GREY_get(void) {
23348 PyObject
*pyobj
= 0;
23350 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0 );
23355 SWIGINTERN
int STANDARD_CURSOR_set(PyObject
*) {
23356 SWIG_Error(SWIG_AttributeError
,"Variable STANDARD_CURSOR is read-only.");
23361 SWIGINTERN PyObject
*STANDARD_CURSOR_get(void) {
23362 PyObject
*pyobj
= 0;
23364 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
23369 SWIGINTERN
int HOURGLASS_CURSOR_set(PyObject
*) {
23370 SWIG_Error(SWIG_AttributeError
,"Variable HOURGLASS_CURSOR is read-only.");
23375 SWIGINTERN PyObject
*HOURGLASS_CURSOR_get(void) {
23376 PyObject
*pyobj
= 0;
23378 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
23383 SWIGINTERN
int CROSS_CURSOR_set(PyObject
*) {
23384 SWIG_Error(SWIG_AttributeError
,"Variable CROSS_CURSOR is read-only.");
23389 SWIGINTERN PyObject
*CROSS_CURSOR_get(void) {
23390 PyObject
*pyobj
= 0;
23392 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
23397 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23398 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23403 SWIGINTERN PyObject
*NullBitmap_get(void) {
23404 PyObject
*pyobj
= 0;
23406 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23411 SWIGINTERN
int NullIcon_set(PyObject
*) {
23412 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23417 SWIGINTERN PyObject
*NullIcon_get(void) {
23418 PyObject
*pyobj
= 0;
23420 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23425 SWIGINTERN
int NullCursor_set(PyObject
*) {
23426 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23431 SWIGINTERN PyObject
*NullCursor_get(void) {
23432 PyObject
*pyobj
= 0;
23434 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23439 SWIGINTERN
int NullPen_set(PyObject
*) {
23440 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23445 SWIGINTERN PyObject
*NullPen_get(void) {
23446 PyObject
*pyobj
= 0;
23448 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23453 SWIGINTERN
int NullBrush_set(PyObject
*) {
23454 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23459 SWIGINTERN PyObject
*NullBrush_get(void) {
23460 PyObject
*pyobj
= 0;
23462 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23467 SWIGINTERN
int NullPalette_set(PyObject
*) {
23468 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23473 SWIGINTERN PyObject
*NullPalette_get(void) {
23474 PyObject
*pyobj
= 0;
23476 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23481 SWIGINTERN
int NullFont_set(PyObject
*) {
23482 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23487 SWIGINTERN PyObject
*NullFont_get(void) {
23488 PyObject
*pyobj
= 0;
23490 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23495 SWIGINTERN
int NullColour_set(PyObject
*) {
23496 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23501 SWIGINTERN PyObject
*NullColour_get(void) {
23502 PyObject
*pyobj
= 0;
23504 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23509 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
= 0;
23511 wxPenList
*arg1
= (wxPenList
*) 0 ;
23512 wxPen
*arg2
= (wxPen
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 char * kwnames
[] = {
23520 (char *) "self",(char *) "pen", NULL
23523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23528 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23530 if (!SWIG_IsOK(res2
)) {
23531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23533 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 (arg1
)->AddPen(arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_Py_Void();
23547 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
= 0;
23549 wxPenList
*arg1
= (wxPenList
*) 0 ;
23550 wxColour
*arg2
= 0 ;
23553 wxPen
*result
= 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 PyObject
* obj2
= 0 ;
23564 PyObject
* obj3
= 0 ;
23565 char * kwnames
[] = {
23566 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23571 if (!SWIG_IsOK(res1
)) {
23572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23574 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23580 if (!SWIG_IsOK(ecode3
)) {
23581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23583 arg3
= static_cast< int >(val3
);
23584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23585 if (!SWIG_IsOK(ecode4
)) {
23586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23588 arg4
= static_cast< int >(val4
);
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23602 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= 0;
23604 wxPenList
*arg1
= (wxPenList
*) 0 ;
23605 wxPen
*arg2
= (wxPen
*) 0 ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 char * kwnames
[] = {
23613 (char *) "self",(char *) "pen", NULL
23616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23618 if (!SWIG_IsOK(res1
)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23621 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23623 if (!SWIG_IsOK(res2
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23626 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 (arg1
)->RemovePen(arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= SWIG_Py_Void();
23640 SWIGINTERN PyObject
*_wrap_PenList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23641 PyObject
*resultobj
= 0;
23642 wxPenList
*arg1
= (wxPenList
*) 0 ;
23646 PyObject
*swig_obj
[1] ;
23648 if (!args
) SWIG_fail
;
23649 swig_obj
[0] = args
;
23650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23651 if (!SWIG_IsOK(res1
)) {
23652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_GetCount" "', expected argument " "1"" of type '" "wxPenList *""'");
23654 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (int)(arg1
)->GetCount();
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_From_int(static_cast< int >(result
));
23668 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23672 return SWIG_Py_Void();
23675 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
= 0;
23677 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23678 wxBrush
*arg2
= (wxBrush
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 PyObject
* obj1
= 0 ;
23685 char * kwnames
[] = {
23686 (char *) "self",(char *) "brush", NULL
23689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23691 if (!SWIG_IsOK(res1
)) {
23692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23694 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23696 if (!SWIG_IsOK(res2
)) {
23697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23699 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 (arg1
)->AddBrush(arg2
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_Py_Void();
23713 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
= 0;
23715 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23716 wxColour
*arg2
= 0 ;
23717 int arg3
= (int) wxSOLID
;
23718 wxBrush
*result
= 0 ;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 PyObject
* obj2
= 0 ;
23727 char * kwnames
[] = {
23728 (char *) "self",(char *) "colour",(char *) "style", NULL
23731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23733 if (!SWIG_IsOK(res1
)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23736 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23739 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23743 if (!SWIG_IsOK(ecode3
)) {
23744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23746 arg3
= static_cast< int >(val3
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23761 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
= 0;
23763 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23764 wxBrush
*arg2
= (wxBrush
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char * kwnames
[] = {
23772 (char *) "self",(char *) "brush", NULL
23775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23777 if (!SWIG_IsOK(res1
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23780 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23782 if (!SWIG_IsOK(res2
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23785 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 (arg1
)->RemoveBrush(arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_Py_Void();
23799 SWIGINTERN PyObject
*_wrap_BrushList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23800 PyObject
*resultobj
= 0;
23801 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23805 PyObject
*swig_obj
[1] ;
23807 if (!args
) SWIG_fail
;
23808 swig_obj
[0] = args
;
23809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23810 if (!SWIG_IsOK(res1
)) {
23811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_GetCount" "', expected argument " "1"" of type '" "wxBrushList *""'");
23813 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (int)(arg1
)->GetCount();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_From_int(static_cast< int >(result
));
23827 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23830 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23831 return SWIG_Py_Void();
23834 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23835 PyObject
*resultobj
= 0;
23836 wxColourDatabase
*result
= 0 ;
23838 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23840 if (!wxPyCheckForApp()) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (wxColourDatabase
*)new wxColourDatabase();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23853 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23854 PyObject
*resultobj
= 0;
23855 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23858 PyObject
*swig_obj
[1] ;
23860 if (!args
) SWIG_fail
;
23861 swig_obj
[0] = args
;
23862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23863 if (!SWIG_IsOK(res1
)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23866 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_Py_Void();
23881 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
= 0;
23883 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23884 wxString
*arg2
= 0 ;
23888 bool temp2
= false ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 char * kwnames
[] = {
23892 (char *) "self",(char *) "name", NULL
23895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23897 if (!SWIG_IsOK(res1
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23900 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23902 arg2
= wxString_in_helper(obj1
);
23903 if (arg2
== NULL
) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23927 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
= 0;
23929 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23930 wxColour
*arg2
= 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char * kwnames
[] = {
23938 (char *) "self",(char *) "colour", NULL
23941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23943 if (!SWIG_IsOK(res1
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23946 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23949 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23970 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
= 0;
23972 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23973 wxString
*arg2
= 0 ;
23974 wxColour
*arg3
= 0 ;
23977 bool temp2
= false ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 PyObject
* obj2
= 0 ;
23982 char * kwnames
[] = {
23983 (char *) "self",(char *) "name",(char *) "colour", NULL
23986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23991 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23993 arg2
= wxString_in_helper(obj1
);
23994 if (arg2
== NULL
) SWIG_fail
;
23999 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_Py_Void();
24022 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
= 0;
24024 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
24025 wxString
*arg2
= 0 ;
24031 bool temp2
= false ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 PyObject
* obj3
= 0 ;
24042 PyObject
* obj4
= 0 ;
24043 char * kwnames
[] = {
24044 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24049 if (!SWIG_IsOK(res1
)) {
24050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24052 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24054 arg2
= wxString_in_helper(obj1
);
24055 if (arg2
== NULL
) SWIG_fail
;
24058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24059 if (!SWIG_IsOK(ecode3
)) {
24060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24062 arg3
= static_cast< int >(val3
);
24063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24064 if (!SWIG_IsOK(ecode4
)) {
24065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24067 arg4
= static_cast< int >(val4
);
24068 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24069 if (!SWIG_IsOK(ecode5
)) {
24070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24072 arg5
= static_cast< int >(val5
);
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_Py_Void();
24094 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24097 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24098 return SWIG_Py_Void();
24101 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24102 return SWIG_Python_InitShadowInstance(args
);
24105 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
= 0;
24107 wxFontList
*arg1
= (wxFontList
*) 0 ;
24108 wxFont
*arg2
= (wxFont
*) 0 ;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 char * kwnames
[] = {
24116 (char *) "self",(char *) "font", NULL
24119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24121 if (!SWIG_IsOK(res1
)) {
24122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
24124 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
24126 if (!SWIG_IsOK(res2
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
24129 arg2
= reinterpret_cast< wxFont
* >(argp2
);
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 (arg1
)->AddFont(arg2
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_Py_Void();
24143 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
= 0;
24145 wxFontList
*arg1
= (wxFontList
*) 0 ;
24150 bool arg6
= (bool) false ;
24151 wxString
const &arg7_defvalue
= wxPyEmptyString
;
24152 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24153 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
24154 wxFont
*result
= 0 ;
24167 bool temp7
= false ;
24170 PyObject
* obj0
= 0 ;
24171 PyObject
* obj1
= 0 ;
24172 PyObject
* obj2
= 0 ;
24173 PyObject
* obj3
= 0 ;
24174 PyObject
* obj4
= 0 ;
24175 PyObject
* obj5
= 0 ;
24176 PyObject
* obj6
= 0 ;
24177 PyObject
* obj7
= 0 ;
24178 char * kwnames
[] = {
24179 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
24182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
24187 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24189 if (!SWIG_IsOK(ecode2
)) {
24190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
24192 arg2
= static_cast< int >(val2
);
24193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24194 if (!SWIG_IsOK(ecode3
)) {
24195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
24197 arg3
= static_cast< int >(val3
);
24198 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24199 if (!SWIG_IsOK(ecode4
)) {
24200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
24202 arg4
= static_cast< int >(val4
);
24203 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24204 if (!SWIG_IsOK(ecode5
)) {
24205 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
24207 arg5
= static_cast< int >(val5
);
24209 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
24210 if (!SWIG_IsOK(ecode6
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
24213 arg6
= static_cast< bool >(val6
);
24217 arg7
= wxString_in_helper(obj6
);
24218 if (arg7
== NULL
) SWIG_fail
;
24223 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24224 if (!SWIG_IsOK(ecode8
)) {
24225 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
24227 arg8
= static_cast< wxFontEncoding
>(val8
);
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24250 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
= 0;
24252 wxFontList
*arg1
= (wxFontList
*) 0 ;
24253 wxFont
*arg2
= (wxFont
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 char * kwnames
[] = {
24261 (char *) "self",(char *) "font", NULL
24264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24266 if (!SWIG_IsOK(res1
)) {
24267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
24269 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
24271 if (!SWIG_IsOK(res2
)) {
24272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
24274 arg2
= reinterpret_cast< wxFont
* >(argp2
);
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 (arg1
)->RemoveFont(arg2
);
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_Py_Void();
24288 SWIGINTERN PyObject
*_wrap_FontList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24289 PyObject
*resultobj
= 0;
24290 wxFontList
*arg1
= (wxFontList
*) 0 ;
24294 PyObject
*swig_obj
[1] ;
24296 if (!args
) SWIG_fail
;
24297 swig_obj
[0] = args
;
24298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24299 if (!SWIG_IsOK(res1
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_GetCount" "', expected argument " "1"" of type '" "wxFontList *""'");
24302 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (int)(arg1
)->GetCount();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_From_int(static_cast< int >(result
));
24316 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24319 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
24320 return SWIG_Py_Void();
24323 SWIGINTERN
int TheFontList_set(PyObject
*) {
24324 SWIG_Error(SWIG_AttributeError
,"Variable TheFontList is read-only.");
24329 SWIGINTERN PyObject
*TheFontList_get(void) {
24330 PyObject
*pyobj
= 0;
24332 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0 );
24337 SWIGINTERN
int ThePenList_set(PyObject
*) {
24338 SWIG_Error(SWIG_AttributeError
,"Variable ThePenList is read-only.");
24343 SWIGINTERN PyObject
*ThePenList_get(void) {
24344 PyObject
*pyobj
= 0;
24346 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxThePenList
), SWIGTYPE_p_wxPenList
, 0 );
24351 SWIGINTERN
int TheBrushList_set(PyObject
*) {
24352 SWIG_Error(SWIG_AttributeError
,"Variable TheBrushList is read-only.");
24357 SWIGINTERN PyObject
*TheBrushList_get(void) {
24358 PyObject
*pyobj
= 0;
24360 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0 );
24365 SWIGINTERN
int TheColourDatabase_set(PyObject
*) {
24366 SWIG_Error(SWIG_AttributeError
,"Variable TheColourDatabase is read-only.");
24371 SWIGINTERN PyObject
*TheColourDatabase_get(void) {
24372 PyObject
*pyobj
= 0;
24374 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0 );
24379 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24380 PyObject
*resultobj
= 0;
24381 wxEffects
*result
= 0 ;
24383 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (wxEffects
*)new wxEffects();
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24397 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24398 PyObject
*resultobj
= 0;
24399 wxEffects
*arg1
= (wxEffects
*) 0 ;
24403 PyObject
*swig_obj
[1] ;
24405 if (!args
) SWIG_fail
;
24406 swig_obj
[0] = args
;
24407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24411 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24425 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24426 PyObject
*resultobj
= 0;
24427 wxEffects
*arg1
= (wxEffects
*) 0 ;
24431 PyObject
*swig_obj
[1] ;
24433 if (!args
) SWIG_fail
;
24434 swig_obj
[0] = args
;
24435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24436 if (!SWIG_IsOK(res1
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24439 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24453 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24454 PyObject
*resultobj
= 0;
24455 wxEffects
*arg1
= (wxEffects
*) 0 ;
24459 PyObject
*swig_obj
[1] ;
24461 if (!args
) SWIG_fail
;
24462 swig_obj
[0] = args
;
24463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24464 if (!SWIG_IsOK(res1
)) {
24465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24467 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24481 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24482 PyObject
*resultobj
= 0;
24483 wxEffects
*arg1
= (wxEffects
*) 0 ;
24487 PyObject
*swig_obj
[1] ;
24489 if (!args
) SWIG_fail
;
24490 swig_obj
[0] = args
;
24491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24492 if (!SWIG_IsOK(res1
)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24495 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24509 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24510 PyObject
*resultobj
= 0;
24511 wxEffects
*arg1
= (wxEffects
*) 0 ;
24515 PyObject
*swig_obj
[1] ;
24517 if (!args
) SWIG_fail
;
24518 swig_obj
[0] = args
;
24519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24520 if (!SWIG_IsOK(res1
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24523 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24537 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
= 0;
24539 wxEffects
*arg1
= (wxEffects
*) 0 ;
24540 wxColour
*arg2
= 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char * kwnames
[] = {
24547 (char *) "self",(char *) "c", NULL
24550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24555 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_Py_Void();
24573 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
= 0;
24575 wxEffects
*arg1
= (wxEffects
*) 0 ;
24576 wxColour
*arg2
= 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char * kwnames
[] = {
24583 (char *) "self",(char *) "c", NULL
24586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24591 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_Py_Void();
24609 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
= 0;
24611 wxEffects
*arg1
= (wxEffects
*) 0 ;
24612 wxColour
*arg2
= 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char * kwnames
[] = {
24619 (char *) "self",(char *) "c", NULL
24622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24624 if (!SWIG_IsOK(res1
)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24627 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= SWIG_Py_Void();
24645 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxEffects
*arg1
= (wxEffects
*) 0 ;
24648 wxColour
*arg2
= 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char * kwnames
[] = {
24655 (char *) "self",(char *) "c", NULL
24658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24660 if (!SWIG_IsOK(res1
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24663 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_Py_Void();
24681 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= 0;
24683 wxEffects
*arg1
= (wxEffects
*) 0 ;
24684 wxColour
*arg2
= 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char * kwnames
[] = {
24691 (char *) "self",(char *) "c", NULL
24694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24696 if (!SWIG_IsOK(res1
)) {
24697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24699 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_Py_Void();
24717 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
= 0;
24719 wxEffects
*arg1
= (wxEffects
*) 0 ;
24720 wxColour
*arg2
= 0 ;
24721 wxColour
*arg3
= 0 ;
24722 wxColour
*arg4
= 0 ;
24723 wxColour
*arg5
= 0 ;
24724 wxColour
*arg6
= 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 PyObject
* obj2
= 0 ;
24735 PyObject
* obj3
= 0 ;
24736 PyObject
* obj4
= 0 ;
24737 PyObject
* obj5
= 0 ;
24738 char * kwnames
[] = {
24739 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24747 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24754 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24758 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24762 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24766 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= SWIG_Py_Void();
24781 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
= 0;
24783 wxEffects
*arg1
= (wxEffects
*) 0 ;
24786 int arg4
= (int) 1 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 PyObject
* obj2
= 0 ;
24797 PyObject
* obj3
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24807 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24809 if (!SWIG_IsOK(res2
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24815 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24818 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24822 if (!SWIG_IsOK(ecode4
)) {
24823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24825 arg4
= static_cast< int >(val4
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_Py_Void();
24840 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24842 wxEffects
*arg1
= (wxEffects
*) 0 ;
24845 wxBitmap
*arg4
= 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 PyObject
* obj2
= 0 ;
24857 PyObject
* obj3
= 0 ;
24858 char * kwnames
[] = {
24859 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24864 if (!SWIG_IsOK(res1
)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24867 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24870 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24872 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24873 if (!SWIG_IsOK(res3
)) {
24874 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24879 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24880 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24881 if (!SWIG_IsOK(res4
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24887 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24903 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24906 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24907 return SWIG_Py_Void();
24910 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24911 return SWIG_Python_InitShadowInstance(args
);
24914 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
= 0;
24919 wxSplitterRenderParams
*result
= 0 ;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 PyObject
* obj2
= 0 ;
24929 char * kwnames
[] = {
24930 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24934 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24935 if (!SWIG_IsOK(ecode1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24938 arg1
= static_cast< int >(val1
);
24939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24940 if (!SWIG_IsOK(ecode2
)) {
24941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24943 arg2
= static_cast< int >(val2
);
24944 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24945 if (!SWIG_IsOK(ecode3
)) {
24946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24948 arg3
= static_cast< bool >(val3
);
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24962 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24963 PyObject
*resultobj
= 0;
24964 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24967 PyObject
*swig_obj
[1] ;
24969 if (!args
) SWIG_fail
;
24970 swig_obj
[0] = args
;
24971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24972 if (!SWIG_IsOK(res1
)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24975 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24983 resultobj
= SWIG_Py_Void();
24990 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24991 PyObject
*resultobj
= 0;
24992 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24996 PyObject
*swig_obj
[1] ;
24998 if (!args
) SWIG_fail
;
24999 swig_obj
[0] = args
;
25000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
25004 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
25005 result
= (int)(int) ((arg1
)->widthSash
);
25006 resultobj
= SWIG_From_int(static_cast< int >(result
));
25013 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25014 PyObject
*resultobj
= 0;
25015 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
25019 PyObject
*swig_obj
[1] ;
25021 if (!args
) SWIG_fail
;
25022 swig_obj
[0] = args
;
25023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
25024 if (!SWIG_IsOK(res1
)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
25027 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
25028 result
= (int)(int) ((arg1
)->border
);
25029 resultobj
= SWIG_From_int(static_cast< int >(result
));
25036 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25037 PyObject
*resultobj
= 0;
25038 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
25042 PyObject
*swig_obj
[1] ;
25044 if (!args
) SWIG_fail
;
25045 swig_obj
[0] = args
;
25046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
25047 if (!SWIG_IsOK(res1
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
25050 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
25051 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
25052 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
25059 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25062 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
25063 return SWIG_Py_Void();
25066 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25067 return SWIG_Python_InitShadowInstance(args
);
25070 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
= 0;
25074 wxRendererVersion
*result
= 0 ;
25079 PyObject
* obj0
= 0 ;
25080 PyObject
* obj1
= 0 ;
25081 char * kwnames
[] = {
25082 (char *) "version_",(char *) "age_", NULL
25085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25087 if (!SWIG_IsOK(ecode1
)) {
25088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
25090 arg1
= static_cast< int >(val1
);
25091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25092 if (!SWIG_IsOK(ecode2
)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
25095 arg2
= static_cast< int >(val2
);
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
25109 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25110 PyObject
*resultobj
= 0;
25111 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25114 PyObject
*swig_obj
[1] ;
25116 if (!args
) SWIG_fail
;
25117 swig_obj
[0] = args
;
25118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
25119 if (!SWIG_IsOK(res1
)) {
25120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25122 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= SWIG_Py_Void();
25137 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
= 0;
25139 wxRendererVersion
*arg1
= 0 ;
25143 PyObject
* obj0
= 0 ;
25144 char * kwnames
[] = {
25145 (char *) "ver", NULL
25148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
25149 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
25150 if (!SWIG_IsOK(res1
)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
25154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
25156 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25172 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25173 PyObject
*resultobj
= 0;
25174 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25178 PyObject
*swig_obj
[1] ;
25180 if (!args
) SWIG_fail
;
25181 swig_obj
[0] = args
;
25182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25186 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25187 result
= (int)(int) ((arg1
)->version
);
25188 resultobj
= SWIG_From_int(static_cast< int >(result
));
25195 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 PyObject
*resultobj
= 0;
25197 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25201 PyObject
*swig_obj
[1] ;
25203 if (!args
) SWIG_fail
;
25204 swig_obj
[0] = args
;
25205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25206 if (!SWIG_IsOK(res1
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25209 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25210 result
= (int)(int) ((arg1
)->age
);
25211 resultobj
= SWIG_From_int(static_cast< int >(result
));
25218 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25221 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
25222 return SWIG_Py_Void();
25225 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 return SWIG_Python_InitShadowInstance(args
);
25229 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25232 wxWindow
*arg2
= (wxWindow
*) 0 ;
25235 int arg5
= (int) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 PyObject
* obj2
= 0 ;
25248 PyObject
* obj3
= 0 ;
25249 PyObject
* obj4
= 0 ;
25250 char * kwnames
[] = {
25251 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25256 if (!SWIG_IsOK(res1
)) {
25257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25259 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25261 if (!SWIG_IsOK(res2
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25264 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25265 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25266 if (!SWIG_IsOK(res3
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25272 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25275 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25279 if (!SWIG_IsOK(ecode5
)) {
25280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25282 arg5
= static_cast< int >(val5
);
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_Py_Void();
25297 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= 0;
25299 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25300 wxWindow
*arg2
= (wxWindow
*) 0 ;
25303 int arg5
= (int) 0 ;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 PyObject
* obj2
= 0 ;
25316 PyObject
* obj3
= 0 ;
25317 PyObject
* obj4
= 0 ;
25318 char * kwnames
[] = {
25319 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25324 if (!SWIG_IsOK(res1
)) {
25325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25327 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25329 if (!SWIG_IsOK(res2
)) {
25330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25333 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25334 if (!SWIG_IsOK(res3
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25340 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25343 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25347 if (!SWIG_IsOK(ecode5
)) {
25348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25350 arg5
= static_cast< int >(val5
);
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_Py_Void();
25365 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
= 0;
25367 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25368 wxWindow
*arg2
= (wxWindow
*) 0 ;
25371 int arg5
= (int) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 PyObject
* obj2
= 0 ;
25384 PyObject
* obj3
= 0 ;
25385 PyObject
* obj4
= 0 ;
25386 char * kwnames
[] = {
25387 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25395 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25396 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25397 if (!SWIG_IsOK(res2
)) {
25398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25400 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25402 if (!SWIG_IsOK(res3
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25408 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25411 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25415 if (!SWIG_IsOK(ecode5
)) {
25416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25418 arg5
= static_cast< int >(val5
);
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= SWIG_Py_Void();
25433 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
= 0;
25435 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25436 wxWindow
*arg2
= (wxWindow
*) 0 ;
25440 wxOrientation arg6
;
25441 int arg7
= (int) 0 ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 PyObject
* obj2
= 0 ;
25458 PyObject
* obj3
= 0 ;
25459 PyObject
* obj4
= 0 ;
25460 PyObject
* obj5
= 0 ;
25461 PyObject
* obj6
= 0 ;
25462 char * kwnames
[] = {
25463 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25471 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25473 if (!SWIG_IsOK(res2
)) {
25474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25477 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25478 if (!SWIG_IsOK(res3
)) {
25479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25484 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25490 if (!SWIG_IsOK(ecode5
)) {
25491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25493 arg5
= static_cast< int >(val5
);
25494 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25495 if (!SWIG_IsOK(ecode6
)) {
25496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25498 arg6
= static_cast< wxOrientation
>(val6
);
25500 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25501 if (!SWIG_IsOK(ecode7
)) {
25502 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25504 arg7
= static_cast< int >(val7
);
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_Py_Void();
25519 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
= 0;
25521 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25522 wxWindow
*arg2
= (wxWindow
*) 0 ;
25525 int arg5
= (int) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 PyObject
* obj1
= 0 ;
25537 PyObject
* obj2
= 0 ;
25538 PyObject
* obj3
= 0 ;
25539 PyObject
* obj4
= 0 ;
25540 char * kwnames
[] = {
25541 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25546 if (!SWIG_IsOK(res1
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25549 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25551 if (!SWIG_IsOK(res2
)) {
25552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25554 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25555 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25556 if (!SWIG_IsOK(res3
)) {
25557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25562 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25565 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25569 if (!SWIG_IsOK(ecode5
)) {
25570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25572 arg5
= static_cast< int >(val5
);
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_Py_Void();
25587 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
= 0;
25589 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25590 wxWindow
*arg2
= (wxWindow
*) 0 ;
25593 int arg5
= (int) 0 ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 PyObject
* obj3
= 0 ;
25607 PyObject
* obj4
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25617 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25619 if (!SWIG_IsOK(res2
)) {
25620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25623 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25624 if (!SWIG_IsOK(res3
)) {
25625 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25630 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25633 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25636 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25637 if (!SWIG_IsOK(ecode5
)) {
25638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25640 arg5
= static_cast< int >(val5
);
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= SWIG_Py_Void();
25655 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
= 0;
25657 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25658 wxWindow
*arg2
= (wxWindow
*) 0 ;
25659 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char * kwnames
[] = {
25667 (char *) "self",(char *) "win", NULL
25670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25672 if (!SWIG_IsOK(res1
)) {
25673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25675 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25677 if (!SWIG_IsOK(res2
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25694 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25695 PyObject
*resultobj
= 0;
25696 wxRendererNative
*result
= 0 ;
25698 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25703 result
= (wxRendererNative
*) &_result_ref
;
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25715 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25716 PyObject
*resultobj
= 0;
25717 wxRendererNative
*result
= 0 ;
25719 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25724 result
= (wxRendererNative
*) &_result_ref
;
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25736 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxRendererNative
*result
= 0 ;
25740 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25745 result
= (wxRendererNative
*) &_result_ref
;
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25757 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
= 0;
25759 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25760 wxRendererNative
*result
= 0 ;
25763 PyObject
* obj0
= 0 ;
25764 char * kwnames
[] = {
25765 (char *) "renderer", NULL
25768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25770 if (!SWIG_IsOK(res1
)) {
25771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25773 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25787 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25788 PyObject
*resultobj
= 0;
25789 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25790 SwigValueWrapper
<wxRendererVersion
> result
;
25793 PyObject
*swig_obj
[1] ;
25795 if (!args
) SWIG_fail
;
25796 swig_obj
[0] = args
;
25797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25801 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25815 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25818 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25819 return SWIG_Py_Void();
25822 static PyMethodDef SwigMethods
[] = {
25823 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25824 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25825 { (char *)"GDIObject_GetVisible", (PyCFunction
)_wrap_GDIObject_GetVisible
, METH_O
, NULL
},
25826 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25828 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25829 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25830 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25834 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25835 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25836 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25837 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25838 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25842 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25845 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25846 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25847 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25848 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25850 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25853 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25854 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25855 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25856 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25858 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25859 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25860 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25861 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25862 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25863 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25864 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25871 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
25873 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
25874 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25878 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25879 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25882 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25886 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25887 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25888 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25889 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25890 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25891 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25892 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25894 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
25900 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25902 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25903 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25904 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25905 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25906 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25907 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25908 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25914 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25924 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25925 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25927 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25928 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25929 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25931 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25932 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
25937 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25939 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25940 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25941 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25942 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25948 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25949 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25951 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25952 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25954 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25956 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25957 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25958 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25959 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25962 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25966 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25967 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25969 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
25972 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25974 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
25975 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
25976 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
25977 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25982 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25983 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25988 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25989 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25995 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25999 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
26009 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
26012 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
26013 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
26015 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
26016 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
26017 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
26018 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
26019 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
26020 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
26021 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
26022 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
26023 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
26024 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
26025 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
26026 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
26027 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
26028 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
26029 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
26030 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
26031 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26032 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
26033 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
26034 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
26035 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
26036 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
26037 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
26038 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
26039 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
26040 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
26050 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
26051 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
26053 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
26054 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
26055 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
26056 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
26057 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
26058 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
26059 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
26060 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
26061 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
26063 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
26064 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
26065 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
26068 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
26069 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
26070 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
26073 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26074 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26078 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
26079 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
26084 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
26085 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
26087 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26092 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
26093 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
26096 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
26097 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
26098 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
26099 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
26100 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
26101 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
26102 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
26103 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
26104 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
26105 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
26106 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
26107 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
26108 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26109 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26110 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26111 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26112 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26113 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26115 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
26120 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
26121 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
26122 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26123 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
26124 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
26125 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26126 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
26127 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
26128 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
26129 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
26130 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26132 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
26134 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
26135 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
26136 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
26137 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
26138 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
26139 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
26140 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
26141 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
26142 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
26143 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
26144 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26145 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
26146 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26147 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26148 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
26149 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
26150 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
26151 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
26152 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
26153 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
26154 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
26155 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
26156 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26157 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26158 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26159 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26160 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26161 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26162 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26163 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26164 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
26165 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
26166 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
26167 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
26168 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
26169 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
26170 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
26171 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26172 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26173 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26174 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26175 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26176 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
26177 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
26178 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
26179 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26180 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26181 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26182 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26183 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26184 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26185 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26191 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26192 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26193 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26199 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26200 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26201 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26202 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26203 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26204 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26208 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26209 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26210 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26211 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26212 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26213 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26214 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26215 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26216 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26218 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26219 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26220 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26221 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26222 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26223 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26226 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26227 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
26228 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
26230 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
26231 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
26232 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26233 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26234 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26235 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26236 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26237 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26238 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
26239 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
26240 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
26241 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
26242 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
26243 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26244 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26245 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26246 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26247 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
26248 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
26249 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
26250 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
26251 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26252 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26253 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26254 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26255 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26256 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26257 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26258 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26259 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
26260 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
26261 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
26262 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
26263 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
26264 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
26265 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
26266 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
26267 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
26268 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
26269 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
26270 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
26271 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26272 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26273 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
26274 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26275 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
26276 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26277 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
26278 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26279 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
26280 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
26281 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26282 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26283 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
26284 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
26285 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26286 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26287 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26288 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
26289 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26290 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
26291 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26292 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26293 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
26294 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
26295 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
26296 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
26297 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
26298 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
26299 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
26300 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26301 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26302 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26303 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26304 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26305 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26306 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
26307 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
26308 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26309 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26310 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
26311 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
26312 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
26313 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
26314 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
26315 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
26316 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
26317 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26318 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
26319 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
26320 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
26321 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26322 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26323 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
26324 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
26325 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
26326 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26327 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
26328 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
26329 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26330 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
26331 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
26332 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26333 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
26334 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
26335 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26336 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
26337 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
26338 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26339 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
26340 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26341 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26342 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
26343 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
26344 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
26345 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26346 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
26347 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
26348 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26349 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
26350 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
26351 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
26352 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
26353 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
26354 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
26355 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26356 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
26357 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
26358 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
26359 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26360 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
26361 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
26362 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26363 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
26364 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26365 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26366 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26367 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26368 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26369 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26370 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26371 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
26372 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26373 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
26374 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26375 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
26376 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
26377 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26378 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26379 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26380 { (char *)"PenList_GetCount", (PyCFunction
)_wrap_PenList_GetCount
, METH_O
, NULL
},
26381 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
26382 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26383 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26384 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26385 { (char *)"BrushList_GetCount", (PyCFunction
)_wrap_BrushList_GetCount
, METH_O
, NULL
},
26386 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
26387 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
26388 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
26389 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26390 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26391 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26392 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26393 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
26394 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
26395 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26396 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26397 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26398 { (char *)"FontList_GetCount", (PyCFunction
)_wrap_FontList_GetCount
, METH_O
, NULL
},
26399 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
26400 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
26401 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
26402 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
26403 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
26404 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
26405 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
26406 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26407 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26408 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26409 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26410 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26411 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26412 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26413 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26414 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
26415 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
26416 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26417 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
26418 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
26419 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
26420 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
26421 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
26422 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
26423 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26424 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
26425 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26426 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
26427 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
26428 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
26429 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
26430 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26431 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26432 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26433 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26434 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26435 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26436 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26437 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
26438 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
26439 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
26440 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26441 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
26442 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
26443 { NULL
, NULL
, 0, NULL
}
26447 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26449 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
26450 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
26452 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
26453 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26455 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
26456 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
26458 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
26459 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
26461 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
26462 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
26464 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
26465 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
26467 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
26468 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
26470 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
26471 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
26473 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
26474 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
26476 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
26477 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
26479 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
26480 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
26482 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
26483 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
26485 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
26486 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
26488 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
26489 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
26491 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
26492 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
26494 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
26495 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
26497 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
26498 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26500 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
26501 return (void *)((wxDC
*) ((wxClientDC
*) x
));
26503 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
26504 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
26506 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
26507 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
26509 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
26510 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
26512 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
26513 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26515 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26518 static void *_p_wxPenTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
26521 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
26524 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26527 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26530 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
26533 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26536 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26539 static void *_p_wxIconTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
26542 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26545 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26548 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) ((wxSizer
*) x
));
26551 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26554 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26557 static void *_p_wxPenListTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) ((wxPenList
*) x
));
26560 static void *_p_wxEventTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) ((wxEvent
*) x
));
26563 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26566 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26569 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26572 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26575 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26578 static void *_p_wxDCTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) ((wxDC
*) x
));
26581 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26584 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26587 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26590 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26593 static void *_p_wxControlTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26596 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26599 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
26602 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26605 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
26608 static void *_p_wxRegionTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
26611 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26614 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
26617 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
26620 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) ((wxEffects
*) x
));
26623 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26626 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26629 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
26632 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26635 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26638 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
26641 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26644 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26647 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26650 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26653 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26656 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26659 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26662 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26665 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26668 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26671 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26674 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26677 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26680 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26683 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26686 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26687 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26689 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26692 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
26693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
26695 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26696 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26698 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26701 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26704 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26705 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26707 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
26708 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26710 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
26711 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
26713 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
26714 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
26716 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
26717 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
26719 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
26720 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
26722 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26723 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26725 static void *_p_wxImageTo_p_wxObject(void *x
) {
26726 return (void *)((wxObject
*) ((wxImage
*) x
));
26728 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26729 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26731 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
26732 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
26734 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
26735 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
26737 static void *_p_wxImageListTo_p_wxObject(void *x
) {
26738 return (void *)((wxObject
*) ((wxImageList
*) x
));
26740 static void *_p_wxCursorTo_p_wxObject(void *x
) {
26741 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
26743 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
26744 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
26746 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
26747 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
26749 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26752 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26753 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26755 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26756 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26758 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26759 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26761 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26762 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26764 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26767 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
26768 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
26770 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
26771 return (void *)((wxObject
*) ((wxBrushList
*) x
));
26773 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26774 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26776 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26777 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26779 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26780 return (void *)((wxObject
*) ((wxMask
*) x
));
26782 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26785 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26786 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26788 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26789 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26791 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26792 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26794 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26795 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26797 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26798 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26800 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26801 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26803 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26804 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26806 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26807 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26809 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26810 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26812 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26815 static void *_p_wxFontTo_p_wxObject(void *x
) {
26816 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26818 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26819 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26821 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26822 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26824 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26827 static void *_p_wxColourTo_p_wxObject(void *x
) {
26828 return (void *)((wxObject
*) ((wxColour
*) x
));
26830 static void *_p_wxFontListTo_p_wxObject(void *x
) {
26831 return (void *)((wxObject
*) ((wxFontList
*) x
));
26833 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26836 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26837 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26839 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26840 return (void *)((wxWindow
*) ((wxControl
*) x
));
26842 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26843 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26845 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26846 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26848 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26849 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26850 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};
26851 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26852 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26853 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26854 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26855 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26856 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26857 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26858 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26859 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26860 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26861 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26862 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26863 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26864 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26865 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26866 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26867 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26868 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26869 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26870 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26871 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26872 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26873 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26874 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26875 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26876 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26877 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26878 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26879 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26880 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26881 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26882 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26883 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26884 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26885 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26886 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26887 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26888 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26889 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26890 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26891 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26892 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26893 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26894 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26895 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26896 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26897 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26898 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26899 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26900 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26901 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26902 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26903 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26904 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26905 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26906 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26907 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26908 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26909 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26910 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26911 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26912 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26913 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26914 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26915 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26916 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26917 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26918 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26919 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26920 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26921 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26922 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26923 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26924 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26925 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26926 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26927 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26928 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26929 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26930 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26931 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26932 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26933 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26934 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26935 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26936 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26937 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26938 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26939 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26940 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26941 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26942 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26943 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26944 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26945 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26946 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26947 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26948 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26949 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26950 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26951 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26952 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26953 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26954 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26955 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26956 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26957 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26958 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26959 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26960 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26961 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26962 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26963 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26964 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26965 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26966 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26967 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26968 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26969 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26970 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26971 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26972 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26973 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26974 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26975 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26976 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26977 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26978 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26979 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26980 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26981 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26982 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26984 static swig_type_info
*swig_type_initial
[] = {
26987 &_swigt__p_form_ops_t
,
26989 &_swigt__p_unsigned_char
,
26990 &_swigt__p_unsigned_int
,
26991 &_swigt__p_unsigned_long
,
26992 &_swigt__p_wxANIHandler
,
26993 &_swigt__p_wxAcceleratorTable
,
26994 &_swigt__p_wxActivateEvent
,
26995 &_swigt__p_wxBMPHandler
,
26996 &_swigt__p_wxBitmap
,
26997 &_swigt__p_wxBoxSizer
,
26998 &_swigt__p_wxBrush
,
26999 &_swigt__p_wxBrushList
,
27000 &_swigt__p_wxBufferedDC
,
27001 &_swigt__p_wxBufferedPaintDC
,
27002 &_swigt__p_wxCURHandler
,
27003 &_swigt__p_wxChildFocusEvent
,
27004 &_swigt__p_wxClientDC
,
27005 &_swigt__p_wxCloseEvent
,
27006 &_swigt__p_wxColour
,
27007 &_swigt__p_wxColourDatabase
,
27008 &_swigt__p_wxCommandEvent
,
27009 &_swigt__p_wxContextMenuEvent
,
27010 &_swigt__p_wxControl
,
27011 &_swigt__p_wxControlWithItems
,
27012 &_swigt__p_wxCursor
,
27015 &_swigt__p_wxDateEvent
,
27016 &_swigt__p_wxDisplayChangedEvent
,
27017 &_swigt__p_wxDropFilesEvent
,
27018 &_swigt__p_wxDuplexMode
,
27019 &_swigt__p_wxEffects
,
27020 &_swigt__p_wxEncodingConverter
,
27021 &_swigt__p_wxEraseEvent
,
27022 &_swigt__p_wxEvent
,
27023 &_swigt__p_wxEvtHandler
,
27024 &_swigt__p_wxFSFile
,
27025 &_swigt__p_wxFileSystem
,
27026 &_swigt__p_wxFlexGridSizer
,
27027 &_swigt__p_wxFocusEvent
,
27029 &_swigt__p_wxFontList
,
27030 &_swigt__p_wxFontMapper
,
27031 &_swigt__p_wxGBSizerItem
,
27032 &_swigt__p_wxGDIObject
,
27033 &_swigt__p_wxGIFHandler
,
27034 &_swigt__p_wxGridBagSizer
,
27035 &_swigt__p_wxGridSizer
,
27036 &_swigt__p_wxICOHandler
,
27038 &_swigt__p_wxIconBundle
,
27039 &_swigt__p_wxIconLocation
,
27040 &_swigt__p_wxIconizeEvent
,
27041 &_swigt__p_wxIdleEvent
,
27042 &_swigt__p_wxImage
,
27043 &_swigt__p_wxImageHandler
,
27044 &_swigt__p_wxImageList
,
27045 &_swigt__p_wxIndividualLayoutConstraint
,
27046 &_swigt__p_wxInitDialogEvent
,
27047 &_swigt__p_wxJPEGHandler
,
27048 &_swigt__p_wxKeyEvent
,
27049 &_swigt__p_wxLanguageInfo
,
27050 &_swigt__p_wxLayoutConstraints
,
27051 &_swigt__p_wxLocale
,
27053 &_swigt__p_wxMaximizeEvent
,
27054 &_swigt__p_wxMemoryDC
,
27056 &_swigt__p_wxMenuBar
,
27057 &_swigt__p_wxMenuEvent
,
27058 &_swigt__p_wxMenuItem
,
27059 &_swigt__p_wxMetaFile
,
27060 &_swigt__p_wxMetaFileDC
,
27061 &_swigt__p_wxMirrorDC
,
27062 &_swigt__p_wxMouseCaptureChangedEvent
,
27063 &_swigt__p_wxMouseEvent
,
27064 &_swigt__p_wxMoveEvent
,
27065 &_swigt__p_wxNativeEncodingInfo
,
27066 &_swigt__p_wxNativeFontInfo
,
27067 &_swigt__p_wxNavigationKeyEvent
,
27068 &_swigt__p_wxNcPaintEvent
,
27069 &_swigt__p_wxNotifyEvent
,
27070 &_swigt__p_wxObject
,
27071 &_swigt__p_wxPCXHandler
,
27072 &_swigt__p_wxPNGHandler
,
27073 &_swigt__p_wxPNMHandler
,
27074 &_swigt__p_wxPaintDC
,
27075 &_swigt__p_wxPaintEvent
,
27076 &_swigt__p_wxPalette
,
27077 &_swigt__p_wxPaletteChangedEvent
,
27078 &_swigt__p_wxPaperSize
,
27080 &_swigt__p_wxPenList
,
27081 &_swigt__p_wxPoint
,
27082 &_swigt__p_wxPostScriptDC
,
27083 &_swigt__p_wxPrintData
,
27084 &_swigt__p_wxPrinterDC
,
27085 &_swigt__p_wxPyApp
,
27086 &_swigt__p_wxPyCommandEvent
,
27087 &_swigt__p_wxPyEvent
,
27088 &_swigt__p_wxPyFontEnumerator
,
27089 &_swigt__p_wxPyImageHandler
,
27090 &_swigt__p_wxPySizer
,
27091 &_swigt__p_wxPyValidator
,
27092 &_swigt__p_wxQueryNewPaletteEvent
,
27094 &_swigt__p_wxRegion
,
27095 &_swigt__p_wxRegionIterator
,
27096 &_swigt__p_wxRendererNative
,
27097 &_swigt__p_wxRendererVersion
,
27098 &_swigt__p_wxScreenDC
,
27099 &_swigt__p_wxScrollEvent
,
27100 &_swigt__p_wxScrollWinEvent
,
27101 &_swigt__p_wxSetCursorEvent
,
27102 &_swigt__p_wxShowEvent
,
27104 &_swigt__p_wxSizeEvent
,
27105 &_swigt__p_wxSizer
,
27106 &_swigt__p_wxSizerItem
,
27107 &_swigt__p_wxSplitterRenderParams
,
27108 &_swigt__p_wxStaticBoxSizer
,
27109 &_swigt__p_wxStdDialogButtonSizer
,
27110 &_swigt__p_wxString
,
27111 &_swigt__p_wxSysColourChangedEvent
,
27112 &_swigt__p_wxTIFFHandler
,
27113 &_swigt__p_wxUpdateUIEvent
,
27114 &_swigt__p_wxValidator
,
27115 &_swigt__p_wxWindow
,
27116 &_swigt__p_wxWindowCreateEvent
,
27117 &_swigt__p_wxWindowDC
,
27118 &_swigt__p_wxWindowDestroyEvent
,
27119 &_swigt__p_wxXPMHandler
,
27122 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
27123 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
27124 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
27125 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
27126 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
27127 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
27128 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
27129 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
27130 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
27131 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
27132 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}};
27133 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27134 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
27135 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
27136 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
27137 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
27138 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}};
27139 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
27140 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
27141 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
27142 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
27143 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
27144 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
27145 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
27146 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}};
27147 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
27148 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
27149 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
27150 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
27151 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
27152 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
27153 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
27154 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
27155 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}};
27156 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
27157 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
27158 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
27159 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
27160 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
27161 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
27162 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27163 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27164 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
27165 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
27166 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27167 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27168 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27169 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
27170 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
27171 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
27172 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
27173 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27174 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27175 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
27176 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27177 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27178 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27179 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27180 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27181 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27182 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
27183 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
27184 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
27185 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
27186 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27187 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27188 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
27189 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
27190 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27191 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
27192 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27193 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
27194 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27195 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27196 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27197 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
27198 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27199 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
27200 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
27201 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
27202 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
27203 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27204 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27205 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27206 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27207 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
27208 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27209 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27210 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
27211 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27212 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27213 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
27214 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
27215 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
27216 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27217 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27218 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27219 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
27220 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
27221 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27222 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27223 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
27224 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27225 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27226 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27227 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27228 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27229 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
27230 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27231 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27232 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
27233 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
27234 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
27235 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_wxColourDatabase
, _p_wxColourDatabaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPenList
, _p_wxPenListTo_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_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrushList
, _p_wxBrushListTo_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_wxFontList
, _p_wxFontListTo_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}};
27236 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27237 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
27238 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
27239 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
27240 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
27241 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
27242 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
27243 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
27244 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
27245 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
27246 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
27247 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
27248 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
27249 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
27250 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
27251 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
27252 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
27253 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
27254 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
27255 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}};
27256 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
27258 static swig_cast_info
*swig_cast_initial
[] = {
27261 _swigc__p_form_ops_t
,
27263 _swigc__p_unsigned_char
,
27264 _swigc__p_unsigned_int
,
27265 _swigc__p_unsigned_long
,
27266 _swigc__p_wxANIHandler
,
27267 _swigc__p_wxAcceleratorTable
,
27268 _swigc__p_wxActivateEvent
,
27269 _swigc__p_wxBMPHandler
,
27270 _swigc__p_wxBitmap
,
27271 _swigc__p_wxBoxSizer
,
27273 _swigc__p_wxBrushList
,
27274 _swigc__p_wxBufferedDC
,
27275 _swigc__p_wxBufferedPaintDC
,
27276 _swigc__p_wxCURHandler
,
27277 _swigc__p_wxChildFocusEvent
,
27278 _swigc__p_wxClientDC
,
27279 _swigc__p_wxCloseEvent
,
27280 _swigc__p_wxColour
,
27281 _swigc__p_wxColourDatabase
,
27282 _swigc__p_wxCommandEvent
,
27283 _swigc__p_wxContextMenuEvent
,
27284 _swigc__p_wxControl
,
27285 _swigc__p_wxControlWithItems
,
27286 _swigc__p_wxCursor
,
27289 _swigc__p_wxDateEvent
,
27290 _swigc__p_wxDisplayChangedEvent
,
27291 _swigc__p_wxDropFilesEvent
,
27292 _swigc__p_wxDuplexMode
,
27293 _swigc__p_wxEffects
,
27294 _swigc__p_wxEncodingConverter
,
27295 _swigc__p_wxEraseEvent
,
27297 _swigc__p_wxEvtHandler
,
27298 _swigc__p_wxFSFile
,
27299 _swigc__p_wxFileSystem
,
27300 _swigc__p_wxFlexGridSizer
,
27301 _swigc__p_wxFocusEvent
,
27303 _swigc__p_wxFontList
,
27304 _swigc__p_wxFontMapper
,
27305 _swigc__p_wxGBSizerItem
,
27306 _swigc__p_wxGDIObject
,
27307 _swigc__p_wxGIFHandler
,
27308 _swigc__p_wxGridBagSizer
,
27309 _swigc__p_wxGridSizer
,
27310 _swigc__p_wxICOHandler
,
27312 _swigc__p_wxIconBundle
,
27313 _swigc__p_wxIconLocation
,
27314 _swigc__p_wxIconizeEvent
,
27315 _swigc__p_wxIdleEvent
,
27317 _swigc__p_wxImageHandler
,
27318 _swigc__p_wxImageList
,
27319 _swigc__p_wxIndividualLayoutConstraint
,
27320 _swigc__p_wxInitDialogEvent
,
27321 _swigc__p_wxJPEGHandler
,
27322 _swigc__p_wxKeyEvent
,
27323 _swigc__p_wxLanguageInfo
,
27324 _swigc__p_wxLayoutConstraints
,
27325 _swigc__p_wxLocale
,
27327 _swigc__p_wxMaximizeEvent
,
27328 _swigc__p_wxMemoryDC
,
27330 _swigc__p_wxMenuBar
,
27331 _swigc__p_wxMenuEvent
,
27332 _swigc__p_wxMenuItem
,
27333 _swigc__p_wxMetaFile
,
27334 _swigc__p_wxMetaFileDC
,
27335 _swigc__p_wxMirrorDC
,
27336 _swigc__p_wxMouseCaptureChangedEvent
,
27337 _swigc__p_wxMouseEvent
,
27338 _swigc__p_wxMoveEvent
,
27339 _swigc__p_wxNativeEncodingInfo
,
27340 _swigc__p_wxNativeFontInfo
,
27341 _swigc__p_wxNavigationKeyEvent
,
27342 _swigc__p_wxNcPaintEvent
,
27343 _swigc__p_wxNotifyEvent
,
27344 _swigc__p_wxObject
,
27345 _swigc__p_wxPCXHandler
,
27346 _swigc__p_wxPNGHandler
,
27347 _swigc__p_wxPNMHandler
,
27348 _swigc__p_wxPaintDC
,
27349 _swigc__p_wxPaintEvent
,
27350 _swigc__p_wxPalette
,
27351 _swigc__p_wxPaletteChangedEvent
,
27352 _swigc__p_wxPaperSize
,
27354 _swigc__p_wxPenList
,
27356 _swigc__p_wxPostScriptDC
,
27357 _swigc__p_wxPrintData
,
27358 _swigc__p_wxPrinterDC
,
27360 _swigc__p_wxPyCommandEvent
,
27361 _swigc__p_wxPyEvent
,
27362 _swigc__p_wxPyFontEnumerator
,
27363 _swigc__p_wxPyImageHandler
,
27364 _swigc__p_wxPySizer
,
27365 _swigc__p_wxPyValidator
,
27366 _swigc__p_wxQueryNewPaletteEvent
,
27368 _swigc__p_wxRegion
,
27369 _swigc__p_wxRegionIterator
,
27370 _swigc__p_wxRendererNative
,
27371 _swigc__p_wxRendererVersion
,
27372 _swigc__p_wxScreenDC
,
27373 _swigc__p_wxScrollEvent
,
27374 _swigc__p_wxScrollWinEvent
,
27375 _swigc__p_wxSetCursorEvent
,
27376 _swigc__p_wxShowEvent
,
27378 _swigc__p_wxSizeEvent
,
27380 _swigc__p_wxSizerItem
,
27381 _swigc__p_wxSplitterRenderParams
,
27382 _swigc__p_wxStaticBoxSizer
,
27383 _swigc__p_wxStdDialogButtonSizer
,
27384 _swigc__p_wxString
,
27385 _swigc__p_wxSysColourChangedEvent
,
27386 _swigc__p_wxTIFFHandler
,
27387 _swigc__p_wxUpdateUIEvent
,
27388 _swigc__p_wxValidator
,
27389 _swigc__p_wxWindow
,
27390 _swigc__p_wxWindowCreateEvent
,
27391 _swigc__p_wxWindowDC
,
27392 _swigc__p_wxWindowDestroyEvent
,
27393 _swigc__p_wxXPMHandler
,
27397 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27399 static swig_const_info swig_const_table
[] = {
27400 {0, 0, 0, 0.0, 0, 0}};
27405 /* -----------------------------------------------------------------------------
27406 * Type initialization:
27407 * This problem is tough by the requirement that no dynamic
27408 * memory is used. Also, since swig_type_info structures store pointers to
27409 * swig_cast_info structures and swig_cast_info structures store pointers back
27410 * to swig_type_info structures, we need some lookup code at initialization.
27411 * The idea is that swig generates all the structures that are needed.
27412 * The runtime then collects these partially filled structures.
27413 * The SWIG_InitializeModule function takes these initial arrays out of
27414 * swig_module, and does all the lookup, filling in the swig_module.types
27415 * array with the correct data and linking the correct swig_cast_info
27416 * structures together.
27418 * The generated swig_type_info structures are assigned staticly to an initial
27419 * array. We just loop though that array, and handle each type individually.
27420 * First we lookup if this type has been already loaded, and if so, use the
27421 * loaded structure instead of the generated one. Then we have to fill in the
27422 * cast linked list. The cast data is initially stored in something like a
27423 * two-dimensional array. Each row corresponds to a type (there are the same
27424 * number of rows as there are in the swig_type_initial array). Each entry in
27425 * a column is one of the swig_cast_info structures for that type.
27426 * The cast_initial array is actually an array of arrays, because each row has
27427 * a variable number of columns. So to actually build the cast linked list,
27428 * we find the array of casts associated with the type, and loop through it
27429 * adding the casts to the list. The one last trick we need to do is making
27430 * sure the type pointer in the swig_cast_info struct is correct.
27432 * First off, we lookup the cast->type name to see if it is already loaded.
27433 * There are three cases to handle:
27434 * 1) If the cast->type has already been loaded AND the type we are adding
27435 * casting info to has not been loaded (it is in this module), THEN we
27436 * replace the cast->type pointer with the type pointer that has already
27438 * 2) If BOTH types (the one we are adding casting info to, and the
27439 * cast->type) are loaded, THEN the cast info has already been loaded by
27440 * the previous module so we just ignore it.
27441 * 3) Finally, if cast->type has not already been loaded, then we add that
27442 * swig_cast_info to the linked list (because the cast->type) pointer will
27444 * ----------------------------------------------------------------------------- */
27454 #define SWIGRUNTIME_DEBUG
27458 SWIG_InitializeModule(void *clientdata
) {
27460 swig_module_info
*module_head
;
27461 static int init_run
= 0;
27463 clientdata
= clientdata
;
27465 if (init_run
) return;
27468 /* Initialize the swig_module */
27469 swig_module
.type_initial
= swig_type_initial
;
27470 swig_module
.cast_initial
= swig_cast_initial
;
27472 /* Try and load any already created modules */
27473 module_head
= SWIG_GetModule(clientdata
);
27475 swig_module
.next
= module_head
->next
;
27476 module_head
->next
= &swig_module
;
27478 /* This is the first module loaded */
27479 swig_module
.next
= &swig_module
;
27480 SWIG_SetModule(clientdata
, &swig_module
);
27483 /* Now work on filling in swig_module.types */
27484 #ifdef SWIGRUNTIME_DEBUG
27485 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
27487 for (i
= 0; i
< swig_module
.size
; ++i
) {
27488 swig_type_info
*type
= 0;
27489 swig_type_info
*ret
;
27490 swig_cast_info
*cast
;
27492 #ifdef SWIGRUNTIME_DEBUG
27493 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27496 /* if there is another module already loaded */
27497 if (swig_module
.next
!= &swig_module
) {
27498 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
27501 /* Overwrite clientdata field */
27502 #ifdef SWIGRUNTIME_DEBUG
27503 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
27505 if (swig_module
.type_initial
[i
]->clientdata
) {
27506 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
27507 #ifdef SWIGRUNTIME_DEBUG
27508 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
27512 type
= swig_module
.type_initial
[i
];
27515 /* Insert casting types */
27516 cast
= swig_module
.cast_initial
[i
];
27517 while (cast
->type
) {
27518 /* Don't need to add information already in the list */
27520 #ifdef SWIGRUNTIME_DEBUG
27521 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
27523 if (swig_module
.next
!= &swig_module
) {
27524 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
27525 #ifdef SWIGRUNTIME_DEBUG
27526 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
27530 if (type
== swig_module
.type_initial
[i
]) {
27531 #ifdef SWIGRUNTIME_DEBUG
27532 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
27537 /* Check for casting already in the list */
27538 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
27539 #ifdef SWIGRUNTIME_DEBUG
27540 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
27542 if (!ocast
) ret
= 0;
27547 #ifdef SWIGRUNTIME_DEBUG
27548 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
27551 type
->cast
->prev
= cast
;
27552 cast
->next
= type
->cast
;
27558 /* Set entry in modules->types array equal to the type */
27559 swig_module
.types
[i
] = type
;
27561 swig_module
.types
[i
] = 0;
27563 #ifdef SWIGRUNTIME_DEBUG
27564 printf("**** SWIG_InitializeModule: Cast List ******\n");
27565 for (i
= 0; i
< swig_module
.size
; ++i
) {
27567 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
27568 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27569 while (cast
->type
) {
27570 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
27574 printf("---- Total casts: %d\n",j
);
27576 printf("**** SWIG_InitializeModule: Cast List ******\n");
27580 /* This function will propagate the clientdata field of type to
27581 * any new swig_type_info structures that have been added into the list
27582 * of equivalent types. It is like calling
27583 * SWIG_TypeClientData(type, clientdata) a second time.
27586 SWIG_PropagateClientData(void) {
27588 swig_cast_info
*equiv
;
27589 static int init_run
= 0;
27591 if (init_run
) return;
27594 for (i
= 0; i
< swig_module
.size
; i
++) {
27595 if (swig_module
.types
[i
]->clientdata
) {
27596 equiv
= swig_module
.types
[i
]->cast
;
27598 if (!equiv
->converter
) {
27599 if (equiv
->type
&& !equiv
->type
->clientdata
)
27600 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
27602 equiv
= equiv
->next
;
27622 /* Python-specific SWIG API */
27623 #define SWIG_newvarlink() SWIG_Python_newvarlink()
27624 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
27625 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
27627 /* -----------------------------------------------------------------------------
27628 * global variable support code.
27629 * ----------------------------------------------------------------------------- */
27631 typedef struct swig_globalvar
{
27632 char *name
; /* Name of global variable */
27633 PyObject
*(*get_attr
)(void); /* Return the current value */
27634 int (*set_attr
)(PyObject
*); /* Set the value */
27635 struct swig_globalvar
*next
;
27638 typedef struct swig_varlinkobject
{
27640 swig_globalvar
*vars
;
27641 } swig_varlinkobject
;
27643 SWIGINTERN PyObject
*
27644 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
27645 return PyString_FromString("<Swig global variables>");
27648 SWIGINTERN PyObject
*
27649 swig_varlink_str(swig_varlinkobject
*v
) {
27650 PyObject
*str
= PyString_FromString("(");
27651 swig_globalvar
*var
;
27652 for (var
= v
->vars
; var
; var
=var
->next
) {
27653 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
27654 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
27656 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
27661 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
27662 PyObject
*str
= swig_varlink_str(v
);
27663 fprintf(fp
,"Swig global variables ");
27664 fprintf(fp
,"%s\n", PyString_AsString(str
));
27670 swig_varlink_dealloc(swig_varlinkobject
*v
) {
27671 swig_globalvar
*var
= v
->vars
;
27673 swig_globalvar
*n
= var
->next
;
27680 SWIGINTERN PyObject
*
27681 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
27682 PyObject
*res
= NULL
;
27683 swig_globalvar
*var
= v
->vars
;
27685 if (strcmp(var
->name
,n
) == 0) {
27686 res
= (*var
->get_attr
)();
27691 if (res
== NULL
&& !PyErr_Occurred()) {
27692 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27698 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
27700 swig_globalvar
*var
= v
->vars
;
27702 if (strcmp(var
->name
,n
) == 0) {
27703 res
= (*var
->set_attr
)(p
);
27708 if (res
== 1 && !PyErr_Occurred()) {
27709 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27714 SWIGINTERN PyTypeObject
*
27715 swig_varlink_type(void) {
27716 static char varlink__doc__
[] = "Swig var link object";
27717 static PyTypeObject varlink_type
;
27718 static int type_init
= 0;
27720 const PyTypeObject tmp
27722 PyObject_HEAD_INIT(NULL
)
27723 0, /* Number of items in variable part (ob_size) */
27724 (char *)"swigvarlink", /* Type name (tp_name) */
27725 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
27726 0, /* Itemsize (tp_itemsize) */
27727 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
27728 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
27729 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
27730 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
27731 0, /* tp_compare */
27732 (reprfunc
) swig_varlink_repr
, /* tp_repr */
27733 0, /* tp_as_number */
27734 0, /* tp_as_sequence */
27735 0, /* tp_as_mapping */
27738 (reprfunc
)swig_varlink_str
, /* tp_str */
27739 0, /* tp_getattro */
27740 0, /* tp_setattro */
27741 0, /* tp_as_buffer */
27743 varlink__doc__
, /* tp_doc */
27744 0, /* tp_traverse */
27746 0, /* tp_richcompare */
27747 0, /* tp_weaklistoffset */
27748 #if PY_VERSION_HEX >= 0x02020000
27749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
27751 #if PY_VERSION_HEX >= 0x02030000
27754 #ifdef COUNT_ALLOCS
27755 0,0,0,0 /* tp_alloc -> tp_next */
27758 varlink_type
= tmp
;
27759 varlink_type
.ob_type
= &PyType_Type
;
27762 return &varlink_type
;
27765 /* Create a variable linking object for use later */
27766 SWIGINTERN PyObject
*
27767 SWIG_Python_newvarlink(void) {
27768 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27772 return ((PyObject
*) result
);
27776 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27777 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27778 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27780 size_t size
= strlen(name
)+1;
27781 gv
->name
= (char *)malloc(size
);
27783 strncpy(gv
->name
,name
,size
);
27784 gv
->get_attr
= get_attr
;
27785 gv
->set_attr
= set_attr
;
27786 gv
->next
= v
->vars
;
27792 SWIGINTERN PyObject
*
27794 static PyObject
*_SWIG_globals
= 0;
27795 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27796 return _SWIG_globals
;
27799 /* -----------------------------------------------------------------------------
27800 * constants/methods manipulation
27801 * ----------------------------------------------------------------------------- */
27803 /* Install Constants */
27805 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27808 for (i
= 0; constants
[i
].type
; ++i
) {
27809 switch(constants
[i
].type
) {
27810 case SWIG_PY_POINTER
:
27811 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27813 case SWIG_PY_BINARY
:
27814 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27821 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27827 /* -----------------------------------------------------------------------------*/
27828 /* Fix SwigMethods to carry the callback ptrs when needed */
27829 /* -----------------------------------------------------------------------------*/
27832 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27833 swig_const_info
*const_table
,
27834 swig_type_info
**types
,
27835 swig_type_info
**types_initial
) {
27837 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27838 char *c
= methods
[i
].ml_doc
;
27839 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27841 swig_const_info
*ci
= 0;
27842 char *name
= c
+ 10;
27843 for (j
= 0; const_table
[j
].type
; ++j
) {
27844 if (strncmp(const_table
[j
].name
, name
,
27845 strlen(const_table
[j
].name
)) == 0) {
27846 ci
= &(const_table
[j
]);
27851 size_t shift
= (ci
->ptype
) - types
;
27852 swig_type_info
*ty
= types_initial
[shift
];
27853 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27854 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27855 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27858 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27860 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27862 strncpy(buff
, "swig_ptr: ", 10);
27864 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27865 methods
[i
].ml_doc
= ndoc
;
27877 /* -----------------------------------------------------------------------------*
27878 * Partial Init method
27879 * -----------------------------------------------------------------------------*/
27884 SWIGEXPORT
void SWIG_init(void) {
27887 /* Fix SwigMethods to carry the callback ptrs when needed */
27888 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27890 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27891 d
= PyModule_GetDict(m
);
27893 SWIG_InitializeModule(0);
27894 SWIG_InstallConstants(d
,swig_const_table
);
27897 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27898 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27899 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27900 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27901 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27902 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27903 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27904 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27905 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27906 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27907 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27908 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27909 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27910 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27911 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27912 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27913 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27914 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27915 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27916 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27917 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27918 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27919 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27920 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27921 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27922 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27923 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27924 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27925 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27926 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27927 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27928 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27929 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27930 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27931 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27932 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27933 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27934 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27935 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27936 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27937 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27938 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27939 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27940 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27941 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27942 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27943 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27944 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27945 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27946 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27947 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27948 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27949 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27950 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27951 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27952 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27953 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27954 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27955 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27958 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27959 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27960 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27961 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27962 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27963 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27964 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27965 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27966 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27967 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27968 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27969 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27970 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27971 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27972 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27973 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27974 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
28000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
28001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
28002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
28003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
28004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
28005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
28006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
28007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
28008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
28009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
28010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
28011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
28012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
28013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
28014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
28015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
28016 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
28017 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
28018 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
28019 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
28020 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
28021 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
28022 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
28023 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
28025 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
28027 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
28028 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
28029 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
28030 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
28031 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
28032 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
28033 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
28034 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
28035 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
28036 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
28037 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
28038 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
28039 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
28040 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
28041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
28042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
28043 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
28044 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
28045 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
28046 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
28047 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
28048 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
28049 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
28050 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
28051 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
28052 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
28053 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
28054 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
28055 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
28056 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
28057 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
28058 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
28059 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
28060 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
28061 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
28062 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
28063 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
28064 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
28065 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
28066 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
28067 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
28068 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
28069 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
28070 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
28071 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
28072 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
28073 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
28074 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
28075 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
28076 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
28077 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
28078 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
28079 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
28080 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
28081 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
28082 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
28083 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
28084 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
28085 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
28086 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
28087 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
28088 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
28089 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
28090 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
28091 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
28092 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
28093 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
28094 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
28095 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
28096 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
28097 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
28098 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
28099 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
28100 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
28101 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
28102 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
28103 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
28104 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
28105 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
28106 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
28107 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
28108 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
28109 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
28110 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
28111 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
28112 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
28113 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
28114 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
28115 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
28116 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
28117 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
28118 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
28119 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
28120 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
28121 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
28122 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
28123 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
28124 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
28125 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
28126 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
28127 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
28128 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
28129 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
28130 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
28131 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
28132 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
28133 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
28134 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
28135 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
28136 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
28137 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
28138 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
28139 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
28140 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
28141 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
28142 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
28143 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
28144 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
28145 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
28146 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
28147 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
28148 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
28149 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
28150 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
28151 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
28152 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
28153 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
28154 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
28155 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
28156 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
28157 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
28158 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
28159 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
28160 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
28161 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
28162 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
28163 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
28164 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
28165 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
28166 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
28167 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
28168 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
28169 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
28170 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
28171 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
28172 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
28173 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
28174 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
28175 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
28176 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
28177 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
28178 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
28179 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
28180 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
28181 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
28182 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
28183 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
28184 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
28185 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
28186 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
28187 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
28188 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
28189 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
28190 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
28191 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
28192 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
28193 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
28194 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
28195 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
28196 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
28197 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
28198 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
28199 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
28200 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
28201 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
28202 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
28203 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
28204 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
28205 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
28206 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
28207 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
28208 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
28209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
28210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
28211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
28212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
28213 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
28214 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
28215 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
28216 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
28217 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
28218 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
28219 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
28220 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
28221 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
28222 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
28223 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
28224 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
28225 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
28226 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
28227 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
28228 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
28229 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
28230 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
28231 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
28232 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
28233 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
28234 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
28235 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
28236 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
28237 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
28238 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
28239 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
28240 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
28241 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
28242 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
28243 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
28244 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
28245 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
28246 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
28247 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
28248 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
28249 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
28250 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
28251 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
28252 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
28253 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
28254 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
28255 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
28256 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
28257 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
28258 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
28259 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
28260 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
28261 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
28262 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
28263 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
28264 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
28265 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
28266 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
28267 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
28268 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
28269 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
28270 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
28271 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
28272 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
28273 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
28274 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
28275 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
28276 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
28277 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
28278 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
28279 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
28280 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
28281 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
28282 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
28283 SWIG_addvarlink(SWIG_globals(),(char*)"NORMAL_FONT",NORMAL_FONT_get
, NORMAL_FONT_set
);
28284 SWIG_addvarlink(SWIG_globals(),(char*)"SMALL_FONT",SMALL_FONT_get
, SMALL_FONT_set
);
28285 SWIG_addvarlink(SWIG_globals(),(char*)"ITALIC_FONT",ITALIC_FONT_get
, ITALIC_FONT_set
);
28286 SWIG_addvarlink(SWIG_globals(),(char*)"SWISS_FONT",SWISS_FONT_get
, SWISS_FONT_set
);
28287 SWIG_addvarlink(SWIG_globals(),(char*)"RED_PEN",RED_PEN_get
, RED_PEN_set
);
28288 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_PEN",CYAN_PEN_get
, CYAN_PEN_set
);
28289 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_PEN",GREEN_PEN_get
, GREEN_PEN_set
);
28290 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_PEN",BLACK_PEN_get
, BLACK_PEN_set
);
28291 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_PEN",WHITE_PEN_get
, WHITE_PEN_set
);
28292 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_PEN",TRANSPARENT_PEN_get
, TRANSPARENT_PEN_set
);
28293 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_DASHED_PEN",BLACK_DASHED_PEN_get
, BLACK_DASHED_PEN_set
);
28294 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_PEN",GREY_PEN_get
, GREY_PEN_set
);
28295 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_PEN",MEDIUM_GREY_PEN_get
, MEDIUM_GREY_PEN_set
);
28296 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_PEN",LIGHT_GREY_PEN_get
, LIGHT_GREY_PEN_set
);
28297 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE_BRUSH",BLUE_BRUSH_get
, BLUE_BRUSH_set
);
28298 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_BRUSH",GREEN_BRUSH_get
, GREEN_BRUSH_set
);
28299 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_BRUSH",WHITE_BRUSH_get
, WHITE_BRUSH_set
);
28300 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_BRUSH",BLACK_BRUSH_get
, BLACK_BRUSH_set
);
28301 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_BRUSH",TRANSPARENT_BRUSH_get
, TRANSPARENT_BRUSH_set
);
28302 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_BRUSH",CYAN_BRUSH_get
, CYAN_BRUSH_set
);
28303 SWIG_addvarlink(SWIG_globals(),(char*)"RED_BRUSH",RED_BRUSH_get
, RED_BRUSH_set
);
28304 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_BRUSH",GREY_BRUSH_get
, GREY_BRUSH_set
);
28305 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_BRUSH",MEDIUM_GREY_BRUSH_get
, MEDIUM_GREY_BRUSH_set
);
28306 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_BRUSH",LIGHT_GREY_BRUSH_get
, LIGHT_GREY_BRUSH_set
);
28307 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK",BLACK_get
, BLACK_set
);
28308 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE",WHITE_get
, WHITE_set
);
28309 SWIG_addvarlink(SWIG_globals(),(char*)"RED",RED_get
, RED_set
);
28310 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE",BLUE_get
, BLUE_set
);
28311 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN",GREEN_get
, GREEN_set
);
28312 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN",CYAN_get
, CYAN_set
);
28313 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY",LIGHT_GREY_get
, LIGHT_GREY_set
);
28314 SWIG_addvarlink(SWIG_globals(),(char*)"STANDARD_CURSOR",STANDARD_CURSOR_get
, STANDARD_CURSOR_set
);
28315 SWIG_addvarlink(SWIG_globals(),(char*)"HOURGLASS_CURSOR",HOURGLASS_CURSOR_get
, HOURGLASS_CURSOR_set
);
28316 SWIG_addvarlink(SWIG_globals(),(char*)"CROSS_CURSOR",CROSS_CURSOR_get
, CROSS_CURSOR_set
);
28317 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
28318 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
28319 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
28320 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
28321 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
28322 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
28323 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
28324 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
28325 SWIG_addvarlink(SWIG_globals(),(char*)"TheFontList",TheFontList_get
, TheFontList_set
);
28326 SWIG_addvarlink(SWIG_globals(),(char*)"ThePenList",ThePenList_get
, ThePenList_set
);
28327 SWIG_addvarlink(SWIG_globals(),(char*)"TheBrushList",TheBrushList_get
, TheBrushList_set
);
28328 SWIG_addvarlink(SWIG_globals(),(char*)"TheColourDatabase",TheColourDatabase_get
, TheColourDatabase_set
);
28329 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
28330 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
28331 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
28332 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
28333 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
28334 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
28335 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
28336 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
28337 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
28338 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
28339 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
28340 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
28341 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
28342 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
28343 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
28345 // Work around a chicken/egg problem in drawlist.cpp
28346 wxPyDrawList_SetAPIPtr();