1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_double swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2477 #define SWIGTYPE_p_wxBitmap swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxBrush swig_types[13]
2480 #define SWIGTYPE_p_wxBrushList swig_types[14]
2481 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2482 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2485 #define SWIGTYPE_p_wxClientDC swig_types[19]
2486 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[20]
2487 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2488 #define SWIGTYPE_p_wxColour swig_types[22]
2489 #define SWIGTYPE_p_wxColourDatabase swig_types[23]
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2492 #define SWIGTYPE_p_wxControl swig_types[26]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2494 #define SWIGTYPE_p_wxCursor swig_types[28]
2495 #define SWIGTYPE_p_wxDC swig_types[29]
2496 #define SWIGTYPE_p_wxDash swig_types[30]
2497 #define SWIGTYPE_p_wxDateEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2501 #define SWIGTYPE_p_wxEffects swig_types[35]
2502 #define SWIGTYPE_p_wxEncodingConverter swig_types[36]
2503 #define SWIGTYPE_p_wxEraseEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvent swig_types[38]
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506 #define SWIGTYPE_p_wxFSFile swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontList swig_types[45]
2512 #define SWIGTYPE_p_wxFontMapper swig_types[46]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2514 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48]
2515 #define SWIGTYPE_p_wxGDIObject swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconLocation swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxImageList swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLanguageInfo swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxLocale swig_types[68]
2535 #define SWIGTYPE_p_wxMask swig_types[69]
2536 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxMemoryDC swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMetaFile swig_types[76]
2543 #define SWIGTYPE_p_wxMetaFileDC swig_types[77]
2544 #define SWIGTYPE_p_wxMirrorDC swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[82]
2549 #define SWIGTYPE_p_wxNativeFontInfo swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPaintDC swig_types[91]
2558 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPalette swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaperSize swig_types[95]
2562 #define SWIGTYPE_p_wxPen swig_types[96]
2563 #define SWIGTYPE_p_wxPenList swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPostScriptDC swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrinterDC swig_types[101]
2568 #define SWIGTYPE_p_wxPseudoDC swig_types[102]
2569 #define SWIGTYPE_p_wxPyApp swig_types[103]
2570 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2571 #define SWIGTYPE_p_wxPyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[106]
2573 #define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPySizer swig_types[108]
2575 #define SWIGTYPE_p_wxPyValidator swig_types[109]
2576 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[110]
2577 #define SWIGTYPE_p_wxRect swig_types[111]
2578 #define SWIGTYPE_p_wxRegion swig_types[112]
2579 #define SWIGTYPE_p_wxRegionIterator swig_types[113]
2580 #define SWIGTYPE_p_wxRendererNative swig_types[114]
2581 #define SWIGTYPE_p_wxRendererVersion swig_types[115]
2582 #define SWIGTYPE_p_wxScreenDC swig_types[116]
2583 #define SWIGTYPE_p_wxScrollEvent swig_types[117]
2584 #define SWIGTYPE_p_wxScrollWinEvent swig_types[118]
2585 #define SWIGTYPE_p_wxSetCursorEvent swig_types[119]
2586 #define SWIGTYPE_p_wxShowEvent swig_types[120]
2587 #define SWIGTYPE_p_wxSize swig_types[121]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[122]
2589 #define SWIGTYPE_p_wxSizer swig_types[123]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[124]
2591 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[125]
2592 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[126]
2593 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[127]
2594 #define SWIGTYPE_p_wxStockGDI swig_types[128]
2595 #define SWIGTYPE_p_wxString swig_types[129]
2596 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[130]
2597 #define SWIGTYPE_p_wxTIFFHandler swig_types[131]
2598 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[132]
2599 #define SWIGTYPE_p_wxValidator swig_types[133]
2600 #define SWIGTYPE_p_wxWindow swig_types[134]
2601 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[135]
2602 #define SWIGTYPE_p_wxWindowDC swig_types[136]
2603 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[137]
2604 #define SWIGTYPE_p_wxXPMHandler swig_types[138]
2605 static swig_type_info
*swig_types
[140];
2606 static swig_module_info swig_module
= {swig_types
, 139, 0, 0, 0, 0};
2607 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2608 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2610 /* -------- TYPES TABLE (END) -------- */
2612 #if (PY_VERSION_HEX <= 0x02000000)
2613 # if !defined(SWIG_PYTHON_CLASSIC)
2614 # error "This python version requires to use swig with the '-classic' option"
2617 #if (PY_VERSION_HEX <= 0x02020000)
2618 # error "This python version requires to use swig with the '-nomodern' option"
2620 #if (PY_VERSION_HEX <= 0x02020000)
2621 # error "This python version requires to use swig with the '-nomodernargs' option"
2624 # error "This python version requires to use swig with the '-nofastunpack' option"
2627 /*-----------------------------------------------
2628 @(target):= _gdi_.so
2629 ------------------------------------------------*/
2630 #define SWIG_init init_gdi_
2632 #define SWIG_name "_gdi_"
2634 #define SWIGVERSION 0x010329
2637 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2638 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2641 #include <stdexcept>
2645 class PyObject_ptr
{
2650 PyObject_ptr() :_obj(0)
2654 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2659 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2661 if (initial_ref
) Py_XINCREF(_obj
);
2664 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2666 Py_XINCREF(item
._obj
);
2677 operator PyObject
*() const
2682 PyObject
*operator->() const
2691 struct PyObject_var
: PyObject_ptr
{
2692 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2694 PyObject_var
& operator = (PyObject
* obj
)
2704 #include "wx/wxPython/wxPython.h"
2705 #include "wx/wxPython/pyclasses.h"
2708 static const wxString
wxPyEmptyString(wxEmptyString
);
2710 #define SWIG_From_long PyInt_FromLong
2713 SWIGINTERNINLINE PyObject
*
2714 SWIG_From_int (int value
)
2716 return SWIG_From_long (value
);
2722 # define LLONG_MIN LONG_LONG_MIN
2725 # define LLONG_MAX LONG_LONG_MAX
2728 # define ULLONG_MAX ULONG_LONG_MAX
2733 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2735 if (PyNumber_Check(obj
)) {
2736 if (val
) *val
= PyInt_AsLong(obj
);
2739 return SWIG_TypeError
;
2744 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2747 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2748 return SWIG_TypeError
;
2751 *val
= (unsigned long)v
;
2757 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2760 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
> UCHAR_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< unsigned char >(v
);
2772 SWIGINTERNINLINE PyObject
*
2773 SWIG_From_unsigned_SS_long (unsigned long value
)
2775 return (value
> LONG_MAX
) ?
2776 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2780 SWIGINTERNINLINE PyObject
*
2781 SWIG_From_unsigned_SS_char (unsigned char value
)
2783 return SWIG_From_unsigned_SS_long (value
);
2786 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2787 wxColour temp
, *obj
= &temp
;
2788 if ( other
== Py_None
) return false;
2789 if ( ! wxColour_helper(other
, &obj
) ) {
2793 return self
->operator==(*obj
);
2795 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2796 wxColour temp
, *obj
= &temp
;
2797 if ( other
== Py_None
) return true;
2798 if ( ! wxColour_helper(other
, &obj
)) {
2802 return self
->operator!=(*obj
);
2804 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2805 PyObject
* rv
= PyTuple_New(3);
2811 green
= self
->Green();
2812 blue
= self
->Blue();
2814 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2815 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2816 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2819 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2820 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2824 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2827 int res
= SWIG_AsVal_long (obj
, &v
);
2828 if (SWIG_IsOK(res
)) {
2829 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2830 return SWIG_OverflowError
;
2832 if (val
) *val
= static_cast< int >(v
);
2838 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2840 int count
= self
->GetDashes(&dashes
);
2841 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2842 PyObject
* retval
= PyList_New(0);
2843 for (int x
=0; x
<count
; x
++) {
2844 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2845 PyList_Append(retval
, pyint
);
2848 wxPyEndBlockThreads(blocked
);
2851 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 int size
= PyList_Size(pyDashes
);
2854 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2856 // black magic warning! The array of wxDashes needs to exist as
2857 // long as the pen does because wxPen does not copy the array. So
2858 // stick a copy in a Python string object and attach it to _self,
2859 // and then call SetDashes with a pointer to that array. Then
2860 // when the Python pen object is destroyed the array will be
2862 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2863 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2865 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2867 Py_DECREF(strDashes
);
2868 wxPyEndBlockThreads(blocked
);
2870 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2871 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2873 #include <wx/image.h>
2875 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2876 char** cArray
= NULL
;
2879 if (!PyList_Check(listOfStrings
)) {
2880 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2883 count
= PyList_Size(listOfStrings
);
2884 cArray
= new char*[count
];
2886 for(int x
=0; x
<count
; x
++) {
2887 // TODO: Need some validation and error checking here
2888 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2894 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2895 char** cArray
= NULL
;
2898 cArray
= ConvertListOfStrings(listOfStrings
);
2901 bmp
= new wxBitmap(cArray
);
2905 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2908 PyString_AsStringAndSize(bits
, &buf
, &length
);
2909 return new wxBitmap(buf
, width
, height
, depth
);
2911 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2912 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2913 wxSize
size(self
->GetWidth(), self
->GetHeight());
2916 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2917 wxMask
*mask
= new wxMask(*self
, colour
);
2918 self
->SetMask(mask
);
2920 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2921 self
->SetWidth(size
.x
);
2922 self
->SetHeight(size
.y
);
2924 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2926 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2928 return new wxMask(bitmap
, *wxBLACK
);
2930 return new wxMask(bitmap
, colour
);
2933 #include <wx/iconbndl.h>
2935 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2936 wxIcon
* icon
= new wxIcon();
2937 icon
->CopyFromBitmap(bmp
);
2940 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2941 char** cArray
= NULL
;
2944 cArray
= ConvertListOfStrings(listOfStrings
);
2947 icon
= new wxIcon(cArray
);
2951 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2952 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2954 return new wxIconLocation(*filename
, num
);
2959 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2961 self
->SetIndex(num
);
2966 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2968 return self
->GetIndex();
2973 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2975 wxImage
img(cursorName
, type
);
2976 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2977 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2978 return new wxCursor(img
);
2980 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2983 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2986 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2989 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2990 return self
->operator bool();
2993 #include <wx/fontutil.h>
2994 #include <wx/fontmap.h>
2995 #include <wx/fontenum.h>
2999 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3001 if (obj
== Py_True
) {
3002 if (val
) *val
= true;
3004 } else if (obj
== Py_False
) {
3005 if (val
) *val
= false;
3009 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3010 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3015 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3016 return self
->ToString();
3019 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3020 { wxPyRaiseNotImplemented(); return NULL
; }
3022 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3023 { wxPyRaiseNotImplemented(); return false; }
3026 SWIGINTERNINLINE PyObject
*
3027 SWIG_From_size_t (size_t value
)
3029 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3033 SWIGINTERNINLINE
int
3034 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3037 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3038 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3042 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3043 wxFontEncoding alt_enc
;
3044 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3045 return PyInt_FromLong(alt_enc
);
3051 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3052 wxNativeFontInfo nfi
;
3053 nfi
.FromString(info
);
3054 return new wxFont(nfi
);
3056 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3057 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3059 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3060 return wxFontBase::New(pixelSize
, family
,
3061 style
, weight
, underlined
,
3064 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3065 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3067 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3068 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3070 class wxPyFontEnumerator
: public wxFontEnumerator
{
3072 wxPyFontEnumerator() {}
3073 ~wxPyFontEnumerator() {}
3075 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3076 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3081 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3082 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3085 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3087 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3088 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3089 ret
= wxArrayString2PyList_helper(arr
);
3090 wxPyEndBlockThreads(blocked
);
3093 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3095 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 ret
= wxArrayString2PyList_helper(arr
);
3098 wxPyEndBlockThreads(blocked
);
3104 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3107 loc
= new wxLocale();
3109 loc
= new wxLocale(language
, flags
);
3110 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3111 // for the floating point conversions and such to work right.
3112 #if PY_VERSION_HEX < 0x02040000
3113 setlocale(LC_NUMERIC
, "C");
3117 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3118 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3119 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3120 // for the floating point conversions and such to work right.
3121 #if PY_VERSION_HEX < 0x02040000
3122 setlocale(LC_NUMERIC
, "C");
3126 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3127 bool rc
= self
->Init(language
, flags
);
3128 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3129 // for the floating point conversions and such to work right.
3130 #if PY_VERSION_HEX < 0x02040000
3131 setlocale(LC_NUMERIC
, "C");
3136 #include "wx/wxPython/pydrawxxx.h"
3138 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3140 self
->GetPixel(x
, y
, &col
);
3143 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3145 self
->GetPixel(pt
, &col
);
3150 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3152 if (PyNumber_Check(obj
)) {
3153 if (val
) *val
= PyFloat_AsDouble(obj
);
3156 return SWIG_TypeError
;
3159 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3161 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3164 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3166 self
->GetClippingBox(rect
);
3169 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3171 self
->GetPartialTextExtents(text
, widths
);
3175 #define SWIG_From_double PyFloat_FromDouble
3177 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3178 self
->SetLogicalOrigin(point
.x
, point
.y
);
3180 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3181 self
->SetDeviceOrigin(point
.x
, point
.y
);
3183 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3184 self
->CalcBoundingBox(point
.x
, point
.y
);
3186 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3187 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3189 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3190 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3192 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3193 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3195 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3196 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3198 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3199 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3201 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3202 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3205 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3213 #include <wx/dcbuffer.h>
3216 #include <wx/dcps.h>
3219 #include <wx/metafile.h>
3223 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3224 self
->AddColour(name
, wxColour(red
, green
, blue
));
3227 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3228 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3229 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3230 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3233 #include <wx/effects.h>
3236 #include "wx/renderer.h"
3239 SWIGINTERNINLINE PyObject
*
3240 SWIG_From_bool (bool value
)
3242 return PyBool_FromLong(value
? 1 : 0);
3246 #include "wx/wxPython/pseudodc.h"
3248 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3250 self
->GetIdBounds(id
, rect
);
3256 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3257 PyObject
*resultobj
= 0;
3258 wxGDIObject
*result
= 0 ;
3260 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3262 if (!wxPyCheckForApp()) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (wxGDIObject
*)new wxGDIObject();
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3275 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3276 PyObject
*resultobj
= 0;
3277 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3280 PyObject
*swig_obj
[1] ;
3282 if (!args
) SWIG_fail
;
3284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3285 if (!SWIG_IsOK(res1
)) {
3286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3288 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 resultobj
= SWIG_Py_Void();
3303 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3304 PyObject
*resultobj
= 0;
3305 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3309 PyObject
*swig_obj
[1] ;
3311 if (!args
) SWIG_fail
;
3313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3314 if (!SWIG_IsOK(res1
)) {
3315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3317 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (bool)(arg1
)->IsNull();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3333 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3336 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3337 return SWIG_Py_Void();
3340 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3341 return SWIG_Python_InitShadowInstance(args
);
3344 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
= 0;
3346 byte arg1
= (byte
) 0 ;
3347 byte arg2
= (byte
) 0 ;
3348 byte arg3
= (byte
) 0 ;
3349 wxColour
*result
= 0 ;
3350 unsigned char val1
;
3352 unsigned char val2
;
3354 unsigned char val3
;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3358 PyObject
* obj2
= 0 ;
3359 char * kwnames
[] = {
3360 (char *) "red",(char *) "green",(char *) "blue", NULL
3363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3365 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3366 if (!SWIG_IsOK(ecode1
)) {
3367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3369 arg1
= static_cast< byte
>(val1
);
3372 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3373 if (!SWIG_IsOK(ecode2
)) {
3374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3376 arg2
= static_cast< byte
>(val2
);
3379 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3380 if (!SWIG_IsOK(ecode3
)) {
3381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3383 arg3
= static_cast< byte
>(val3
);
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3398 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxString
*arg1
= 0 ;
3401 wxColour
*result
= 0 ;
3402 bool temp1
= false ;
3403 PyObject
* obj0
= 0 ;
3404 char * kwnames
[] = {
3405 (char *) "colorName", NULL
3408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3410 arg1
= wxString_in_helper(obj0
);
3411 if (arg1
== NULL
) SWIG_fail
;
3415 if (!wxPyCheckForApp()) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3436 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
= 0;
3438 unsigned long arg1
;
3439 wxColour
*result
= 0 ;
3440 unsigned long val1
;
3442 PyObject
* obj0
= 0 ;
3443 char * kwnames
[] = {
3444 (char *) "colRGB", NULL
3447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3448 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3449 if (!SWIG_IsOK(ecode1
)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3452 arg1
= static_cast< unsigned long >(val1
);
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 result
= (wxColour
*)new wxColour(arg1
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3466 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3467 PyObject
*resultobj
= 0;
3468 wxColour
*arg1
= (wxColour
*) 0 ;
3471 PyObject
*swig_obj
[1] ;
3473 if (!args
) SWIG_fail
;
3475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3476 if (!SWIG_IsOK(res1
)) {
3477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3479 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 resultobj
= SWIG_Py_Void();
3494 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3495 PyObject
*resultobj
= 0;
3496 wxColour
*arg1
= (wxColour
*) 0 ;
3500 PyObject
*swig_obj
[1] ;
3502 if (!args
) SWIG_fail
;
3504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3505 if (!SWIG_IsOK(res1
)) {
3506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3508 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (byte
)(arg1
)->Red();
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3522 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3523 PyObject
*resultobj
= 0;
3524 wxColour
*arg1
= (wxColour
*) 0 ;
3528 PyObject
*swig_obj
[1] ;
3530 if (!args
) SWIG_fail
;
3532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3533 if (!SWIG_IsOK(res1
)) {
3534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3536 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (byte
)(arg1
)->Green();
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3550 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3551 PyObject
*resultobj
= 0;
3552 wxColour
*arg1
= (wxColour
*) 0 ;
3556 PyObject
*swig_obj
[1] ;
3558 if (!args
) SWIG_fail
;
3560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3561 if (!SWIG_IsOK(res1
)) {
3562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3564 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (byte
)(arg1
)->Blue();
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3578 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3579 PyObject
*resultobj
= 0;
3580 wxColour
*arg1
= (wxColour
*) 0 ;
3584 PyObject
*swig_obj
[1] ;
3586 if (!args
) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3592 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (bool)(arg1
)->Ok();
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3608 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
= 0;
3610 wxColour
*arg1
= (wxColour
*) 0 ;
3616 unsigned char val2
;
3618 unsigned char val3
;
3620 unsigned char val4
;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3624 PyObject
* obj2
= 0 ;
3625 PyObject
* obj3
= 0 ;
3626 char * kwnames
[] = {
3627 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3632 if (!SWIG_IsOK(res1
)) {
3633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3635 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3636 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3637 if (!SWIG_IsOK(ecode2
)) {
3638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3640 arg2
= static_cast< byte
>(val2
);
3641 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3642 if (!SWIG_IsOK(ecode3
)) {
3643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3645 arg3
= static_cast< byte
>(val3
);
3646 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3647 if (!SWIG_IsOK(ecode4
)) {
3648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3650 arg4
= static_cast< byte
>(val4
);
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->Set(arg2
,arg3
,arg4
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= SWIG_Py_Void();
3664 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
= 0;
3666 wxColour
*arg1
= (wxColour
*) 0 ;
3667 unsigned long arg2
;
3670 unsigned long val2
;
3672 PyObject
* obj0
= 0 ;
3673 PyObject
* obj1
= 0 ;
3674 char * kwnames
[] = {
3675 (char *) "self",(char *) "colRGB", NULL
3678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3680 if (!SWIG_IsOK(res1
)) {
3681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3683 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3684 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3685 if (!SWIG_IsOK(ecode2
)) {
3686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3688 arg2
= static_cast< unsigned long >(val2
);
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= SWIG_Py_Void();
3702 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
= 0;
3704 wxColour
*arg1
= (wxColour
*) 0 ;
3705 wxString
*arg2
= 0 ;
3708 bool temp2
= false ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 char * kwnames
[] = {
3712 (char *) "self",(char *) "colourName", NULL
3715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3717 if (!SWIG_IsOK(res1
)) {
3718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3720 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3722 arg2
= wxString_in_helper(obj1
);
3723 if (arg2
== NULL
) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 (arg1
)->InitFromName((wxString
const &)*arg2
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 resultobj
= SWIG_Py_Void();
3747 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
= 0;
3749 wxColour
*arg1
= (wxColour
*) 0 ;
3750 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3758 char * kwnames
[] = {
3759 (char *) "self",(char *) "flags", NULL
3762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3764 if (!SWIG_IsOK(res1
)) {
3765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3767 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3769 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3770 if (!SWIG_IsOK(ecode2
)) {
3771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3773 arg2
= static_cast< long >(val2
);
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3794 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3795 PyObject
*resultobj
= 0;
3796 wxColour
*arg1
= (wxColour
*) 0 ;
3800 PyObject
*swig_obj
[1] ;
3802 if (!args
) SWIG_fail
;
3804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3805 if (!SWIG_IsOK(res1
)) {
3806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3808 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= SWIG_From_long(static_cast< long >(result
));
3822 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
= 0;
3824 wxColour
*arg1
= (wxColour
*) 0 ;
3825 PyObject
*arg2
= (PyObject
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3831 char * kwnames
[] = {
3832 (char *) "self",(char *) "other", NULL
3835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3837 if (!SWIG_IsOK(res1
)) {
3838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3840 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3843 result
= (bool)wxColour___eq__(arg1
,arg2
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3855 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
= 0;
3857 wxColour
*arg1
= (wxColour
*) 0 ;
3858 PyObject
*arg2
= (PyObject
*) 0 ;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3864 char * kwnames
[] = {
3865 (char *) "self",(char *) "other", NULL
3868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3870 if (!SWIG_IsOK(res1
)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3873 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3876 result
= (bool)wxColour___ne__(arg1
,arg2
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3888 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3889 PyObject
*resultobj
= 0;
3890 wxColour
*arg1
= (wxColour
*) 0 ;
3891 PyObject
*result
= 0 ;
3894 PyObject
*swig_obj
[1] ;
3896 if (!args
) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3902 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (PyObject
*)wxColour_Get(arg1
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3916 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3917 PyObject
*resultobj
= 0;
3918 wxColour
*arg1
= (wxColour
*) 0 ;
3919 unsigned long result
;
3922 PyObject
*swig_obj
[1] ;
3924 if (!args
) SWIG_fail
;
3926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3927 if (!SWIG_IsOK(res1
)) {
3928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3930 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (unsigned long)wxColour_GetRGB(arg1
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3944 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3947 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3948 return SWIG_Py_Void();
3951 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3952 return SWIG_Python_InitShadowInstance(args
);
3955 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
= 0;
3958 unsigned char *arg2
= (unsigned char *) 0 ;
3959 unsigned char *arg3
= (unsigned char *) 0 ;
3960 unsigned char *arg4
= (unsigned char *) 0 ;
3961 wxPalette
*result
= 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3972 PyObject
* obj2
= 0 ;
3973 PyObject
* obj3
= 0 ;
3974 char * kwnames
[] = {
3975 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3980 if (!SWIG_IsOK(ecode1
)) {
3981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3983 arg1
= static_cast< int >(val1
);
3984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3985 if (!SWIG_IsOK(res2
)) {
3986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3988 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3989 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3990 if (!SWIG_IsOK(res3
)) {
3991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3993 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3994 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3995 if (!SWIG_IsOK(res4
)) {
3996 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3998 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4000 if (!wxPyCheckForApp()) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4013 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4014 PyObject
*resultobj
= 0;
4015 wxPalette
*arg1
= (wxPalette
*) 0 ;
4018 PyObject
*swig_obj
[1] ;
4020 if (!args
) SWIG_fail
;
4022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4023 if (!SWIG_IsOK(res1
)) {
4024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4026 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_Py_Void();
4041 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
= 0;
4043 wxPalette
*arg1
= (wxPalette
*) 0 ;
4050 unsigned char val2
;
4052 unsigned char val3
;
4054 unsigned char val4
;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4058 PyObject
* obj2
= 0 ;
4059 PyObject
* obj3
= 0 ;
4060 char * kwnames
[] = {
4061 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4066 if (!SWIG_IsOK(res1
)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4069 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4070 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4071 if (!SWIG_IsOK(ecode2
)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4074 arg2
= static_cast< byte
>(val2
);
4075 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4076 if (!SWIG_IsOK(ecode3
)) {
4077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4079 arg3
= static_cast< byte
>(val3
);
4080 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4081 if (!SWIG_IsOK(ecode4
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4084 arg4
= static_cast< byte
>(val4
);
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_From_int(static_cast< int >(result
));
4098 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
= 0;
4100 wxPalette
*arg1
= (wxPalette
*) 0 ;
4102 byte
*arg3
= (byte
*) 0 ;
4103 byte
*arg4
= (byte
*) 0 ;
4104 byte
*arg5
= (byte
*) 0 ;
4111 int res3
= SWIG_TMPOBJ
;
4113 int res4
= SWIG_TMPOBJ
;
4115 int res5
= SWIG_TMPOBJ
;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4118 char * kwnames
[] = {
4119 (char *) "self",(char *) "pixel", NULL
4125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4127 if (!SWIG_IsOK(res1
)) {
4128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4130 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4132 if (!SWIG_IsOK(ecode2
)) {
4133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4135 arg2
= static_cast< int >(val2
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4145 if (SWIG_IsTmpObj(res3
)) {
4146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4148 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4151 if (SWIG_IsTmpObj(res4
)) {
4152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4154 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4157 if (SWIG_IsTmpObj(res5
)) {
4158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4160 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4169 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4170 PyObject
*resultobj
= 0;
4171 wxPalette
*arg1
= (wxPalette
*) 0 ;
4175 PyObject
*swig_obj
[1] ;
4177 if (!args
) SWIG_fail
;
4179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4180 if (!SWIG_IsOK(res1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4183 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_From_int(static_cast< int >(result
));
4197 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4198 PyObject
*resultobj
= 0;
4199 wxPalette
*arg1
= (wxPalette
*) 0 ;
4203 PyObject
*swig_obj
[1] ;
4205 if (!args
) SWIG_fail
;
4207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4208 if (!SWIG_IsOK(res1
)) {
4209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4211 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (bool)(arg1
)->Ok();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4227 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4230 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4231 return SWIG_Py_Void();
4234 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4235 return SWIG_Python_InitShadowInstance(args
);
4238 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
= 0;
4240 wxColour
*arg1
= 0 ;
4241 int arg2
= (int) 1 ;
4242 int arg3
= (int) wxSOLID
;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4251 PyObject
* obj2
= 0 ;
4252 char * kwnames
[] = {
4253 (char *) "colour",(char *) "width",(char *) "style", NULL
4256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4259 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4263 if (!SWIG_IsOK(ecode2
)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4266 arg2
= static_cast< int >(val2
);
4269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4270 if (!SWIG_IsOK(ecode3
)) {
4271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4273 arg3
= static_cast< int >(val3
);
4276 if (!wxPyCheckForApp()) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4289 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4290 PyObject
*resultobj
= 0;
4291 wxPen
*arg1
= (wxPen
*) 0 ;
4294 PyObject
*swig_obj
[1] ;
4296 if (!args
) SWIG_fail
;
4298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4299 if (!SWIG_IsOK(res1
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4302 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_Py_Void();
4317 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4318 PyObject
*resultobj
= 0;
4319 wxPen
*arg1
= (wxPen
*) 0 ;
4323 PyObject
*swig_obj
[1] ;
4325 if (!args
) SWIG_fail
;
4327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4328 if (!SWIG_IsOK(res1
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4331 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (int)(arg1
)->GetCap();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_From_int(static_cast< int >(result
));
4345 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4346 PyObject
*resultobj
= 0;
4347 wxPen
*arg1
= (wxPen
*) 0 ;
4351 PyObject
*swig_obj
[1] ;
4353 if (!args
) SWIG_fail
;
4355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4356 if (!SWIG_IsOK(res1
)) {
4357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4359 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (arg1
)->GetColour();
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4373 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4374 PyObject
*resultobj
= 0;
4375 wxPen
*arg1
= (wxPen
*) 0 ;
4379 PyObject
*swig_obj
[1] ;
4381 if (!args
) SWIG_fail
;
4383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4384 if (!SWIG_IsOK(res1
)) {
4385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4387 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 result
= (int)(arg1
)->GetJoin();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= SWIG_From_int(static_cast< int >(result
));
4401 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4402 PyObject
*resultobj
= 0;
4403 wxPen
*arg1
= (wxPen
*) 0 ;
4407 PyObject
*swig_obj
[1] ;
4409 if (!args
) SWIG_fail
;
4411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4412 if (!SWIG_IsOK(res1
)) {
4413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4415 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (int)(arg1
)->GetStyle();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_From_int(static_cast< int >(result
));
4429 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4430 PyObject
*resultobj
= 0;
4431 wxPen
*arg1
= (wxPen
*) 0 ;
4435 PyObject
*swig_obj
[1] ;
4437 if (!args
) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4443 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (int)(arg1
)->GetWidth();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_From_int(static_cast< int >(result
));
4457 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 PyObject
*resultobj
= 0;
4459 wxPen
*arg1
= (wxPen
*) 0 ;
4463 PyObject
*swig_obj
[1] ;
4465 if (!args
) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4471 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (bool)(arg1
)->Ok();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4487 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4489 wxPen
*arg1
= (wxPen
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4497 char * kwnames
[] = {
4498 (char *) "self",(char *) "cap_style", NULL
4501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4503 if (!SWIG_IsOK(res1
)) {
4504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4506 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4508 if (!SWIG_IsOK(ecode2
)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4511 arg2
= static_cast< int >(val2
);
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->SetCap(arg2
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_Py_Void();
4525 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
= 0;
4527 wxPen
*arg1
= (wxPen
*) 0 ;
4528 wxColour
*arg2
= 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4534 char * kwnames
[] = {
4535 (char *) "self",(char *) "colour", NULL
4538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4540 if (!SWIG_IsOK(res1
)) {
4541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4543 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 (arg1
)->SetColour(*arg2
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4561 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= 0;
4563 wxPen
*arg1
= (wxPen
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 char * kwnames
[] = {
4572 (char *) "self",(char *) "join_style", NULL
4575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4577 if (!SWIG_IsOK(res1
)) {
4578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4580 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4582 if (!SWIG_IsOK(ecode2
)) {
4583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4585 arg2
= static_cast< int >(val2
);
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 (arg1
)->SetJoin(arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_Py_Void();
4599 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
= 0;
4601 wxPen
*arg1
= (wxPen
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4609 char * kwnames
[] = {
4610 (char *) "self",(char *) "style", NULL
4613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4615 if (!SWIG_IsOK(res1
)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4618 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4620 if (!SWIG_IsOK(ecode2
)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4623 arg2
= static_cast< int >(val2
);
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 (arg1
)->SetStyle(arg2
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_Py_Void();
4637 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4639 wxPen
*arg1
= (wxPen
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4646 PyObject
* obj1
= 0 ;
4647 char * kwnames
[] = {
4648 (char *) "self",(char *) "width", NULL
4651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4653 if (!SWIG_IsOK(res1
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4656 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4658 if (!SWIG_IsOK(ecode2
)) {
4659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4661 arg2
= static_cast< int >(val2
);
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->SetWidth(arg2
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_Py_Void();
4675 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= 0;
4677 wxPen
*arg1
= (wxPen
*) 0 ;
4679 wxDash
*arg3
= (wxDash
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4684 char * kwnames
[] = {
4685 (char *) "self",(char *) "dashes", NULL
4688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4690 if (!SWIG_IsOK(res1
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4693 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4695 arg2
= PyList_Size(obj1
);
4696 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4697 if (arg3
== NULL
) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->SetDashes(arg2
,arg3
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_Py_Void();
4707 if (arg3
) delete [] arg3
;
4712 if (arg3
) delete [] arg3
;
4718 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4719 PyObject
*resultobj
= 0;
4720 wxPen
*arg1
= (wxPen
*) 0 ;
4721 PyObject
*result
= 0 ;
4724 PyObject
*swig_obj
[1] ;
4726 if (!args
) SWIG_fail
;
4728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4729 if (!SWIG_IsOK(res1
)) {
4730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4732 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4746 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
= 0;
4748 wxPen
*arg1
= (wxPen
*) 0 ;
4749 PyObject
*arg2
= (PyObject
*) 0 ;
4750 PyObject
*arg3
= (PyObject
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 char * kwnames
[] = {
4757 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4762 if (!SWIG_IsOK(res1
)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4765 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 wxPen__SetDashes(arg1
,arg2
,arg3
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= SWIG_Py_Void();
4781 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4782 PyObject
*resultobj
= 0;
4783 wxPen
*arg1
= (wxPen
*) 0 ;
4787 PyObject
*swig_obj
[1] ;
4789 if (!args
) SWIG_fail
;
4791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4792 if (!SWIG_IsOK(res1
)) {
4793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4795 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_From_int(static_cast< int >(result
));
4809 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4810 PyObject
*resultobj
= 0;
4811 wxPen
*arg1
= (wxPen
*) 0 ;
4812 wxBitmap
*result
= 0 ;
4815 PyObject
*swig_obj
[1] ;
4817 if (!args
) SWIG_fail
;
4819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4820 if (!SWIG_IsOK(res1
)) {
4821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4823 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxBitmap
*)(arg1
)->GetStipple();
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4837 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
= 0;
4839 wxPen
*arg1
= (wxPen
*) 0 ;
4840 wxBitmap
*arg2
= 0 ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4847 char * kwnames
[] = {
4848 (char *) "self",(char *) "stipple", NULL
4851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4853 if (!SWIG_IsOK(res1
)) {
4854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4856 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4858 if (!SWIG_IsOK(res2
)) {
4859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4864 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 (arg1
)->SetStipple(*arg2
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= SWIG_Py_Void();
4878 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
= 0;
4880 wxPen
*arg1
= (wxPen
*) 0 ;
4881 wxPen
*arg2
= (wxPen
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 char * kwnames
[] = {
4890 (char *) "self",(char *) "other", NULL
4893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4895 if (!SWIG_IsOK(res1
)) {
4896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4898 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4899 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4900 if (!SWIG_IsOK(res2
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4903 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4919 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
= 0;
4921 wxPen
*arg1
= (wxPen
*) 0 ;
4922 wxPen
*arg2
= (wxPen
*) 0 ;
4928 PyObject
* obj0
= 0 ;
4929 PyObject
* obj1
= 0 ;
4930 char * kwnames
[] = {
4931 (char *) "self",(char *) "other", NULL
4934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4939 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4941 if (!SWIG_IsOK(res2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4944 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4960 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4963 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4964 return SWIG_Py_Void();
4967 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4968 return SWIG_Python_InitShadowInstance(args
);
4971 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
= 0;
4973 wxColour
*arg1
= 0 ;
4974 int arg2
= (int) wxSOLID
;
4975 wxBrush
*result
= 0 ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4981 char * kwnames
[] = {
4982 (char *) "colour",(char *) "style", NULL
4985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4988 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4992 if (!SWIG_IsOK(ecode2
)) {
4993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4995 arg2
= static_cast< int >(val2
);
4998 if (!wxPyCheckForApp()) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5011 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
= 0;
5013 wxBitmap
*arg1
= 0 ;
5014 wxBrush
*result
= 0 ;
5017 PyObject
* obj0
= 0 ;
5018 char * kwnames
[] = {
5019 (char *) "stippleBitmap", NULL
5022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5023 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5024 if (!SWIG_IsOK(res1
)) {
5025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5030 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5032 if (!wxPyCheckForApp()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5045 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 PyObject
*resultobj
= 0;
5047 wxBrush
*arg1
= (wxBrush
*) 0 ;
5050 PyObject
*swig_obj
[1] ;
5052 if (!args
) SWIG_fail
;
5054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5055 if (!SWIG_IsOK(res1
)) {
5056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5058 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_Py_Void();
5073 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
= 0;
5075 wxBrush
*arg1
= (wxBrush
*) 0 ;
5076 wxColour
*arg2
= 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5082 char * kwnames
[] = {
5083 (char *) "self",(char *) "col", NULL
5086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5088 if (!SWIG_IsOK(res1
)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5091 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetColour((wxColour
const &)*arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_Py_Void();
5109 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
= 0;
5111 wxBrush
*arg1
= (wxBrush
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 char * kwnames
[] = {
5120 (char *) "self",(char *) "style", NULL
5123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5125 if (!SWIG_IsOK(res1
)) {
5126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5128 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5130 if (!SWIG_IsOK(ecode2
)) {
5131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5133 arg2
= static_cast< int >(val2
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->SetStyle(arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_Py_Void();
5147 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
= 0;
5149 wxBrush
*arg1
= (wxBrush
*) 0 ;
5150 wxBitmap
*arg2
= 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 char * kwnames
[] = {
5158 (char *) "self",(char *) "stipple", NULL
5161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5166 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5168 if (!SWIG_IsOK(res2
)) {
5169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5174 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_Py_Void();
5188 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5189 PyObject
*resultobj
= 0;
5190 wxBrush
*arg1
= (wxBrush
*) 0 ;
5194 PyObject
*swig_obj
[1] ;
5196 if (!args
) SWIG_fail
;
5198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5199 if (!SWIG_IsOK(res1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5202 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= ((wxBrush
const *)arg1
)->GetColour();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5216 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5217 PyObject
*resultobj
= 0;
5218 wxBrush
*arg1
= (wxBrush
*) 0 ;
5222 PyObject
*swig_obj
[1] ;
5224 if (!args
) SWIG_fail
;
5226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5227 if (!SWIG_IsOK(res1
)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5230 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_From_int(static_cast< int >(result
));
5244 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5245 PyObject
*resultobj
= 0;
5246 wxBrush
*arg1
= (wxBrush
*) 0 ;
5247 wxBitmap
*result
= 0 ;
5250 PyObject
*swig_obj
[1] ;
5252 if (!args
) SWIG_fail
;
5254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5255 if (!SWIG_IsOK(res1
)) {
5256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5258 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5272 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5273 PyObject
*resultobj
= 0;
5274 wxBrush
*arg1
= (wxBrush
*) 0 ;
5278 PyObject
*swig_obj
[1] ;
5280 if (!args
) SWIG_fail
;
5282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5283 if (!SWIG_IsOK(res1
)) {
5284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5286 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5302 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5303 PyObject
*resultobj
= 0;
5304 wxBrush
*arg1
= (wxBrush
*) 0 ;
5308 PyObject
*swig_obj
[1] ;
5310 if (!args
) SWIG_fail
;
5312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5313 if (!SWIG_IsOK(res1
)) {
5314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5316 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (bool)(arg1
)->Ok();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5332 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5335 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5336 return SWIG_Py_Void();
5339 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5340 return SWIG_Python_InitShadowInstance(args
);
5343 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
= 0;
5345 wxString
*arg1
= 0 ;
5346 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5347 wxBitmap
*result
= 0 ;
5348 bool temp1
= false ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5353 char * kwnames
[] = {
5354 (char *) "name",(char *) "type", NULL
5357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5359 arg1
= wxString_in_helper(obj0
);
5360 if (arg1
== NULL
) SWIG_fail
;
5364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5365 if (!SWIG_IsOK(ecode2
)) {
5366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5368 arg2
= static_cast< wxBitmapType
>(val2
);
5371 if (!wxPyCheckForApp()) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5392 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5394 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5397 PyObject
*swig_obj
[1] ;
5399 if (!args
) SWIG_fail
;
5401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5402 if (!SWIG_IsOK(res1
)) {
5403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_Py_Void();
5420 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
= 0;
5424 int arg3
= (int) -1 ;
5425 wxBitmap
*result
= 0 ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5434 PyObject
* obj2
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "width",(char *) "height",(char *) "depth", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5441 if (!SWIG_IsOK(ecode1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5444 arg1
= static_cast< int >(val1
);
5445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5446 if (!SWIG_IsOK(ecode2
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5449 arg2
= static_cast< int >(val2
);
5451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5452 if (!SWIG_IsOK(ecode3
)) {
5453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5455 arg3
= static_cast< int >(val3
);
5458 if (!wxPyCheckForApp()) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5471 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
= 0;
5474 wxBitmap
*result
= 0 ;
5477 PyObject
* obj0
= 0 ;
5478 char * kwnames
[] = {
5479 (char *) "icon", NULL
5482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5483 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5484 if (!SWIG_IsOK(res1
)) {
5485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5490 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5492 if (!wxPyCheckForApp()) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5505 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
= 0;
5508 int arg2
= (int) -1 ;
5509 wxBitmap
*result
= 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 char * kwnames
[] = {
5517 (char *) "image",(char *) "depth", NULL
5520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5521 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5522 if (!SWIG_IsOK(res1
)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5528 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5531 if (!SWIG_IsOK(ecode2
)) {
5532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5534 arg2
= static_cast< int >(val2
);
5537 if (!wxPyCheckForApp()) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5550 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
= 0;
5552 PyObject
*arg1
= (PyObject
*) 0 ;
5553 wxBitmap
*result
= 0 ;
5554 PyObject
* obj0
= 0 ;
5555 char * kwnames
[] = {
5556 (char *) "listOfStrings", NULL
5559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5562 if (!wxPyCheckForApp()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5575 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
= 0;
5577 PyObject
*arg1
= (PyObject
*) 0 ;
5580 int arg4
= (int) 1 ;
5581 wxBitmap
*result
= 0 ;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5590 PyObject
* obj2
= 0 ;
5591 PyObject
* obj3
= 0 ;
5592 char * kwnames
[] = {
5593 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5599 if (!SWIG_IsOK(ecode2
)) {
5600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5602 arg2
= static_cast< int >(val2
);
5603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5604 if (!SWIG_IsOK(ecode3
)) {
5605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5607 arg3
= static_cast< int >(val3
);
5609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5610 if (!SWIG_IsOK(ecode4
)) {
5611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5613 arg4
= static_cast< int >(val4
);
5616 if (!wxPyCheckForApp()) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5629 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5630 PyObject
*resultobj
= 0;
5631 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5635 PyObject
*swig_obj
[1] ;
5637 if (!args
) SWIG_fail
;
5639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5640 if (!SWIG_IsOK(res1
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5643 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (long)(arg1
)->GetHandle();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_From_long(static_cast< long >(result
));
5657 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= 0;
5659 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5667 char * kwnames
[] = {
5668 (char *) "self",(char *) "handle", NULL
5671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5673 if (!SWIG_IsOK(res1
)) {
5674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5676 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5677 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5678 if (!SWIG_IsOK(ecode2
)) {
5679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5681 arg2
= static_cast< long >(val2
);
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 wxBitmap_SetHandle(arg1
,arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_Py_Void();
5695 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5696 PyObject
*resultobj
= 0;
5697 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5701 PyObject
*swig_obj
[1] ;
5703 if (!args
) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5709 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (bool)(arg1
)->Ok();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5725 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5726 PyObject
*resultobj
= 0;
5727 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5731 PyObject
*swig_obj
[1] ;
5733 if (!args
) SWIG_fail
;
5735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5736 if (!SWIG_IsOK(res1
)) {
5737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5739 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= (int)(arg1
)->GetWidth();
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_From_int(static_cast< int >(result
));
5753 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5754 PyObject
*resultobj
= 0;
5755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5759 PyObject
*swig_obj
[1] ;
5761 if (!args
) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5767 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (int)(arg1
)->GetHeight();
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_From_int(static_cast< int >(result
));
5781 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5782 PyObject
*resultobj
= 0;
5783 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5787 PyObject
*swig_obj
[1] ;
5789 if (!args
) SWIG_fail
;
5791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5792 if (!SWIG_IsOK(res1
)) {
5793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5795 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (int)(arg1
)->GetDepth();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_From_int(static_cast< int >(result
));
5809 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5810 PyObject
*resultobj
= 0;
5811 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5815 PyObject
*swig_obj
[1] ;
5817 if (!args
) SWIG_fail
;
5819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5820 if (!SWIG_IsOK(res1
)) {
5821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5823 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= wxBitmap_GetSize(arg1
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5837 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5838 PyObject
*resultobj
= 0;
5839 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5840 SwigValueWrapper
<wxImage
> result
;
5843 PyObject
*swig_obj
[1] ;
5845 if (!args
) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5851 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5865 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5866 PyObject
*resultobj
= 0;
5867 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5868 wxMask
*result
= 0 ;
5871 PyObject
*swig_obj
[1] ;
5873 if (!args
) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5879 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5893 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
= 0;
5895 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5896 wxMask
*arg2
= (wxMask
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5902 char * kwnames
[] = {
5903 (char *) "self",(char *) "mask", NULL
5906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5908 if (!SWIG_IsOK(res1
)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5911 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5912 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5913 if (!SWIG_IsOK(res2
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 (arg1
)->SetMask(arg2
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_Py_Void();
5929 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
= 0;
5931 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5932 wxColour
*arg2
= 0 ;
5936 PyObject
* obj0
= 0 ;
5937 PyObject
* obj1
= 0 ;
5938 char * kwnames
[] = {
5939 (char *) "self",(char *) "colour", NULL
5942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5944 if (!SWIG_IsOK(res1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5947 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5950 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_Py_Void();
5965 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
= 0;
5967 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5969 SwigValueWrapper
<wxBitmap
> result
;
5973 PyObject
* obj0
= 0 ;
5974 PyObject
* obj1
= 0 ;
5975 char * kwnames
[] = {
5976 (char *) "self",(char *) "rect", NULL
5979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5981 if (!SWIG_IsOK(res1
)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6002 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
*resultobj
= 0;
6004 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6005 wxString
*arg2
= 0 ;
6007 wxPalette
*arg4
= (wxPalette
*) NULL
;
6011 bool temp2
= false ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 PyObject
* obj2
= 0 ;
6019 PyObject
* obj3
= 0 ;
6020 char * kwnames
[] = {
6021 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6029 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6031 arg2
= wxString_in_helper(obj1
);
6032 if (arg2
== NULL
) SWIG_fail
;
6035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6036 if (!SWIG_IsOK(ecode3
)) {
6037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6039 arg3
= static_cast< wxBitmapType
>(val3
);
6041 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6042 if (!SWIG_IsOK(res4
)) {
6043 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6045 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6070 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
= 0;
6072 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6073 wxString
*arg2
= 0 ;
6078 bool temp2
= false ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 PyObject
* obj2
= 0 ;
6084 char * kwnames
[] = {
6085 (char *) "self",(char *) "name",(char *) "type", NULL
6088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6090 if (!SWIG_IsOK(res1
)) {
6091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6093 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6095 arg2
= wxString_in_helper(obj1
);
6096 if (arg2
== NULL
) SWIG_fail
;
6099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6100 if (!SWIG_IsOK(ecode3
)) {
6101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6103 arg3
= static_cast< wxBitmapType
>(val3
);
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6127 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6128 PyObject
*resultobj
= 0;
6129 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6130 wxPalette
*result
= 0 ;
6133 PyObject
*swig_obj
[1] ;
6135 if (!args
) SWIG_fail
;
6137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6138 if (!SWIG_IsOK(res1
)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6141 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6155 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
= 0;
6157 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6158 wxPalette
*arg2
= 0 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 char * kwnames
[] = {
6166 (char *) "self",(char *) "palette", NULL
6169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6171 if (!SWIG_IsOK(res1
)) {
6172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6174 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6176 if (!SWIG_IsOK(res2
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6182 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_Py_Void();
6196 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
= 0;
6198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 char * kwnames
[] = {
6208 (char *) "self",(char *) "icon", NULL
6211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6213 if (!SWIG_IsOK(res1
)) {
6214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6216 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6218 if (!SWIG_IsOK(res2
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6224 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6240 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6250 char * kwnames
[] = {
6251 (char *) "self",(char *) "height", NULL
6254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6256 if (!SWIG_IsOK(res1
)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6259 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6261 if (!SWIG_IsOK(ecode2
)) {
6262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6264 arg2
= static_cast< int >(val2
);
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 (arg1
)->SetHeight(arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_Py_Void();
6278 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
= 0;
6280 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6288 char * kwnames
[] = {
6289 (char *) "self",(char *) "width", NULL
6292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6294 if (!SWIG_IsOK(res1
)) {
6295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6297 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6299 if (!SWIG_IsOK(ecode2
)) {
6300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6302 arg2
= static_cast< int >(val2
);
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 (arg1
)->SetWidth(arg2
);
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= SWIG_Py_Void();
6316 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
= 0;
6318 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6326 char * kwnames
[] = {
6327 (char *) "self",(char *) "depth", NULL
6330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6332 if (!SWIG_IsOK(res1
)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6335 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6337 if (!SWIG_IsOK(ecode2
)) {
6338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6340 arg2
= static_cast< int >(val2
);
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetDepth(arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6354 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
= 0;
6356 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6363 char * kwnames
[] = {
6364 (char *) "self",(char *) "size", NULL
6367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6369 if (!SWIG_IsOK(res1
)) {
6370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6372 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6375 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_Py_Void();
6390 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
= 0;
6392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6393 wxCursor
*arg2
= 0 ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6401 char * kwnames
[] = {
6402 (char *) "self",(char *) "cursor", NULL
6405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6407 if (!SWIG_IsOK(res1
)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6410 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6412 if (!SWIG_IsOK(res2
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6418 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6434 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
= 0;
6436 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6437 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 char * kwnames
[] = {
6446 (char *) "self",(char *) "other", NULL
6449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6451 if (!SWIG_IsOK(res1
)) {
6452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6454 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6456 if (!SWIG_IsOK(res2
)) {
6457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6459 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6475 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
= 0;
6477 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6478 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6486 char * kwnames
[] = {
6487 (char *) "self",(char *) "other", NULL
6490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6492 if (!SWIG_IsOK(res1
)) {
6493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6495 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6497 if (!SWIG_IsOK(res2
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6500 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6516 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6519 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6520 return SWIG_Py_Void();
6523 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6524 return SWIG_Python_InitShadowInstance(args
);
6527 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
= 0;
6529 wxBitmap
*arg1
= 0 ;
6530 wxColour
const &arg2_defvalue
= wxNullColour
;
6531 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6532 wxMask
*result
= 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 char * kwnames
[] = {
6539 (char *) "bitmap",(char *) "colour", NULL
6542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6554 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6558 if (!wxPyCheckForApp()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6571 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxMask
*arg1
= (wxMask
*) 0 ;
6576 PyObject
*swig_obj
[1] ;
6578 if (!args
) SWIG_fail
;
6580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6581 if (!SWIG_IsOK(res1
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6584 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_Py_Void();
6599 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6602 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6603 return SWIG_Py_Void();
6606 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6607 return SWIG_Python_InitShadowInstance(args
);
6610 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
= 0;
6612 wxString
*arg1
= 0 ;
6614 int arg3
= (int) -1 ;
6615 int arg4
= (int) -1 ;
6616 wxIcon
*result
= 0 ;
6617 bool temp1
= false ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6626 PyObject
* obj2
= 0 ;
6627 PyObject
* obj3
= 0 ;
6628 char * kwnames
[] = {
6629 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6634 arg1
= wxString_in_helper(obj0
);
6635 if (arg1
== NULL
) SWIG_fail
;
6638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6639 if (!SWIG_IsOK(ecode2
)) {
6640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6642 arg2
= static_cast< wxBitmapType
>(val2
);
6644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6645 if (!SWIG_IsOK(ecode3
)) {
6646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6648 arg3
= static_cast< int >(val3
);
6651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6652 if (!SWIG_IsOK(ecode4
)) {
6653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6655 arg4
= static_cast< int >(val4
);
6658 if (!wxPyCheckForApp()) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6679 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6680 PyObject
*resultobj
= 0;
6681 wxIcon
*arg1
= (wxIcon
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6692 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= SWIG_Py_Void();
6707 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6708 PyObject
*resultobj
= 0;
6709 wxIcon
*result
= 0 ;
6711 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6713 if (!wxPyCheckForApp()) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (wxIcon
*)new wxIcon();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6726 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
= 0;
6728 wxIconLocation
*arg1
= 0 ;
6729 wxIcon
*result
= 0 ;
6732 PyObject
* obj0
= 0 ;
6733 char * kwnames
[] = {
6734 (char *) "loc", NULL
6737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6745 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6747 if (!wxPyCheckForApp()) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6760 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
= 0;
6762 wxBitmap
*arg1
= 0 ;
6763 wxIcon
*result
= 0 ;
6766 PyObject
* obj0
= 0 ;
6767 char * kwnames
[] = {
6768 (char *) "bmp", NULL
6771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6772 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6773 if (!SWIG_IsOK(res1
)) {
6774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6779 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6781 if (!wxPyCheckForApp()) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6794 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
= 0;
6796 PyObject
*arg1
= (PyObject
*) 0 ;
6797 wxIcon
*result
= 0 ;
6798 PyObject
* obj0
= 0 ;
6799 char * kwnames
[] = {
6800 (char *) "listOfStrings", NULL
6803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6806 if (!wxPyCheckForApp()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (wxIcon
*)new_wxIcon(arg1
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6819 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
= 0;
6821 wxIcon
*arg1
= (wxIcon
*) 0 ;
6822 wxString
*arg2
= 0 ;
6827 bool temp2
= false ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 char * kwnames
[] = {
6834 (char *) "self",(char *) "name",(char *) "type", NULL
6837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6842 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6844 arg2
= wxString_in_helper(obj1
);
6845 if (arg2
== NULL
) SWIG_fail
;
6848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6849 if (!SWIG_IsOK(ecode3
)) {
6850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6852 arg3
= static_cast< wxBitmapType
>(val3
);
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6876 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6877 PyObject
*resultobj
= 0;
6878 wxIcon
*arg1
= (wxIcon
*) 0 ;
6882 PyObject
*swig_obj
[1] ;
6884 if (!args
) SWIG_fail
;
6886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6887 if (!SWIG_IsOK(res1
)) {
6888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6890 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (long)(arg1
)->GetHandle();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_From_long(static_cast< long >(result
));
6904 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
= 0;
6906 wxIcon
*arg1
= (wxIcon
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6914 char * kwnames
[] = {
6915 (char *) "self",(char *) "handle", NULL
6918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6920 if (!SWIG_IsOK(res1
)) {
6921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6923 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6925 if (!SWIG_IsOK(ecode2
)) {
6926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6928 arg2
= static_cast< long >(val2
);
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 wxIcon_SetHandle(arg1
,arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_Py_Void();
6942 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6943 PyObject
*resultobj
= 0;
6944 wxIcon
*arg1
= (wxIcon
*) 0 ;
6948 PyObject
*swig_obj
[1] ;
6950 if (!args
) SWIG_fail
;
6952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6953 if (!SWIG_IsOK(res1
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6956 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (bool)(arg1
)->Ok();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6972 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6973 PyObject
*resultobj
= 0;
6974 wxIcon
*arg1
= (wxIcon
*) 0 ;
6978 PyObject
*swig_obj
[1] ;
6980 if (!args
) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6986 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (int)(arg1
)->GetWidth();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_From_int(static_cast< int >(result
));
7000 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7001 PyObject
*resultobj
= 0;
7002 wxIcon
*arg1
= (wxIcon
*) 0 ;
7006 PyObject
*swig_obj
[1] ;
7008 if (!args
) SWIG_fail
;
7010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7011 if (!SWIG_IsOK(res1
)) {
7012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7014 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= (int)(arg1
)->GetHeight();
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= SWIG_From_int(static_cast< int >(result
));
7028 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7029 PyObject
*resultobj
= 0;
7030 wxIcon
*arg1
= (wxIcon
*) 0 ;
7034 PyObject
*swig_obj
[1] ;
7036 if (!args
) SWIG_fail
;
7038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7039 if (!SWIG_IsOK(res1
)) {
7040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7042 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 result
= (int)(arg1
)->GetDepth();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_From_int(static_cast< int >(result
));
7056 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
= 0;
7058 wxIcon
*arg1
= (wxIcon
*) 0 ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7066 char * kwnames
[] = {
7067 (char *) "self",(char *) "w", NULL
7070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7072 if (!SWIG_IsOK(res1
)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7075 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7077 if (!SWIG_IsOK(ecode2
)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7080 arg2
= static_cast< int >(val2
);
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 (arg1
)->SetWidth(arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= SWIG_Py_Void();
7094 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
= 0;
7096 wxIcon
*arg1
= (wxIcon
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7104 char * kwnames
[] = {
7105 (char *) "self",(char *) "h", NULL
7108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7110 if (!SWIG_IsOK(res1
)) {
7111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7113 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7115 if (!SWIG_IsOK(ecode2
)) {
7116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7118 arg2
= static_cast< int >(val2
);
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 (arg1
)->SetHeight(arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= SWIG_Py_Void();
7132 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
= 0;
7134 wxIcon
*arg1
= (wxIcon
*) 0 ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7142 char * kwnames
[] = {
7143 (char *) "self",(char *) "d", NULL
7146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7148 if (!SWIG_IsOK(res1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7151 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7153 if (!SWIG_IsOK(ecode2
)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7156 arg2
= static_cast< int >(val2
);
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 (arg1
)->SetDepth(arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_Py_Void();
7170 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
= 0;
7172 wxIcon
*arg1
= (wxIcon
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7179 char * kwnames
[] = {
7180 (char *) "self",(char *) "size", NULL
7183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7185 if (!SWIG_IsOK(res1
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7188 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 (arg1
)->SetSize((wxSize
const &)*arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_Py_Void();
7206 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxIcon
*arg1
= (wxIcon
*) 0 ;
7209 wxBitmap
*arg2
= 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "bmp", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7225 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7227 if (!SWIG_IsOK(res2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7233 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= SWIG_Py_Void();
7247 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7250 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7251 return SWIG_Py_Void();
7254 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7255 return SWIG_Python_InitShadowInstance(args
);
7258 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
= 0;
7260 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7261 int arg2
= (int) 0 ;
7262 wxIconLocation
*result
= 0 ;
7263 bool temp1
= false ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 char * kwnames
[] = {
7269 (char *) "filename",(char *) "num", NULL
7272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7275 arg1
= wxString_in_helper(obj0
);
7276 if (arg1
== NULL
) SWIG_fail
;
7281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7282 if (!SWIG_IsOK(ecode2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7285 arg2
= static_cast< int >(val2
);
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7308 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7309 PyObject
*resultobj
= 0;
7310 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7313 PyObject
*swig_obj
[1] ;
7315 if (!args
) SWIG_fail
;
7317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7318 if (!SWIG_IsOK(res1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7321 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_Py_Void();
7336 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7337 PyObject
*resultobj
= 0;
7338 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7342 PyObject
*swig_obj
[1] ;
7344 if (!args
) SWIG_fail
;
7346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7347 if (!SWIG_IsOK(res1
)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7350 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7366 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
= 0;
7368 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7369 wxString
*arg2
= 0 ;
7372 bool temp2
= false ;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7375 char * kwnames
[] = {
7376 (char *) "self",(char *) "filename", NULL
7379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7381 if (!SWIG_IsOK(res1
)) {
7382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7384 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7386 arg2
= wxString_in_helper(obj1
);
7387 if (arg2
== NULL
) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 (arg1
)->SetFileName((wxString
const &)*arg2
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_Py_Void();
7411 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7412 PyObject
*resultobj
= 0;
7413 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7414 wxString
*result
= 0 ;
7417 PyObject
*swig_obj
[1] ;
7419 if (!args
) SWIG_fail
;
7421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7422 if (!SWIG_IsOK(res1
)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7425 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7430 result
= (wxString
*) &_result_ref
;
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7439 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7448 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 char * kwnames
[] = {
7459 (char *) "self",(char *) "num", NULL
7462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7464 if (!SWIG_IsOK(res1
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7467 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7469 if (!SWIG_IsOK(ecode2
)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7472 arg2
= static_cast< int >(val2
);
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 wxIconLocation_SetIndex(arg1
,arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_Py_Void();
7486 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7487 PyObject
*resultobj
= 0;
7488 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7492 PyObject
*swig_obj
[1] ;
7494 if (!args
) SWIG_fail
;
7496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7497 if (!SWIG_IsOK(res1
)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7500 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (int)wxIconLocation_GetIndex(arg1
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= SWIG_From_int(static_cast< int >(result
));
7514 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7517 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7518 return SWIG_Py_Void();
7521 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7522 return SWIG_Python_InitShadowInstance(args
);
7525 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7526 PyObject
*resultobj
= 0;
7527 wxIconBundle
*result
= 0 ;
7529 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (wxIconBundle
*)new wxIconBundle();
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7543 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
= 0;
7545 wxString
*arg1
= 0 ;
7547 wxIconBundle
*result
= 0 ;
7548 bool temp1
= false ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7553 char * kwnames
[] = {
7554 (char *) "file",(char *) "type", NULL
7557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7559 arg1
= wxString_in_helper(obj0
);
7560 if (arg1
== NULL
) SWIG_fail
;
7563 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7564 if (!SWIG_IsOK(ecode2
)) {
7565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7567 arg2
= static_cast< long >(val2
);
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7589 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
= 0;
7592 wxIconBundle
*result
= 0 ;
7595 PyObject
* obj0
= 0 ;
7596 char * kwnames
[] = {
7597 (char *) "icon", NULL
7600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7601 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7602 if (!SWIG_IsOK(res1
)) {
7603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7608 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7622 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7623 PyObject
*resultobj
= 0;
7624 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7627 PyObject
*swig_obj
[1] ;
7629 if (!args
) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7635 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_Py_Void();
7650 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
= 0;
7652 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7660 char * kwnames
[] = {
7661 (char *) "self",(char *) "icon", NULL
7664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7669 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7671 if (!SWIG_IsOK(res2
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7677 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_Py_Void();
7691 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
= 0;
7693 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7694 wxString
*arg2
= 0 ;
7698 bool temp2
= false ;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7703 PyObject
* obj2
= 0 ;
7704 char * kwnames
[] = {
7705 (char *) "self",(char *) "file",(char *) "type", NULL
7708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7710 if (!SWIG_IsOK(res1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7713 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7715 arg2
= wxString_in_helper(obj1
);
7716 if (arg2
== NULL
) SWIG_fail
;
7719 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7720 if (!SWIG_IsOK(ecode3
)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7723 arg3
= static_cast< long >(val3
);
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_Py_Void();
7745 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
= 0;
7747 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7749 wxIcon
*result
= 0 ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7755 char * kwnames
[] = {
7756 (char *) "self",(char *) "size", NULL
7759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7761 if (!SWIG_IsOK(res1
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7764 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7773 result
= (wxIcon
*) &_result_ref
;
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7779 wxIcon
* resultptr
= new wxIcon(*result
);
7780 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7788 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7791 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7792 return SWIG_Py_Void();
7795 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7796 return SWIG_Python_InitShadowInstance(args
);
7799 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
= 0;
7801 wxString
*arg1
= 0 ;
7803 int arg3
= (int) 0 ;
7804 int arg4
= (int) 0 ;
7805 wxCursor
*result
= 0 ;
7806 bool temp1
= false ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7815 PyObject
* obj2
= 0 ;
7816 PyObject
* obj3
= 0 ;
7817 char * kwnames
[] = {
7818 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7823 arg1
= wxString_in_helper(obj0
);
7824 if (arg1
== NULL
) SWIG_fail
;
7827 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7828 if (!SWIG_IsOK(ecode2
)) {
7829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7831 arg2
= static_cast< long >(val2
);
7833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7834 if (!SWIG_IsOK(ecode3
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7837 arg3
= static_cast< int >(val3
);
7840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7841 if (!SWIG_IsOK(ecode4
)) {
7842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7844 arg4
= static_cast< int >(val4
);
7847 if (!wxPyCheckForApp()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7868 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7869 PyObject
*resultobj
= 0;
7870 wxCursor
*arg1
= (wxCursor
*) 0 ;
7873 PyObject
*swig_obj
[1] ;
7875 if (!args
) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7881 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7899 wxCursor
*result
= 0 ;
7902 PyObject
* obj0
= 0 ;
7903 char * kwnames
[] = {
7907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7909 if (!SWIG_IsOK(ecode1
)) {
7910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7912 arg1
= static_cast< int >(val1
);
7914 if (!wxPyCheckForApp()) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (wxCursor
*)new wxCursor(arg1
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7927 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
= 0;
7930 wxCursor
*result
= 0 ;
7933 PyObject
* obj0
= 0 ;
7934 char * kwnames
[] = {
7935 (char *) "image", NULL
7938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7939 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7940 if (!SWIG_IsOK(res1
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7946 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7948 if (!wxPyCheckForApp()) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7961 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7962 PyObject
*resultobj
= 0;
7963 wxCursor
*arg1
= (wxCursor
*) 0 ;
7967 PyObject
*swig_obj
[1] ;
7969 if (!args
) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7975 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (long)(arg1
)->GetHandle();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_From_long(static_cast< long >(result
));
7989 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
= 0;
7991 wxCursor
*arg1
= (wxCursor
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
7999 char * kwnames
[] = {
8000 (char *) "self",(char *) "handle", NULL
8003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8005 if (!SWIG_IsOK(res1
)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
8008 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8010 if (!SWIG_IsOK(ecode2
)) {
8011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8013 arg2
= static_cast< long >(val2
);
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 wxCursor_SetHandle(arg1
,arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_Py_Void();
8027 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8029 wxCursor
*arg1
= (wxCursor
*) 0 ;
8033 PyObject
*swig_obj
[1] ;
8035 if (!args
) SWIG_fail
;
8037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8038 if (!SWIG_IsOK(res1
)) {
8039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8041 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (bool)(arg1
)->Ok();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8057 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 PyObject
*resultobj
= 0;
8059 wxCursor
*arg1
= (wxCursor
*) 0 ;
8063 PyObject
*swig_obj
[1] ;
8065 if (!args
) SWIG_fail
;
8067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8068 if (!SWIG_IsOK(res1
)) {
8069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8071 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (int)(arg1
)->GetWidth();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= SWIG_From_int(static_cast< int >(result
));
8085 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8086 PyObject
*resultobj
= 0;
8087 wxCursor
*arg1
= (wxCursor
*) 0 ;
8091 PyObject
*swig_obj
[1] ;
8093 if (!args
) SWIG_fail
;
8095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8096 if (!SWIG_IsOK(res1
)) {
8097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8099 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (int)(arg1
)->GetHeight();
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= SWIG_From_int(static_cast< int >(result
));
8113 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8114 PyObject
*resultobj
= 0;
8115 wxCursor
*arg1
= (wxCursor
*) 0 ;
8119 PyObject
*swig_obj
[1] ;
8121 if (!args
) SWIG_fail
;
8123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8124 if (!SWIG_IsOK(res1
)) {
8125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8127 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (int)(arg1
)->GetDepth();
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= SWIG_From_int(static_cast< int >(result
));
8141 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
= 0;
8143 wxCursor
*arg1
= (wxCursor
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 char * kwnames
[] = {
8152 (char *) "self",(char *) "w", NULL
8155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8157 if (!SWIG_IsOK(res1
)) {
8158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8160 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8162 if (!SWIG_IsOK(ecode2
)) {
8163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8165 arg2
= static_cast< int >(val2
);
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 (arg1
)->SetWidth(arg2
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_Py_Void();
8179 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
= 0;
8181 wxCursor
*arg1
= (wxCursor
*) 0 ;
8187 PyObject
* obj0
= 0 ;
8188 PyObject
* obj1
= 0 ;
8189 char * kwnames
[] = {
8190 (char *) "self",(char *) "h", NULL
8193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8195 if (!SWIG_IsOK(res1
)) {
8196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8198 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8200 if (!SWIG_IsOK(ecode2
)) {
8201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8203 arg2
= static_cast< int >(val2
);
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 (arg1
)->SetHeight(arg2
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_Py_Void();
8217 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
= 0;
8219 wxCursor
*arg1
= (wxCursor
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 char * kwnames
[] = {
8228 (char *) "self",(char *) "d", NULL
8231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8236 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8238 if (!SWIG_IsOK(ecode2
)) {
8239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8241 arg2
= static_cast< int >(val2
);
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 (arg1
)->SetDepth(arg2
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_Py_Void();
8255 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= 0;
8257 wxCursor
*arg1
= (wxCursor
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8264 char * kwnames
[] = {
8265 (char *) "self",(char *) "size", NULL
8268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8270 if (!SWIG_IsOK(res1
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8273 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8276 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 (arg1
)->SetSize((wxSize
const &)*arg2
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_Py_Void();
8291 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8294 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8295 return SWIG_Py_Void();
8298 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8299 return SWIG_Python_InitShadowInstance(args
);
8302 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
= 0;
8304 int arg1
= (int) 0 ;
8305 int arg2
= (int) 0 ;
8306 int arg3
= (int) 0 ;
8307 int arg4
= (int) 0 ;
8308 wxRegion
*result
= 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8320 PyObject
* obj3
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8328 if (!SWIG_IsOK(ecode1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8331 arg1
= static_cast< int >(val1
);
8334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8335 if (!SWIG_IsOK(ecode2
)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8338 arg2
= static_cast< int >(val2
);
8341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8342 if (!SWIG_IsOK(ecode3
)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8345 arg3
= static_cast< int >(val3
);
8348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8349 if (!SWIG_IsOK(ecode4
)) {
8350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8352 arg4
= static_cast< int >(val4
);
8355 if (!wxPyCheckForApp()) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8368 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
= 0;
8370 wxBitmap
*arg1
= 0 ;
8371 wxRegion
*result
= 0 ;
8374 PyObject
* obj0
= 0 ;
8375 char * kwnames
[] = {
8376 (char *) "bmp", NULL
8379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8380 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8381 if (!SWIG_IsOK(res1
)) {
8382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8387 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8389 if (!wxPyCheckForApp()) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8402 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
= 0;
8404 wxBitmap
*arg1
= 0 ;
8405 wxColour
*arg2
= 0 ;
8406 int arg3
= (int) 0 ;
8407 wxRegion
*result
= 0 ;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8415 PyObject
* obj2
= 0 ;
8416 char * kwnames
[] = {
8417 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8421 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8422 if (!SWIG_IsOK(res1
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8428 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8431 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8435 if (!SWIG_IsOK(ecode3
)) {
8436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8438 arg3
= static_cast< int >(val3
);
8441 if (!wxPyCheckForApp()) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8454 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
= 0;
8457 wxPoint
*arg2
= (wxPoint
*) 0 ;
8458 int arg3
= (int) wxWINDING_RULE
;
8459 wxRegion
*result
= 0 ;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8464 char * kwnames
[] = {
8465 (char *) "points",(char *) "fillStyle", NULL
8468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8470 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8471 if (arg2
== NULL
) SWIG_fail
;
8474 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8475 if (!SWIG_IsOK(ecode3
)) {
8476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8478 arg3
= static_cast< int >(val3
);
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8489 if (arg2
) delete [] arg2
;
8494 if (arg2
) delete [] arg2
;
8500 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 PyObject
*resultobj
= 0;
8502 wxRegion
*arg1
= (wxRegion
*) 0 ;
8505 PyObject
*swig_obj
[1] ;
8507 if (!args
) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8513 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= SWIG_Py_Void();
8528 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8529 PyObject
*resultobj
= 0;
8530 wxRegion
*arg1
= (wxRegion
*) 0 ;
8533 PyObject
*swig_obj
[1] ;
8535 if (!args
) SWIG_fail
;
8537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8538 if (!SWIG_IsOK(res1
)) {
8539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8541 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_Py_Void();
8555 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
= 0;
8557 wxRegion
*arg1
= (wxRegion
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8568 PyObject
* obj1
= 0 ;
8569 PyObject
* obj2
= 0 ;
8570 char * kwnames
[] = {
8571 (char *) "self",(char *) "x",(char *) "y", NULL
8574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8579 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8581 if (!SWIG_IsOK(ecode2
)) {
8582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8584 arg2
= static_cast< int >(val2
);
8585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8586 if (!SWIG_IsOK(ecode3
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8589 arg3
= static_cast< int >(val3
);
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8605 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
= 0;
8607 wxRegion
*arg1
= (wxRegion
*) 0 ;
8610 wxRegionContain result
;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8620 char * kwnames
[] = {
8621 (char *) "self",(char *) "x",(char *) "y", NULL
8624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8629 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8631 if (!SWIG_IsOK(ecode2
)) {
8632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8634 arg2
= static_cast< int >(val2
);
8635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8636 if (!SWIG_IsOK(ecode3
)) {
8637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8639 arg3
= static_cast< int >(val3
);
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_From_int(static_cast< int >(result
));
8653 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
= 0;
8655 wxRegion
*arg1
= (wxRegion
*) 0 ;
8657 wxRegionContain result
;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 char * kwnames
[] = {
8664 (char *) "self",(char *) "pt", NULL
8667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8669 if (!SWIG_IsOK(res1
)) {
8670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8672 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= SWIG_From_int(static_cast< int >(result
));
8690 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= 0;
8692 wxRegion
*arg1
= (wxRegion
*) 0 ;
8694 wxRegionContain result
;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8700 char * kwnames
[] = {
8701 (char *) "self",(char *) "rect", NULL
8704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8706 if (!SWIG_IsOK(res1
)) {
8707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8709 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8712 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_From_int(static_cast< int >(result
));
8727 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
= 0;
8729 wxRegion
*arg1
= (wxRegion
*) 0 ;
8734 wxRegionContain result
;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 PyObject
* obj3
= 0 ;
8749 PyObject
* obj4
= 0 ;
8750 char * kwnames
[] = {
8751 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8756 if (!SWIG_IsOK(res1
)) {
8757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8759 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8761 if (!SWIG_IsOK(ecode2
)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8764 arg2
= static_cast< int >(val2
);
8765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8766 if (!SWIG_IsOK(ecode3
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8769 arg3
= static_cast< int >(val3
);
8770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8771 if (!SWIG_IsOK(ecode4
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8774 arg4
= static_cast< int >(val4
);
8775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8776 if (!SWIG_IsOK(ecode5
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8779 arg5
= static_cast< int >(val5
);
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_From_int(static_cast< int >(result
));
8793 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8794 PyObject
*resultobj
= 0;
8795 wxRegion
*arg1
= (wxRegion
*) 0 ;
8799 PyObject
*swig_obj
[1] ;
8801 if (!args
) SWIG_fail
;
8803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8804 if (!SWIG_IsOK(res1
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8807 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (arg1
)->GetBox();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8821 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
= 0;
8823 wxRegion
*arg1
= (wxRegion
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8842 PyObject
* obj3
= 0 ;
8843 PyObject
* obj4
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8853 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8855 if (!SWIG_IsOK(ecode2
)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8858 arg2
= static_cast< int >(val2
);
8859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8860 if (!SWIG_IsOK(ecode3
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8863 arg3
= static_cast< int >(val3
);
8864 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8865 if (!SWIG_IsOK(ecode4
)) {
8866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8868 arg4
= static_cast< int >(val4
);
8869 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8870 if (!SWIG_IsOK(ecode5
)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8873 arg5
= static_cast< int >(val5
);
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8889 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
= 0;
8891 wxRegion
*arg1
= (wxRegion
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8899 char * kwnames
[] = {
8900 (char *) "self",(char *) "rect", NULL
8903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8905 if (!SWIG_IsOK(res1
)) {
8906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8908 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8928 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
= 0;
8930 wxRegion
*arg1
= (wxRegion
*) 0 ;
8931 wxRegion
*arg2
= 0 ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8939 char * kwnames
[] = {
8940 (char *) "self",(char *) "region", NULL
8943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8945 if (!SWIG_IsOK(res1
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8948 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8950 if (!SWIG_IsOK(res2
)) {
8951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8956 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8972 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8973 PyObject
*resultobj
= 0;
8974 wxRegion
*arg1
= (wxRegion
*) 0 ;
8978 PyObject
*swig_obj
[1] ;
8980 if (!args
) SWIG_fail
;
8982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8983 if (!SWIG_IsOK(res1
)) {
8984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8986 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (bool)(arg1
)->IsEmpty();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9002 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
= 0;
9004 wxRegion
*arg1
= (wxRegion
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9022 PyObject
* obj2
= 0 ;
9023 PyObject
* obj3
= 0 ;
9024 PyObject
* obj4
= 0 ;
9025 char * kwnames
[] = {
9026 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9031 if (!SWIG_IsOK(res1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9034 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9036 if (!SWIG_IsOK(ecode2
)) {
9037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9039 arg2
= static_cast< int >(val2
);
9040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9041 if (!SWIG_IsOK(ecode3
)) {
9042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9044 arg3
= static_cast< int >(val3
);
9045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9046 if (!SWIG_IsOK(ecode4
)) {
9047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9049 arg4
= static_cast< int >(val4
);
9050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9051 if (!SWIG_IsOK(ecode5
)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9054 arg5
= static_cast< int >(val5
);
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
= 0;
9072 wxRegion
*arg1
= (wxRegion
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "rect", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9089 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9092 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9109 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
= 0;
9111 wxRegion
*arg1
= (wxRegion
*) 0 ;
9112 wxRegion
*arg2
= 0 ;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9120 char * kwnames
[] = {
9121 (char *) "self",(char *) "region", NULL
9124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9126 if (!SWIG_IsOK(res1
)) {
9127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9129 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9131 if (!SWIG_IsOK(res2
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9137 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9153 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
= 0;
9155 wxRegion
*arg1
= (wxRegion
*) 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9174 PyObject
* obj3
= 0 ;
9175 PyObject
* obj4
= 0 ;
9176 char * kwnames
[] = {
9177 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9182 if (!SWIG_IsOK(res1
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9185 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9187 if (!SWIG_IsOK(ecode2
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9190 arg2
= static_cast< int >(val2
);
9191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9192 if (!SWIG_IsOK(ecode3
)) {
9193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9195 arg3
= static_cast< int >(val3
);
9196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9197 if (!SWIG_IsOK(ecode4
)) {
9198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9200 arg4
= static_cast< int >(val4
);
9201 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9202 if (!SWIG_IsOK(ecode5
)) {
9203 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9205 arg5
= static_cast< int >(val5
);
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9221 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
= 0;
9223 wxRegion
*arg1
= (wxRegion
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 char * kwnames
[] = {
9232 (char *) "self",(char *) "rect", NULL
9235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9237 if (!SWIG_IsOK(res1
)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9240 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9243 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9260 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
= 0;
9262 wxRegion
*arg1
= (wxRegion
*) 0 ;
9263 wxRegion
*arg2
= 0 ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 char * kwnames
[] = {
9272 (char *) "self",(char *) "region", NULL
9275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9280 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9282 if (!SWIG_IsOK(res2
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9288 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9304 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
= 0;
9306 wxRegion
*arg1
= (wxRegion
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9325 PyObject
* obj3
= 0 ;
9326 PyObject
* obj4
= 0 ;
9327 char * kwnames
[] = {
9328 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9333 if (!SWIG_IsOK(res1
)) {
9334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9336 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9338 if (!SWIG_IsOK(ecode2
)) {
9339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9341 arg2
= static_cast< int >(val2
);
9342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9343 if (!SWIG_IsOK(ecode3
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9346 arg3
= static_cast< int >(val3
);
9347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9348 if (!SWIG_IsOK(ecode4
)) {
9349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9351 arg4
= static_cast< int >(val4
);
9352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9353 if (!SWIG_IsOK(ecode5
)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9356 arg5
= static_cast< int >(val5
);
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9372 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
= 0;
9374 wxRegion
*arg1
= (wxRegion
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "self",(char *) "rect", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9391 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9394 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9411 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= 0;
9413 wxRegion
*arg1
= (wxRegion
*) 0 ;
9414 wxRegion
*arg2
= 0 ;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9422 char * kwnames
[] = {
9423 (char *) "self",(char *) "region", NULL
9426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9428 if (!SWIG_IsOK(res1
)) {
9429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9431 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9433 if (!SWIG_IsOK(res2
)) {
9434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9439 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9455 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9456 PyObject
*resultobj
= 0;
9457 wxRegion
*arg1
= (wxRegion
*) 0 ;
9458 SwigValueWrapper
<wxBitmap
> result
;
9461 PyObject
*swig_obj
[1] ;
9463 if (!args
) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9469 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (arg1
)->ConvertToBitmap();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9483 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= 0;
9485 wxRegion
*arg1
= (wxRegion
*) 0 ;
9486 wxBitmap
*arg2
= 0 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "bmp", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9503 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9505 if (!SWIG_IsOK(res2
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9511 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9527 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
= 0;
9529 wxRegion
*arg1
= (wxRegion
*) 0 ;
9530 wxBitmap
*arg2
= 0 ;
9531 wxColour
*arg3
= 0 ;
9532 int arg4
= (int) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 PyObject
* obj2
= 0 ;
9544 PyObject
* obj3
= 0 ;
9545 char * kwnames
[] = {
9546 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9551 if (!SWIG_IsOK(res1
)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9554 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9556 if (!SWIG_IsOK(res2
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9562 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9565 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9569 if (!SWIG_IsOK(ecode4
)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9572 arg4
= static_cast< int >(val4
);
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9589 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9592 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9593 return SWIG_Py_Void();
9596 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9597 return SWIG_Python_InitShadowInstance(args
);
9600 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
= 0;
9602 wxRegion
*arg1
= 0 ;
9603 wxRegionIterator
*result
= 0 ;
9606 PyObject
* obj0
= 0 ;
9607 char * kwnames
[] = {
9608 (char *) "region", NULL
9611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9619 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9621 if (!wxPyCheckForApp()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9634 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9635 PyObject
*resultobj
= 0;
9636 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9639 PyObject
*swig_obj
[1] ;
9641 if (!args
) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9647 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_Py_Void();
9662 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9663 PyObject
*resultobj
= 0;
9664 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9668 PyObject
*swig_obj
[1] ;
9670 if (!args
) SWIG_fail
;
9672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9673 if (!SWIG_IsOK(res1
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9676 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (int)(arg1
)->GetX();
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= SWIG_From_int(static_cast< int >(result
));
9690 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9691 PyObject
*resultobj
= 0;
9692 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9696 PyObject
*swig_obj
[1] ;
9698 if (!args
) SWIG_fail
;
9700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9701 if (!SWIG_IsOK(res1
)) {
9702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9704 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (int)(arg1
)->GetY();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_From_int(static_cast< int >(result
));
9718 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9719 PyObject
*resultobj
= 0;
9720 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9724 PyObject
*swig_obj
[1] ;
9726 if (!args
) SWIG_fail
;
9728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9729 if (!SWIG_IsOK(res1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9732 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (int)(arg1
)->GetW();
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_From_int(static_cast< int >(result
));
9746 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9760 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (int)(arg1
)->GetWidth();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_From_int(static_cast< int >(result
));
9774 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9775 PyObject
*resultobj
= 0;
9776 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9780 PyObject
*swig_obj
[1] ;
9782 if (!args
) SWIG_fail
;
9784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9785 if (!SWIG_IsOK(res1
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9788 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (int)(arg1
)->GetH();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_From_int(static_cast< int >(result
));
9802 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9803 PyObject
*resultobj
= 0;
9804 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9808 PyObject
*swig_obj
[1] ;
9810 if (!args
) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9816 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (int)(arg1
)->GetHeight();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= SWIG_From_int(static_cast< int >(result
));
9830 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9831 PyObject
*resultobj
= 0;
9832 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9836 PyObject
*swig_obj
[1] ;
9838 if (!args
) SWIG_fail
;
9840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9841 if (!SWIG_IsOK(res1
)) {
9842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9844 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (arg1
)->GetRect();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9858 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9859 PyObject
*resultobj
= 0;
9860 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9864 PyObject
*swig_obj
[1] ;
9866 if (!args
) SWIG_fail
;
9868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9869 if (!SWIG_IsOK(res1
)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9872 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= (bool)(arg1
)->HaveRects();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9888 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9889 PyObject
*resultobj
= 0;
9890 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9893 PyObject
*swig_obj
[1] ;
9895 if (!args
) SWIG_fail
;
9897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9898 if (!SWIG_IsOK(res1
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9901 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_Py_Void();
9915 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9916 PyObject
*resultobj
= 0;
9917 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9920 PyObject
*swig_obj
[1] ;
9922 if (!args
) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9928 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 wxRegionIterator_Next(arg1
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_Py_Void();
9942 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9943 PyObject
*resultobj
= 0;
9944 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9948 PyObject
*swig_obj
[1] ;
9950 if (!args
) SWIG_fail
;
9952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9953 if (!SWIG_IsOK(res1
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9956 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9972 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9975 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9976 return SWIG_Py_Void();
9979 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9980 return SWIG_Python_InitShadowInstance(args
);
9983 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9984 PyObject
*resultobj
= 0;
9985 wxNativeFontInfo
*result
= 0 ;
9987 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
10001 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10002 PyObject
*resultobj
= 0;
10003 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10006 PyObject
*swig_obj
[1] ;
10008 if (!args
) SWIG_fail
;
10009 swig_obj
[0] = args
;
10010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
10011 if (!SWIG_IsOK(res1
)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10014 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_Py_Void();
10029 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10030 PyObject
*resultobj
= 0;
10031 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10034 PyObject
*swig_obj
[1] ;
10036 if (!args
) SWIG_fail
;
10037 swig_obj
[0] = args
;
10038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10042 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_Py_Void();
10056 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= 0;
10058 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char * kwnames
[] = {
10067 (char *) "self",(char *) "font", NULL
10070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10072 if (!SWIG_IsOK(res1
)) {
10073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10075 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10077 if (!SWIG_IsOK(res2
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10083 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_Py_Void();
10097 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10098 PyObject
*resultobj
= 0;
10099 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10103 PyObject
*swig_obj
[1] ;
10105 if (!args
) SWIG_fail
;
10106 swig_obj
[0] = args
;
10107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10108 if (!SWIG_IsOK(res1
)) {
10109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10111 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_From_int(static_cast< int >(result
));
10125 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10126 PyObject
*resultobj
= 0;
10127 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10131 PyObject
*swig_obj
[1] ;
10133 if (!args
) SWIG_fail
;
10134 swig_obj
[0] = args
;
10135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10136 if (!SWIG_IsOK(res1
)) {
10137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10139 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10153 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 PyObject
*resultobj
= 0;
10155 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10156 wxFontStyle result
;
10159 PyObject
*swig_obj
[1] ;
10161 if (!args
) SWIG_fail
;
10162 swig_obj
[0] = args
;
10163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10167 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= SWIG_From_int(static_cast< int >(result
));
10181 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10182 PyObject
*resultobj
= 0;
10183 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10184 wxFontWeight result
;
10187 PyObject
*swig_obj
[1] ;
10189 if (!args
) SWIG_fail
;
10190 swig_obj
[0] = args
;
10191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10192 if (!SWIG_IsOK(res1
)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10195 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_From_int(static_cast< int >(result
));
10209 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10210 PyObject
*resultobj
= 0;
10211 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10215 PyObject
*swig_obj
[1] ;
10217 if (!args
) SWIG_fail
;
10218 swig_obj
[0] = args
;
10219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10223 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10239 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10240 PyObject
*resultobj
= 0;
10241 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10245 PyObject
*swig_obj
[1] ;
10247 if (!args
) SWIG_fail
;
10248 swig_obj
[0] = args
;
10249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10250 if (!SWIG_IsOK(res1
)) {
10251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10253 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10273 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10274 PyObject
*resultobj
= 0;
10275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10276 wxFontFamily result
;
10279 PyObject
*swig_obj
[1] ;
10281 if (!args
) SWIG_fail
;
10282 swig_obj
[0] = args
;
10283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10284 if (!SWIG_IsOK(res1
)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= SWIG_From_int(static_cast< int >(result
));
10301 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10302 PyObject
*resultobj
= 0;
10303 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10304 wxFontEncoding result
;
10307 PyObject
*swig_obj
[1] ;
10309 if (!args
) SWIG_fail
;
10310 swig_obj
[0] = args
;
10311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10312 if (!SWIG_IsOK(res1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10315 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_From_int(static_cast< int >(result
));
10329 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
= 0;
10331 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 char * kwnames
[] = {
10340 (char *) "self",(char *) "pointsize", NULL
10343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10345 if (!SWIG_IsOK(res1
)) {
10346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10348 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10350 if (!SWIG_IsOK(ecode2
)) {
10351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10353 arg2
= static_cast< int >(val2
);
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 (arg1
)->SetPointSize(arg2
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_Py_Void();
10367 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
= 0;
10369 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char * kwnames
[] = {
10377 (char *) "self",(char *) "pixelSize", NULL
10380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10382 if (!SWIG_IsOK(res1
)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10385 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10388 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= SWIG_Py_Void();
10403 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 char * kwnames
[] = {
10414 (char *) "self",(char *) "style", NULL
10417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10419 if (!SWIG_IsOK(res1
)) {
10420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10422 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10424 if (!SWIG_IsOK(ecode2
)) {
10425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10427 arg2
= static_cast< wxFontStyle
>(val2
);
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 (arg1
)->SetStyle(arg2
);
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= SWIG_Py_Void();
10441 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
= 0;
10443 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10444 wxFontWeight arg2
;
10449 PyObject
* obj0
= 0 ;
10450 PyObject
* obj1
= 0 ;
10451 char * kwnames
[] = {
10452 (char *) "self",(char *) "weight", NULL
10455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10457 if (!SWIG_IsOK(res1
)) {
10458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10460 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10462 if (!SWIG_IsOK(ecode2
)) {
10463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10465 arg2
= static_cast< wxFontWeight
>(val2
);
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->SetWeight(arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_Py_Void();
10479 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
= 0;
10481 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char * kwnames
[] = {
10490 (char *) "self",(char *) "underlined", NULL
10493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10498 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10500 if (!SWIG_IsOK(ecode2
)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10503 arg2
= static_cast< bool >(val2
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 (arg1
)->SetUnderlined(arg2
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_Py_Void();
10517 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
= 0;
10519 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 char * kwnames
[] = {
10527 (char *) "self",(char *) "facename", NULL
10530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10532 if (!SWIG_IsOK(res1
)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10535 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10537 wxString
* sptr
= wxString_in_helper(obj1
);
10538 if (sptr
== NULL
) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (bool)(arg1
)->SetFaceName(arg2
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10557 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
= 0;
10559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10560 wxFontFamily arg2
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char * kwnames
[] = {
10568 (char *) "self",(char *) "family", NULL
10571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10573 if (!SWIG_IsOK(res1
)) {
10574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10576 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10578 if (!SWIG_IsOK(ecode2
)) {
10579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10581 arg2
= static_cast< wxFontFamily
>(val2
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->SetFamily(arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_Py_Void();
10595 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10598 wxFontEncoding arg2
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char * kwnames
[] = {
10606 (char *) "self",(char *) "encoding", NULL
10609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10611 if (!SWIG_IsOK(res1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10614 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10616 if (!SWIG_IsOK(ecode2
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10619 arg2
= static_cast< wxFontEncoding
>(val2
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetEncoding(arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_Py_Void();
10633 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
= 0;
10635 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10636 wxString
*arg2
= 0 ;
10640 bool temp2
= false ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char * kwnames
[] = {
10644 (char *) "self",(char *) "s", NULL
10647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10649 if (!SWIG_IsOK(res1
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10652 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10654 arg2
= wxString_in_helper(obj1
);
10655 if (arg2
== NULL
) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10681 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10682 PyObject
*resultobj
= 0;
10683 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10687 PyObject
*swig_obj
[1] ;
10689 if (!args
) SWIG_fail
;
10690 swig_obj
[0] = args
;
10691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10695 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10715 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10716 PyObject
*resultobj
= 0;
10717 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10721 PyObject
*swig_obj
[1] ;
10723 if (!args
) SWIG_fail
;
10724 swig_obj
[0] = args
;
10725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10726 if (!SWIG_IsOK(res1
)) {
10727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10729 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= wxNativeFontInfo___str__(arg1
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10749 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
= 0;
10751 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10752 wxString
*arg2
= 0 ;
10756 bool temp2
= false ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 char * kwnames
[] = {
10760 (char *) "self",(char *) "s", NULL
10763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10768 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10770 arg2
= wxString_in_helper(obj1
);
10771 if (arg2
== NULL
) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10797 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10798 PyObject
*resultobj
= 0;
10799 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10803 PyObject
*swig_obj
[1] ;
10805 if (!args
) SWIG_fail
;
10806 swig_obj
[0] = args
;
10807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10808 if (!SWIG_IsOK(res1
)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10811 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10831 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10834 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10835 return SWIG_Py_Void();
10838 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10839 return SWIG_Python_InitShadowInstance(args
);
10842 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10843 PyObject
*resultobj
= 0;
10844 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10845 wxString
*arg2
= (wxString
*) 0 ;
10848 bool temp2
= false ;
10849 PyObject
*swig_obj
[2] ;
10851 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10853 if (!SWIG_IsOK(res1
)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10856 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10858 arg2
= wxString_in_helper(swig_obj
[1]);
10859 if (arg2
== NULL
) SWIG_fail
;
10862 if (arg1
) (arg1
)->facename
= *arg2
;
10864 resultobj
= SWIG_Py_Void();
10879 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10880 PyObject
*resultobj
= 0;
10881 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10882 wxString
*result
= 0 ;
10885 PyObject
*swig_obj
[1] ;
10887 if (!args
) SWIG_fail
;
10888 swig_obj
[0] = args
;
10889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10890 if (!SWIG_IsOK(res1
)) {
10891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10893 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10894 result
= (wxString
*)& ((arg1
)->facename
);
10897 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10899 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10908 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10909 PyObject
*resultobj
= 0;
10910 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10911 wxFontEncoding arg2
;
10916 PyObject
*swig_obj
[2] ;
10918 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10920 if (!SWIG_IsOK(res1
)) {
10921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10923 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10924 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10925 if (!SWIG_IsOK(ecode2
)) {
10926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10928 arg2
= static_cast< wxFontEncoding
>(val2
);
10929 if (arg1
) (arg1
)->encoding
= arg2
;
10931 resultobj
= SWIG_Py_Void();
10938 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10939 PyObject
*resultobj
= 0;
10940 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10941 wxFontEncoding result
;
10944 PyObject
*swig_obj
[1] ;
10946 if (!args
) SWIG_fail
;
10947 swig_obj
[0] = args
;
10948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10949 if (!SWIG_IsOK(res1
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10952 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10953 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10954 resultobj
= SWIG_From_int(static_cast< int >(result
));
10961 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10962 PyObject
*resultobj
= 0;
10963 wxNativeEncodingInfo
*result
= 0 ;
10965 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10979 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10980 PyObject
*resultobj
= 0;
10981 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10984 PyObject
*swig_obj
[1] ;
10986 if (!args
) SWIG_fail
;
10987 swig_obj
[0] = args
;
10988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10989 if (!SWIG_IsOK(res1
)) {
10990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10992 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_Py_Void();
11007 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
= 0;
11009 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11010 wxString
*arg2
= 0 ;
11014 bool temp2
= false ;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 char * kwnames
[] = {
11018 (char *) "self",(char *) "s", NULL
11021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11023 if (!SWIG_IsOK(res1
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11026 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11028 arg2
= wxString_in_helper(obj1
);
11029 if (arg2
== NULL
) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11055 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11056 PyObject
*resultobj
= 0;
11057 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11061 PyObject
*swig_obj
[1] ;
11063 if (!args
) SWIG_fail
;
11064 swig_obj
[0] = args
;
11065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11066 if (!SWIG_IsOK(res1
)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11069 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11089 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11092 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11093 return SWIG_Py_Void();
11096 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11097 return SWIG_Python_InitShadowInstance(args
);
11100 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
= 0;
11102 wxFontEncoding arg1
;
11103 wxNativeEncodingInfo
*result
= 0 ;
11106 PyObject
* obj0
= 0 ;
11107 char * kwnames
[] = {
11108 (char *) "encoding", NULL
11111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11113 if (!SWIG_IsOK(ecode1
)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11116 arg1
= static_cast< wxFontEncoding
>(val1
);
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11130 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxNativeEncodingInfo
*arg1
= 0 ;
11136 PyObject
* obj0
= 0 ;
11137 char * kwnames
[] = {
11138 (char *) "info", NULL
11141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11142 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11143 if (!SWIG_IsOK(res1
)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11149 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11165 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11166 PyObject
*resultobj
= 0;
11167 wxFontMapper
*result
= 0 ;
11169 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (wxFontMapper
*)new wxFontMapper();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11183 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 PyObject
*resultobj
= 0;
11185 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11188 PyObject
*swig_obj
[1] ;
11190 if (!args
) SWIG_fail
;
11191 swig_obj
[0] = args
;
11192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11193 if (!SWIG_IsOK(res1
)) {
11194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11196 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_Py_Void();
11211 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11212 PyObject
*resultobj
= 0;
11213 wxFontMapper
*result
= 0 ;
11215 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (wxFontMapper
*)wxFontMapper::Get();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11229 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
= 0;
11231 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11232 wxFontMapper
*result
= 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char * kwnames
[] = {
11237 (char *) "mapper", NULL
11240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11245 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11259 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= 0;
11261 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11262 wxString
*arg2
= 0 ;
11263 bool arg3
= (bool) true ;
11264 wxFontEncoding result
;
11267 bool temp2
= false ;
11270 PyObject
* obj0
= 0 ;
11271 PyObject
* obj1
= 0 ;
11272 PyObject
* obj2
= 0 ;
11273 char * kwnames
[] = {
11274 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11282 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11284 arg2
= wxString_in_helper(obj1
);
11285 if (arg2
== NULL
) SWIG_fail
;
11289 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11290 if (!SWIG_IsOK(ecode3
)) {
11291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11293 arg3
= static_cast< bool >(val3
);
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_int(static_cast< int >(result
));
11316 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11317 PyObject
*resultobj
= 0;
11320 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11334 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
= 0;
11337 wxFontEncoding result
;
11340 PyObject
* obj0
= 0 ;
11341 char * kwnames
[] = {
11345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11346 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11347 if (!SWIG_IsOK(ecode1
)) {
11348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11350 arg1
= static_cast< size_t >(val1
);
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= SWIG_From_int(static_cast< int >(result
));
11364 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11366 wxFontEncoding arg1
;
11370 PyObject
* obj0
= 0 ;
11371 char * kwnames
[] = {
11372 (char *) "encoding", NULL
11375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11377 if (!SWIG_IsOK(ecode1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11380 arg1
= static_cast< wxFontEncoding
>(val1
);
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 result
= wxFontMapper::GetEncodingName(arg1
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11400 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
= 0;
11402 wxFontEncoding arg1
;
11406 PyObject
* obj0
= 0 ;
11407 char * kwnames
[] = {
11408 (char *) "encoding", NULL
11411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11412 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11413 if (!SWIG_IsOK(ecode1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11416 arg1
= static_cast< wxFontEncoding
>(val1
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= wxFontMapper::GetEncodingDescription(arg1
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11436 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= 0;
11438 wxString
*arg1
= 0 ;
11439 wxFontEncoding result
;
11440 bool temp1
= false ;
11441 PyObject
* obj0
= 0 ;
11442 char * kwnames
[] = {
11443 (char *) "name", NULL
11446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11448 arg1
= wxString_in_helper(obj0
);
11449 if (arg1
== NULL
) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_From_int(static_cast< int >(result
));
11473 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
= 0;
11475 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11476 wxString
*arg2
= 0 ;
11479 bool temp2
= false ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 char * kwnames
[] = {
11483 (char *) "self",(char *) "prefix", NULL
11486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11488 if (!SWIG_IsOK(res1
)) {
11489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11491 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11493 arg2
= wxString_in_helper(obj1
);
11494 if (arg2
== NULL
) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_Py_Void();
11518 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11519 PyObject
*resultobj
= 0;
11522 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= wxFontMapper::GetDefaultConfigPath();
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11542 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= 0;
11544 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11545 wxFontEncoding arg2
;
11546 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11547 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11548 bool arg4
= (bool) true ;
11549 PyObject
*result
= 0 ;
11554 bool temp3
= false ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 PyObject
* obj3
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11570 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11572 if (!SWIG_IsOK(ecode2
)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11575 arg2
= static_cast< wxFontEncoding
>(val2
);
11578 arg3
= wxString_in_helper(obj2
);
11579 if (arg3
== NULL
) SWIG_fail
;
11584 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11585 if (!SWIG_IsOK(ecode4
)) {
11586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11588 arg4
= static_cast< bool >(val4
);
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 resultobj
= result
;
11611 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= 0;
11613 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11614 wxFontEncoding arg2
;
11615 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11622 bool temp3
= false ;
11623 PyObject
* obj0
= 0 ;
11624 PyObject
* obj1
= 0 ;
11625 PyObject
* obj2
= 0 ;
11626 char * kwnames
[] = {
11627 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11632 if (!SWIG_IsOK(res1
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11635 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11637 if (!SWIG_IsOK(ecode2
)) {
11638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11640 arg2
= static_cast< wxFontEncoding
>(val2
);
11643 arg3
= wxString_in_helper(obj2
);
11644 if (arg3
== NULL
) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11671 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= 0;
11673 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11674 wxWindow
*arg2
= (wxWindow
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 char * kwnames
[] = {
11682 (char *) "self",(char *) "parent", NULL
11685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11687 if (!SWIG_IsOK(res1
)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11690 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11692 if (!SWIG_IsOK(res2
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11695 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->SetDialogParent(arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_Py_Void();
11709 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
= 0;
11711 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11712 wxString
*arg2
= 0 ;
11715 bool temp2
= false ;
11716 PyObject
* obj0
= 0 ;
11717 PyObject
* obj1
= 0 ;
11718 char * kwnames
[] = {
11719 (char *) "self",(char *) "title", NULL
11722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11724 if (!SWIG_IsOK(res1
)) {
11725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11727 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11729 arg2
= wxString_in_helper(obj1
);
11730 if (arg2
== NULL
) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_Py_Void();
11754 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11757 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11758 return SWIG_Py_Void();
11761 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11762 return SWIG_Python_InitShadowInstance(args
);
11765 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
= 0;
11771 bool arg5
= (bool) false ;
11772 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11773 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11774 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11775 wxFont
*result
= 0 ;
11786 bool temp6
= false ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 PyObject
* obj3
= 0 ;
11793 PyObject
* obj4
= 0 ;
11794 PyObject
* obj5
= 0 ;
11795 PyObject
* obj6
= 0 ;
11796 char * kwnames
[] = {
11797 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11801 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11802 if (!SWIG_IsOK(ecode1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11805 arg1
= static_cast< int >(val1
);
11806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11807 if (!SWIG_IsOK(ecode2
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11810 arg2
= static_cast< int >(val2
);
11811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11812 if (!SWIG_IsOK(ecode3
)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11815 arg3
= static_cast< int >(val3
);
11816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11817 if (!SWIG_IsOK(ecode4
)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11820 arg4
= static_cast< int >(val4
);
11822 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11823 if (!SWIG_IsOK(ecode5
)) {
11824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11826 arg5
= static_cast< bool >(val5
);
11830 arg6
= wxString_in_helper(obj5
);
11831 if (arg6
== NULL
) SWIG_fail
;
11836 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11837 if (!SWIG_IsOK(ecode7
)) {
11838 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11840 arg7
= static_cast< wxFontEncoding
>(val7
);
11843 if (!wxPyCheckForApp()) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11864 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxFont
*arg1
= (wxFont
*) 0 ;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11877 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_Py_Void();
11892 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxNativeFontInfo
*arg1
= 0 ;
11895 wxFont
*result
= 0 ;
11898 PyObject
* obj0
= 0 ;
11899 char * kwnames
[] = {
11900 (char *) "info", NULL
11903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11904 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11911 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11913 if (!wxPyCheckForApp()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11926 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
= 0;
11928 wxString
*arg1
= 0 ;
11929 wxFont
*result
= 0 ;
11930 bool temp1
= false ;
11931 PyObject
* obj0
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "info", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11938 arg1
= wxString_in_helper(obj0
);
11939 if (arg1
== NULL
) SWIG_fail
;
11943 if (!wxPyCheckForApp()) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11964 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
= 0;
11967 wxFontFamily arg2
;
11968 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11969 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11970 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11971 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11972 wxFont
*result
= 0 ;
11979 bool temp4
= false ;
11982 PyObject
* obj0
= 0 ;
11983 PyObject
* obj1
= 0 ;
11984 PyObject
* obj2
= 0 ;
11985 PyObject
* obj3
= 0 ;
11986 PyObject
* obj4
= 0 ;
11987 char * kwnames
[] = {
11988 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11993 if (!SWIG_IsOK(ecode1
)) {
11994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11996 arg1
= static_cast< int >(val1
);
11997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11998 if (!SWIG_IsOK(ecode2
)) {
11999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
12001 arg2
= static_cast< wxFontFamily
>(val2
);
12003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12004 if (!SWIG_IsOK(ecode3
)) {
12005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
12007 arg3
= static_cast< int >(val3
);
12011 arg4
= wxString_in_helper(obj3
);
12012 if (arg4
== NULL
) SWIG_fail
;
12017 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12018 if (!SWIG_IsOK(ecode5
)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12021 arg5
= static_cast< wxFontEncoding
>(val5
);
12024 if (!wxPyCheckForApp()) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12045 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
= 0;
12051 bool arg5
= (bool) false ;
12052 wxString
const &arg6_defvalue
= wxEmptyString
;
12053 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12054 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12055 wxFont
*result
= 0 ;
12065 bool temp6
= false ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 PyObject
* obj2
= 0 ;
12071 PyObject
* obj3
= 0 ;
12072 PyObject
* obj4
= 0 ;
12073 PyObject
* obj5
= 0 ;
12074 PyObject
* obj6
= 0 ;
12075 char * kwnames
[] = {
12076 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12082 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12085 if (!SWIG_IsOK(ecode2
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12088 arg2
= static_cast< int >(val2
);
12089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12090 if (!SWIG_IsOK(ecode3
)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12093 arg3
= static_cast< int >(val3
);
12094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12095 if (!SWIG_IsOK(ecode4
)) {
12096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12098 arg4
= static_cast< int >(val4
);
12100 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12101 if (!SWIG_IsOK(ecode5
)) {
12102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12104 arg5
= static_cast< bool >(val5
);
12108 arg6
= wxString_in_helper(obj5
);
12109 if (arg6
== NULL
) SWIG_fail
;
12114 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12115 if (!SWIG_IsOK(ecode7
)) {
12116 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12118 arg7
= static_cast< wxFontEncoding
>(val7
);
12121 if (!wxPyCheckForApp()) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12142 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
= 0;
12145 wxFontFamily arg2
;
12146 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12147 wxString
const &arg4_defvalue
= wxEmptyString
;
12148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12149 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12150 wxFont
*result
= 0 ;
12156 bool temp4
= false ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 PyObject
* obj2
= 0 ;
12162 PyObject
* obj3
= 0 ;
12163 PyObject
* obj4
= 0 ;
12164 char * kwnames
[] = {
12165 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12171 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12174 if (!SWIG_IsOK(ecode2
)) {
12175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12177 arg2
= static_cast< wxFontFamily
>(val2
);
12179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12180 if (!SWIG_IsOK(ecode3
)) {
12181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12183 arg3
= static_cast< int >(val3
);
12187 arg4
= wxString_in_helper(obj3
);
12188 if (arg4
== NULL
) SWIG_fail
;
12193 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12194 if (!SWIG_IsOK(ecode5
)) {
12195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12197 arg5
= static_cast< wxFontEncoding
>(val5
);
12200 if (!wxPyCheckForApp()) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12221 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12222 PyObject
*resultobj
= 0;
12223 wxFont
*arg1
= (wxFont
*) 0 ;
12227 PyObject
*swig_obj
[1] ;
12229 if (!args
) SWIG_fail
;
12230 swig_obj
[0] = args
;
12231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12232 if (!SWIG_IsOK(res1
)) {
12233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12235 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (bool)((wxFont
const *)arg1
)->Ok();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12251 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
= 0;
12253 wxFont
*arg1
= (wxFont
*) 0 ;
12254 wxFont
*arg2
= (wxFont
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 char * kwnames
[] = {
12263 (char *) "self",(char *) "other", NULL
12266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12268 if (!SWIG_IsOK(res1
)) {
12269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12271 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12273 if (!SWIG_IsOK(res2
)) {
12274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12276 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12292 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
= 0;
12294 wxFont
*arg1
= (wxFont
*) 0 ;
12295 wxFont
*arg2
= (wxFont
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char * kwnames
[] = {
12304 (char *) "self",(char *) "other", NULL
12307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12312 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12314 if (!SWIG_IsOK(res2
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12317 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12333 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 PyObject
*resultobj
= 0;
12335 wxFont
*arg1
= (wxFont
*) 0 ;
12339 PyObject
*swig_obj
[1] ;
12341 if (!args
) SWIG_fail
;
12342 swig_obj
[0] = args
;
12343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12347 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_From_int(static_cast< int >(result
));
12361 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12362 PyObject
*resultobj
= 0;
12363 wxFont
*arg1
= (wxFont
*) 0 ;
12367 PyObject
*swig_obj
[1] ;
12369 if (!args
) SWIG_fail
;
12370 swig_obj
[0] = args
;
12371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12372 if (!SWIG_IsOK(res1
)) {
12373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12375 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12389 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12390 PyObject
*resultobj
= 0;
12391 wxFont
*arg1
= (wxFont
*) 0 ;
12395 PyObject
*swig_obj
[1] ;
12397 if (!args
) SWIG_fail
;
12398 swig_obj
[0] = args
;
12399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12403 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12419 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12420 PyObject
*resultobj
= 0;
12421 wxFont
*arg1
= (wxFont
*) 0 ;
12425 PyObject
*swig_obj
[1] ;
12427 if (!args
) SWIG_fail
;
12428 swig_obj
[0] = args
;
12429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12433 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_From_int(static_cast< int >(result
));
12447 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12448 PyObject
*resultobj
= 0;
12449 wxFont
*arg1
= (wxFont
*) 0 ;
12453 PyObject
*swig_obj
[1] ;
12455 if (!args
) SWIG_fail
;
12456 swig_obj
[0] = args
;
12457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12458 if (!SWIG_IsOK(res1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12461 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_From_int(static_cast< int >(result
));
12475 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 PyObject
*resultobj
= 0;
12477 wxFont
*arg1
= (wxFont
*) 0 ;
12481 PyObject
*swig_obj
[1] ;
12483 if (!args
) SWIG_fail
;
12484 swig_obj
[0] = args
;
12485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12489 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_int(static_cast< int >(result
));
12503 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxFont
*arg1
= (wxFont
*) 0 ;
12509 PyObject
*swig_obj
[1] ;
12511 if (!args
) SWIG_fail
;
12512 swig_obj
[0] = args
;
12513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12517 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12533 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12534 PyObject
*resultobj
= 0;
12535 wxFont
*arg1
= (wxFont
*) 0 ;
12539 PyObject
*swig_obj
[1] ;
12541 if (!args
) SWIG_fail
;
12542 swig_obj
[0] = args
;
12543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12544 if (!SWIG_IsOK(res1
)) {
12545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12547 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= ((wxFont
const *)arg1
)->GetFaceName();
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12567 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12568 PyObject
*resultobj
= 0;
12569 wxFont
*arg1
= (wxFont
*) 0 ;
12570 wxFontEncoding result
;
12573 PyObject
*swig_obj
[1] ;
12575 if (!args
) SWIG_fail
;
12576 swig_obj
[0] = args
;
12577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12578 if (!SWIG_IsOK(res1
)) {
12579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12581 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_From_int(static_cast< int >(result
));
12595 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12596 PyObject
*resultobj
= 0;
12597 wxFont
*arg1
= (wxFont
*) 0 ;
12598 wxNativeFontInfo
*result
= 0 ;
12601 PyObject
*swig_obj
[1] ;
12603 if (!args
) SWIG_fail
;
12604 swig_obj
[0] = args
;
12605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12606 if (!SWIG_IsOK(res1
)) {
12607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12609 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12623 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12624 PyObject
*resultobj
= 0;
12625 wxFont
*arg1
= (wxFont
*) 0 ;
12629 PyObject
*swig_obj
[1] ;
12631 if (!args
) SWIG_fail
;
12632 swig_obj
[0] = args
;
12633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12634 if (!SWIG_IsOK(res1
)) {
12635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12637 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12653 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxFont
*arg1
= (wxFont
*) 0 ;
12659 PyObject
*swig_obj
[1] ;
12661 if (!args
) SWIG_fail
;
12662 swig_obj
[0] = args
;
12663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12664 if (!SWIG_IsOK(res1
)) {
12665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12667 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12687 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12688 PyObject
*resultobj
= 0;
12689 wxFont
*arg1
= (wxFont
*) 0 ;
12693 PyObject
*swig_obj
[1] ;
12695 if (!args
) SWIG_fail
;
12696 swig_obj
[0] = args
;
12697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12701 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12721 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
= 0;
12723 wxFont
*arg1
= (wxFont
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 char * kwnames
[] = {
12732 (char *) "self",(char *) "pointSize", NULL
12735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12740 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12742 if (!SWIG_IsOK(ecode2
)) {
12743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12745 arg2
= static_cast< int >(val2
);
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 (arg1
)->SetPointSize(arg2
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_Py_Void();
12759 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxFont
*arg1
= (wxFont
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "self",(char *) "pixelSize", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12777 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12780 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_Py_Void();
12795 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
= 0;
12797 wxFont
*arg1
= (wxFont
*) 0 ;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 char * kwnames
[] = {
12806 (char *) "self",(char *) "family", NULL
12809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12811 if (!SWIG_IsOK(res1
)) {
12812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12814 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12816 if (!SWIG_IsOK(ecode2
)) {
12817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12819 arg2
= static_cast< int >(val2
);
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 (arg1
)->SetFamily(arg2
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= SWIG_Py_Void();
12833 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
= 0;
12835 wxFont
*arg1
= (wxFont
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char * kwnames
[] = {
12844 (char *) "self",(char *) "style", NULL
12847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12849 if (!SWIG_IsOK(res1
)) {
12850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12852 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12854 if (!SWIG_IsOK(ecode2
)) {
12855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12857 arg2
= static_cast< int >(val2
);
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 (arg1
)->SetStyle(arg2
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= SWIG_Py_Void();
12871 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
= 0;
12873 wxFont
*arg1
= (wxFont
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 char * kwnames
[] = {
12882 (char *) "self",(char *) "weight", NULL
12885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12887 if (!SWIG_IsOK(res1
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12890 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12892 if (!SWIG_IsOK(ecode2
)) {
12893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12895 arg2
= static_cast< int >(val2
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 (arg1
)->SetWeight(arg2
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= SWIG_Py_Void();
12909 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
= 0;
12911 wxFont
*arg1
= (wxFont
*) 0 ;
12912 wxString
*arg2
= 0 ;
12916 bool temp2
= false ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char * kwnames
[] = {
12920 (char *) "self",(char *) "faceName", NULL
12923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12925 if (!SWIG_IsOK(res1
)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12928 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12930 arg2
= wxString_in_helper(obj1
);
12931 if (arg2
== NULL
) SWIG_fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12957 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
= 0;
12959 wxFont
*arg1
= (wxFont
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 PyObject
* obj1
= 0 ;
12967 char * kwnames
[] = {
12968 (char *) "self",(char *) "underlined", NULL
12971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12976 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12977 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12978 if (!SWIG_IsOK(ecode2
)) {
12979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12981 arg2
= static_cast< bool >(val2
);
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 (arg1
)->SetUnderlined(arg2
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_Py_Void();
12995 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= 0;
12997 wxFont
*arg1
= (wxFont
*) 0 ;
12998 wxFontEncoding arg2
;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char * kwnames
[] = {
13006 (char *) "self",(char *) "encoding", NULL
13009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13011 if (!SWIG_IsOK(res1
)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
13014 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13016 if (!SWIG_IsOK(ecode2
)) {
13017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13019 arg2
= static_cast< wxFontEncoding
>(val2
);
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 (arg1
)->SetEncoding(arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_Py_Void();
13033 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
= 0;
13035 wxFont
*arg1
= (wxFont
*) 0 ;
13036 wxNativeFontInfo
*arg2
= 0 ;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char * kwnames
[] = {
13044 (char *) "self",(char *) "info", NULL
13047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13049 if (!SWIG_IsOK(res1
)) {
13050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13052 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13054 if (!SWIG_IsOK(res2
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13060 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= SWIG_Py_Void();
13074 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
= 0;
13076 wxFont
*arg1
= (wxFont
*) 0 ;
13077 wxString
*arg2
= 0 ;
13081 bool temp2
= false ;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char * kwnames
[] = {
13085 (char *) "self",(char *) "info", NULL
13088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13093 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13095 arg2
= wxString_in_helper(obj1
);
13096 if (arg2
== NULL
) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13122 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13124 wxFont
*arg1
= (wxFont
*) 0 ;
13125 wxString
*arg2
= 0 ;
13129 bool temp2
= false ;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char * kwnames
[] = {
13133 (char *) "self",(char *) "info", NULL
13136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13141 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13143 arg2
= wxString_in_helper(obj1
);
13144 if (arg2
== NULL
) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13170 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13171 PyObject
*resultobj
= 0;
13172 wxFont
*arg1
= (wxFont
*) 0 ;
13176 PyObject
*swig_obj
[1] ;
13178 if (!args
) SWIG_fail
;
13179 swig_obj
[0] = args
;
13180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13181 if (!SWIG_IsOK(res1
)) {
13182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13184 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13204 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13205 PyObject
*resultobj
= 0;
13206 wxFont
*arg1
= (wxFont
*) 0 ;
13210 PyObject
*swig_obj
[1] ;
13212 if (!args
) SWIG_fail
;
13213 swig_obj
[0] = args
;
13214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13215 if (!SWIG_IsOK(res1
)) {
13216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13218 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= ((wxFont
const *)arg1
)->GetStyleString();
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13238 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13239 PyObject
*resultobj
= 0;
13240 wxFont
*arg1
= (wxFont
*) 0 ;
13244 PyObject
*swig_obj
[1] ;
13246 if (!args
) SWIG_fail
;
13247 swig_obj
[0] = args
;
13248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13249 if (!SWIG_IsOK(res1
)) {
13250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13252 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= ((wxFont
const *)arg1
)->GetWeightString();
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13272 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
= 0;
13274 wxFont
*arg1
= (wxFont
*) 0 ;
13275 bool arg2
= (bool) true ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *) "no", NULL
13286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13291 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13293 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13294 if (!SWIG_IsOK(ecode2
)) {
13295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13297 arg2
= static_cast< bool >(val2
);
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 (arg1
)->SetNoAntiAliasing(arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_Py_Void();
13312 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13313 PyObject
*resultobj
= 0;
13314 wxFont
*arg1
= (wxFont
*) 0 ;
13318 PyObject
*swig_obj
[1] ;
13320 if (!args
) SWIG_fail
;
13321 swig_obj
[0] = args
;
13322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13326 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13342 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13343 PyObject
*resultobj
= 0;
13344 wxFontEncoding result
;
13346 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13348 if (!wxPyCheckForApp()) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_From_int(static_cast< int >(result
));
13361 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
= 0;
13363 wxFontEncoding arg1
;
13366 PyObject
* obj0
= 0 ;
13367 char * kwnames
[] = {
13368 (char *) "encoding", NULL
13371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13373 if (!SWIG_IsOK(ecode1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13376 arg1
= static_cast< wxFontEncoding
>(val1
);
13378 if (!wxPyCheckForApp()) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 wxFont::SetDefaultEncoding(arg1
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_Py_Void();
13391 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13394 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13395 return SWIG_Py_Void();
13398 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13399 return SWIG_Python_InitShadowInstance(args
);
13402 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13403 PyObject
*resultobj
= 0;
13404 wxPyFontEnumerator
*result
= 0 ;
13406 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13408 if (!wxPyCheckForApp()) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13421 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13426 PyObject
*swig_obj
[1] ;
13428 if (!args
) SWIG_fail
;
13429 swig_obj
[0] = args
;
13430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13431 if (!SWIG_IsOK(res1
)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13434 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_Py_Void();
13449 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
= 0;
13451 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13452 PyObject
*arg2
= (PyObject
*) 0 ;
13453 PyObject
*arg3
= (PyObject
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 PyObject
* obj2
= 0 ;
13462 PyObject
* obj3
= 0 ;
13463 char * kwnames
[] = {
13464 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13472 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13475 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13476 if (!SWIG_IsOK(ecode4
)) {
13477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13479 arg4
= static_cast< bool >(val4
);
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_Py_Void();
13493 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
= 0;
13495 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13496 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13497 bool arg3
= (bool) false ;
13505 PyObject
* obj0
= 0 ;
13506 PyObject
* obj1
= 0 ;
13507 PyObject
* obj2
= 0 ;
13508 char * kwnames
[] = {
13509 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13514 if (!SWIG_IsOK(res1
)) {
13515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13517 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13520 if (!SWIG_IsOK(ecode2
)) {
13521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13523 arg2
= static_cast< wxFontEncoding
>(val2
);
13526 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13527 if (!SWIG_IsOK(ecode3
)) {
13528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13530 arg3
= static_cast< bool >(val3
);
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13547 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
= 0;
13549 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13550 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13551 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13555 bool temp2
= false ;
13556 PyObject
* obj0
= 0 ;
13557 PyObject
* obj1
= 0 ;
13558 char * kwnames
[] = {
13559 (char *) "self",(char *) "facename", NULL
13562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13564 if (!SWIG_IsOK(res1
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13567 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13570 arg2
= wxString_in_helper(obj1
);
13571 if (arg2
== NULL
) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13599 PyObject
*resultobj
= 0;
13600 PyObject
*result
= 0 ;
13602 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
;
13616 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13617 PyObject
*resultobj
= 0;
13618 PyObject
*result
= 0 ;
13620 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
;
13634 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
= 0;
13636 wxString
*arg1
= 0 ;
13638 bool temp1
= false ;
13639 PyObject
* obj0
= 0 ;
13640 char * kwnames
[] = {
13641 (char *) "str", NULL
13644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
13646 arg1
= wxString_in_helper(obj0
);
13647 if (arg1
== NULL
) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13673 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13677 return SWIG_Py_Void();
13680 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13681 return SWIG_Python_InitShadowInstance(args
);
13684 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13685 PyObject
*resultobj
= 0;
13686 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13692 PyObject
*swig_obj
[2] ;
13694 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13699 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13700 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13701 if (!SWIG_IsOK(ecode2
)) {
13702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13704 arg2
= static_cast< int >(val2
);
13705 if (arg1
) (arg1
)->Language
= arg2
;
13707 resultobj
= SWIG_Py_Void();
13714 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13715 PyObject
*resultobj
= 0;
13716 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13720 PyObject
*swig_obj
[1] ;
13722 if (!args
) SWIG_fail
;
13723 swig_obj
[0] = args
;
13724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13725 if (!SWIG_IsOK(res1
)) {
13726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13728 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13729 result
= (int) ((arg1
)->Language
);
13730 resultobj
= SWIG_From_int(static_cast< int >(result
));
13737 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13738 PyObject
*resultobj
= 0;
13739 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13740 wxString
*arg2
= (wxString
*) 0 ;
13743 bool temp2
= false ;
13744 PyObject
*swig_obj
[2] ;
13746 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13748 if (!SWIG_IsOK(res1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13751 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13753 arg2
= wxString_in_helper(swig_obj
[1]);
13754 if (arg2
== NULL
) SWIG_fail
;
13757 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13759 resultobj
= SWIG_Py_Void();
13774 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13775 PyObject
*resultobj
= 0;
13776 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13777 wxString
*result
= 0 ;
13780 PyObject
*swig_obj
[1] ;
13782 if (!args
) SWIG_fail
;
13783 swig_obj
[0] = args
;
13784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13788 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13789 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13803 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13804 PyObject
*resultobj
= 0;
13805 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13806 wxString
*arg2
= (wxString
*) 0 ;
13809 bool temp2
= false ;
13810 PyObject
*swig_obj
[2] ;
13812 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13814 if (!SWIG_IsOK(res1
)) {
13815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13817 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13819 arg2
= wxString_in_helper(swig_obj
[1]);
13820 if (arg2
== NULL
) SWIG_fail
;
13823 if (arg1
) (arg1
)->Description
= *arg2
;
13825 resultobj
= SWIG_Py_Void();
13840 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13843 wxString
*result
= 0 ;
13846 PyObject
*swig_obj
[1] ;
13848 if (!args
) SWIG_fail
;
13849 swig_obj
[0] = args
;
13850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13854 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13855 result
= (wxString
*)& ((arg1
)->Description
);
13858 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13860 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13869 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13872 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13873 return SWIG_Py_Void();
13876 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
= 0;
13878 int arg1
= (int) -1 ;
13879 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13880 wxLocale
*result
= 0 ;
13885 PyObject
* obj0
= 0 ;
13886 PyObject
* obj1
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "language",(char *) "flags", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13893 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13894 if (!SWIG_IsOK(ecode1
)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13897 arg1
= static_cast< int >(val1
);
13900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13901 if (!SWIG_IsOK(ecode2
)) {
13902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13904 arg2
= static_cast< int >(val2
);
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13919 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13920 PyObject
*resultobj
= 0;
13921 wxLocale
*arg1
= (wxLocale
*) 0 ;
13924 PyObject
*swig_obj
[1] ;
13926 if (!args
) SWIG_fail
;
13927 swig_obj
[0] = args
;
13928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13932 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= SWIG_Py_Void();
13947 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
= 0;
13949 wxLocale
*arg1
= (wxLocale
*) 0 ;
13950 wxString
*arg2
= 0 ;
13951 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13952 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13953 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13954 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13955 bool arg5
= (bool) true ;
13956 bool arg6
= (bool) false ;
13960 bool temp2
= false ;
13961 bool temp3
= false ;
13962 bool temp4
= false ;
13967 PyObject
* obj0
= 0 ;
13968 PyObject
* obj1
= 0 ;
13969 PyObject
* obj2
= 0 ;
13970 PyObject
* obj3
= 0 ;
13971 PyObject
* obj4
= 0 ;
13972 PyObject
* obj5
= 0 ;
13973 char * kwnames
[] = {
13974 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13979 if (!SWIG_IsOK(res1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13982 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13984 arg2
= wxString_in_helper(obj1
);
13985 if (arg2
== NULL
) SWIG_fail
;
13990 arg3
= wxString_in_helper(obj2
);
13991 if (arg3
== NULL
) SWIG_fail
;
13997 arg4
= wxString_in_helper(obj3
);
13998 if (arg4
== NULL
) SWIG_fail
;
14003 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14004 if (!SWIG_IsOK(ecode5
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
14007 arg5
= static_cast< bool >(val5
);
14010 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
14011 if (!SWIG_IsOK(ecode6
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
14014 arg6
= static_cast< bool >(val6
);
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14055 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
= 0;
14057 wxLocale
*arg1
= (wxLocale
*) 0 ;
14058 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14059 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 PyObject
* obj2
= 0 ;
14070 char * kwnames
[] = {
14071 (char *) "self",(char *) "language",(char *) "flags", NULL
14074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14076 if (!SWIG_IsOK(res1
)) {
14077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14079 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14082 if (!SWIG_IsOK(ecode2
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14085 arg2
= static_cast< int >(val2
);
14088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14089 if (!SWIG_IsOK(ecode3
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14092 arg3
= static_cast< int >(val3
);
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14109 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14110 PyObject
*resultobj
= 0;
14113 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (int)wxLocale::GetSystemLanguage();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= SWIG_From_int(static_cast< int >(result
));
14127 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 PyObject
*resultobj
= 0;
14129 wxFontEncoding result
;
14131 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_From_int(static_cast< int >(result
));
14145 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14146 PyObject
*resultobj
= 0;
14149 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= wxLocale::GetSystemEncodingName();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14169 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14170 PyObject
*resultobj
= 0;
14171 wxLocale
*arg1
= (wxLocale
*) 0 ;
14175 PyObject
*swig_obj
[1] ;
14177 if (!args
) SWIG_fail
;
14178 swig_obj
[0] = args
;
14179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14180 if (!SWIG_IsOK(res1
)) {
14181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14183 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14199 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14200 PyObject
*resultobj
= 0;
14201 wxLocale
*arg1
= (wxLocale
*) 0 ;
14205 PyObject
*swig_obj
[1] ;
14207 if (!args
) SWIG_fail
;
14208 swig_obj
[0] = args
;
14209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14210 if (!SWIG_IsOK(res1
)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14213 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= ((wxLocale
const *)arg1
)->GetLocale();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14233 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14234 PyObject
*resultobj
= 0;
14235 wxLocale
*arg1
= (wxLocale
*) 0 ;
14239 PyObject
*swig_obj
[1] ;
14241 if (!args
) SWIG_fail
;
14242 swig_obj
[0] = args
;
14243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14244 if (!SWIG_IsOK(res1
)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14247 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= SWIG_From_int(static_cast< int >(result
));
14261 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14262 PyObject
*resultobj
= 0;
14263 wxLocale
*arg1
= (wxLocale
*) 0 ;
14267 PyObject
*swig_obj
[1] ;
14269 if (!args
) SWIG_fail
;
14270 swig_obj
[0] = args
;
14271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14272 if (!SWIG_IsOK(res1
)) {
14273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14275 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= ((wxLocale
const *)arg1
)->GetSysName();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14295 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14296 PyObject
*resultobj
= 0;
14297 wxLocale
*arg1
= (wxLocale
*) 0 ;
14301 PyObject
*swig_obj
[1] ;
14303 if (!args
) SWIG_fail
;
14304 swig_obj
[0] = args
;
14305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14306 if (!SWIG_IsOK(res1
)) {
14307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14309 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14329 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
= 0;
14331 wxString
*arg1
= 0 ;
14332 bool temp1
= false ;
14333 PyObject
* obj0
= 0 ;
14334 char * kwnames
[] = {
14335 (char *) "prefix", NULL
14338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14340 arg1
= wxString_in_helper(obj0
);
14341 if (arg1
== NULL
) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_Py_Void();
14365 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= 0;
14367 wxLocale
*arg1
= (wxLocale
*) 0 ;
14368 wxString
*arg2
= 0 ;
14372 bool temp2
= false ;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 char * kwnames
[] = {
14376 (char *) "self",(char *) "szDomain", NULL
14379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14384 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14386 arg2
= wxString_in_helper(obj1
);
14387 if (arg2
== NULL
) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14413 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
= 0;
14415 wxLocale
*arg1
= (wxLocale
*) 0 ;
14416 wxString
*arg2
= 0 ;
14420 bool temp2
= false ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 char * kwnames
[] = {
14424 (char *) "self",(char *) "szDomain", NULL
14427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14432 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14434 arg2
= wxString_in_helper(obj1
);
14435 if (arg2
== NULL
) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
= 0;
14464 wxLanguageInfo
*result
= 0 ;
14467 PyObject
* obj0
= 0 ;
14468 char * kwnames
[] = {
14469 (char *) "lang", NULL
14472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14473 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14474 if (!SWIG_IsOK(ecode1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14477 arg1
= static_cast< int >(val1
);
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14491 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
= 0;
14497 PyObject
* obj0
= 0 ;
14498 char * kwnames
[] = {
14499 (char *) "lang", NULL
14502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14503 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14504 if (!SWIG_IsOK(ecode1
)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14507 arg1
= static_cast< int >(val1
);
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= wxLocale::GetLanguageName(arg1
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14527 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
= 0;
14529 wxString
*arg1
= 0 ;
14530 wxLanguageInfo
*result
= 0 ;
14531 bool temp1
= false ;
14532 PyObject
* obj0
= 0 ;
14533 char * kwnames
[] = {
14534 (char *) "locale", NULL
14537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14539 arg1
= wxString_in_helper(obj0
);
14540 if (arg1
== NULL
) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14564 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxLanguageInfo
*arg1
= 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char * kwnames
[] = {
14571 (char *) "info", NULL
14574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14575 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14582 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= SWIG_Py_Void();
14596 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
= 0;
14598 wxLocale
*arg1
= (wxLocale
*) 0 ;
14599 wxString
*arg2
= 0 ;
14600 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14605 bool temp2
= false ;
14606 bool temp3
= false ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 PyObject
* obj2
= 0 ;
14610 char * kwnames
[] = {
14611 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14619 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14621 arg2
= wxString_in_helper(obj1
);
14622 if (arg2
== NULL
) SWIG_fail
;
14627 arg3
= wxString_in_helper(obj2
);
14628 if (arg3
== NULL
) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14667 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14668 PyObject
*resultobj
= 0;
14669 wxLocale
*arg1
= (wxLocale
*) 0 ;
14670 wxString
*result
= 0 ;
14673 PyObject
*swig_obj
[1] ;
14675 if (!args
) SWIG_fail
;
14676 swig_obj
[0] = args
;
14677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14678 if (!SWIG_IsOK(res1
)) {
14679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14681 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14686 result
= (wxString
*) &_result_ref
;
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14695 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14704 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14707 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14708 return SWIG_Py_Void();
14711 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14712 return SWIG_Python_InitShadowInstance(args
);
14715 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14716 PyObject
*resultobj
= 0;
14717 wxLocale
*result
= 0 ;
14719 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (wxLocale
*)wxGetLocale();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14733 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14734 PyObject
*resultobj
= 0;
14735 wxString
*arg1
= 0 ;
14737 bool temp1
= false ;
14739 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14741 arg1
= wxString_in_helper(swig_obj
[0]);
14742 if (arg1
== NULL
) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= wxGetTranslation((wxString
const &)*arg1
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14772 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14773 PyObject
*resultobj
= 0;
14774 wxString
*arg1
= 0 ;
14775 wxString
*arg2
= 0 ;
14778 bool temp1
= false ;
14779 bool temp2
= false ;
14783 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14785 arg1
= wxString_in_helper(swig_obj
[0]);
14786 if (arg1
== NULL
) SWIG_fail
;
14790 arg2
= wxString_in_helper(swig_obj
[1]);
14791 if (arg2
== NULL
) SWIG_fail
;
14794 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14795 if (!SWIG_IsOK(ecode3
)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14798 arg3
= static_cast< size_t >(val3
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14834 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14838 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14841 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14844 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14848 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14853 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14854 PyObject
*resultobj
= 0;
14855 wxEncodingConverter
*result
= 0 ;
14857 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14871 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14872 PyObject
*resultobj
= 0;
14873 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14876 PyObject
*swig_obj
[1] ;
14878 if (!args
) SWIG_fail
;
14879 swig_obj
[0] = args
;
14880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14884 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_Py_Void();
14899 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
= 0;
14901 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14902 wxFontEncoding arg2
;
14903 wxFontEncoding arg3
;
14904 int arg4
= (int) wxCONVERT_STRICT
;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 PyObject
* obj2
= 0 ;
14917 PyObject
* obj3
= 0 ;
14918 char * kwnames
[] = {
14919 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14927 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14929 if (!SWIG_IsOK(ecode2
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14932 arg2
= static_cast< wxFontEncoding
>(val2
);
14933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14934 if (!SWIG_IsOK(ecode3
)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14937 arg3
= static_cast< wxFontEncoding
>(val3
);
14939 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14940 if (!SWIG_IsOK(ecode4
)) {
14941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14943 arg4
= static_cast< int >(val4
);
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14960 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
= 0;
14962 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14963 wxString
*arg2
= 0 ;
14967 bool temp2
= false ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 char * kwnames
[] = {
14971 (char *) "self",(char *) "input", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14979 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14981 arg2
= wxString_in_helper(obj1
);
14982 if (arg2
== NULL
) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15012 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
= 0;
15014 wxFontEncoding arg1
;
15015 int arg2
= (int) wxPLATFORM_CURRENT
;
15016 wxFontEncodingArray result
;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "enc",(char *) "platform", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15028 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15029 if (!SWIG_IsOK(ecode1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15032 arg1
= static_cast< wxFontEncoding
>(val1
);
15034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15035 if (!SWIG_IsOK(ecode2
)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
15038 arg2
= static_cast< int >(val2
);
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= PyList_New(0);
15048 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15049 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15050 PyList_Append(resultobj
, number
);
15060 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
= 0;
15062 wxFontEncoding arg1
;
15063 wxFontEncodingArray result
;
15066 PyObject
* obj0
= 0 ;
15067 char * kwnames
[] = {
15068 (char *) "enc", NULL
15071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15072 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15073 if (!SWIG_IsOK(ecode1
)) {
15074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15076 arg1
= static_cast< wxFontEncoding
>(val1
);
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= PyList_New(0);
15085 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15086 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15087 PyList_Append(resultobj
, number
);
15097 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
= 0;
15099 wxFontEncoding arg1
;
15100 wxFontEncoding arg2
;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "encIn",(char *) "encOut", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15114 if (!SWIG_IsOK(ecode1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15117 arg1
= static_cast< wxFontEncoding
>(val1
);
15118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15119 if (!SWIG_IsOK(ecode2
)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15122 arg2
= static_cast< wxFontEncoding
>(val2
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15138 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15141 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15142 return SWIG_Py_Void();
15145 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15146 return SWIG_Python_InitShadowInstance(args
);
15149 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15150 PyObject
*resultobj
= 0;
15151 wxDC
*arg1
= (wxDC
*) 0 ;
15154 PyObject
*swig_obj
[1] ;
15156 if (!args
) SWIG_fail
;
15157 swig_obj
[0] = args
;
15158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_Py_Void();
15177 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
= 0;
15179 wxDC
*arg1
= (wxDC
*) 0 ;
15182 wxColour
*arg4
= 0 ;
15183 int arg5
= (int) wxFLOOD_SURFACE
;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 PyObject
* obj2
= 0 ;
15197 PyObject
* obj3
= 0 ;
15198 PyObject
* obj4
= 0 ;
15199 char * kwnames
[] = {
15200 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15210 if (!SWIG_IsOK(ecode2
)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15213 arg2
= static_cast< int >(val2
);
15214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15215 if (!SWIG_IsOK(ecode3
)) {
15216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15218 arg3
= static_cast< int >(val3
);
15221 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15224 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15225 if (!SWIG_IsOK(ecode5
)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15228 arg5
= static_cast< int >(val5
);
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15245 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
= 0;
15247 wxDC
*arg1
= (wxDC
*) 0 ;
15248 wxPoint
*arg2
= 0 ;
15249 wxColour
*arg3
= 0 ;
15250 int arg4
= (int) wxFLOOD_SURFACE
;
15258 PyObject
* obj0
= 0 ;
15259 PyObject
* obj1
= 0 ;
15260 PyObject
* obj2
= 0 ;
15261 PyObject
* obj3
= 0 ;
15262 char * kwnames
[] = {
15263 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15268 if (!SWIG_IsOK(res1
)) {
15269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15278 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15282 if (!SWIG_IsOK(ecode4
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15285 arg4
= static_cast< int >(val4
);
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15302 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
= 0;
15304 wxDC
*arg1
= (wxDC
*) 0 ;
15306 wxColour
*arg3
= 0 ;
15307 wxColour
*arg4
= 0 ;
15308 wxPoint
*arg5
= 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 PyObject
* obj2
= 0 ;
15318 PyObject
* obj3
= 0 ;
15319 PyObject
* obj4
= 0 ;
15320 char * kwnames
[] = {
15321 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15326 if (!SWIG_IsOK(res1
)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15332 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15336 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15340 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15344 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= SWIG_Py_Void();
15359 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
= 0;
15361 wxDC
*arg1
= (wxDC
*) 0 ;
15363 wxColour
*arg3
= 0 ;
15364 wxColour
*arg4
= 0 ;
15365 wxDirection arg5
= (wxDirection
) wxEAST
;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 PyObject
* obj2
= 0 ;
15376 PyObject
* obj3
= 0 ;
15377 PyObject
* obj4
= 0 ;
15378 char * kwnames
[] = {
15379 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15384 if (!SWIG_IsOK(res1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15390 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15394 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15398 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15402 if (!SWIG_IsOK(ecode5
)) {
15403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15405 arg5
= static_cast< wxDirection
>(val5
);
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_Py_Void();
15420 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
= 0;
15422 wxDC
*arg1
= (wxDC
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 char * kwnames
[] = {
15436 (char *) "self",(char *) "x",(char *) "y", NULL
15439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15441 if (!SWIG_IsOK(res1
)) {
15442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15446 if (!SWIG_IsOK(ecode2
)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15449 arg2
= static_cast< int >(val2
);
15450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15451 if (!SWIG_IsOK(ecode3
)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15454 arg3
= static_cast< int >(val3
);
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15468 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
= 0;
15470 wxDC
*arg1
= (wxDC
*) 0 ;
15471 wxPoint
*arg2
= 0 ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 char * kwnames
[] = {
15479 (char *) "self",(char *) "pt", NULL
15482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15484 if (!SWIG_IsOK(res1
)) {
15485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15490 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15505 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
= 0;
15507 wxDC
*arg1
= (wxDC
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 PyObject
* obj2
= 0 ;
15525 PyObject
* obj3
= 0 ;
15526 PyObject
* obj4
= 0 ;
15527 char * kwnames
[] = {
15528 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15538 if (!SWIG_IsOK(ecode2
)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15541 arg2
= static_cast< int >(val2
);
15542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15543 if (!SWIG_IsOK(ecode3
)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15546 arg3
= static_cast< int >(val3
);
15547 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15548 if (!SWIG_IsOK(ecode4
)) {
15549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15551 arg4
= static_cast< int >(val4
);
15552 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15553 if (!SWIG_IsOK(ecode5
)) {
15554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15556 arg5
= static_cast< int >(val5
);
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_Py_Void();
15570 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
= 0;
15572 wxDC
*arg1
= (wxDC
*) 0 ;
15573 wxPoint
*arg2
= 0 ;
15574 wxPoint
*arg3
= 0 ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 PyObject
* obj2
= 0 ;
15582 char * kwnames
[] = {
15583 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15588 if (!SWIG_IsOK(res1
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_Py_Void();
15613 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
= 0;
15615 wxDC
*arg1
= (wxDC
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 PyObject
* obj2
= 0 ;
15627 char * kwnames
[] = {
15628 (char *) "self",(char *) "x",(char *) "y", NULL
15631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15633 if (!SWIG_IsOK(res1
)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15638 if (!SWIG_IsOK(ecode2
)) {
15639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15641 arg2
= static_cast< int >(val2
);
15642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15643 if (!SWIG_IsOK(ecode3
)) {
15644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15646 arg3
= static_cast< int >(val3
);
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 (arg1
)->CrossHair(arg2
,arg3
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_Py_Void();
15660 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
= 0;
15662 wxDC
*arg1
= (wxDC
*) 0 ;
15663 wxPoint
*arg2
= 0 ;
15667 PyObject
* obj0
= 0 ;
15668 PyObject
* obj1
= 0 ;
15669 char * kwnames
[] = {
15670 (char *) "self",(char *) "pt", NULL
15673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15675 if (!SWIG_IsOK(res1
)) {
15676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_Py_Void();
15696 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
= 0;
15698 wxDC
*arg1
= (wxDC
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 PyObject
* obj2
= 0 ;
15722 PyObject
* obj3
= 0 ;
15723 PyObject
* obj4
= 0 ;
15724 PyObject
* obj5
= 0 ;
15725 PyObject
* obj6
= 0 ;
15726 char * kwnames
[] = {
15727 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15732 if (!SWIG_IsOK(res1
)) {
15733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15737 if (!SWIG_IsOK(ecode2
)) {
15738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15740 arg2
= static_cast< int >(val2
);
15741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15742 if (!SWIG_IsOK(ecode3
)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15745 arg3
= static_cast< int >(val3
);
15746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15747 if (!SWIG_IsOK(ecode4
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15750 arg4
= static_cast< int >(val4
);
15751 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15752 if (!SWIG_IsOK(ecode5
)) {
15753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15755 arg5
= static_cast< int >(val5
);
15756 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15757 if (!SWIG_IsOK(ecode6
)) {
15758 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15760 arg6
= static_cast< int >(val6
);
15761 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15762 if (!SWIG_IsOK(ecode7
)) {
15763 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15765 arg7
= static_cast< int >(val7
);
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= SWIG_Py_Void();
15779 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
= 0;
15781 wxDC
*arg1
= (wxDC
*) 0 ;
15782 wxPoint
*arg2
= 0 ;
15783 wxPoint
*arg3
= 0 ;
15784 wxPoint
*arg4
= 0 ;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 PyObject
* obj2
= 0 ;
15793 PyObject
* obj3
= 0 ;
15794 char * kwnames
[] = {
15795 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_Py_Void();
15829 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
= 0;
15831 wxDC
*arg1
= (wxDC
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 PyObject
* obj2
= 0 ;
15849 PyObject
* obj3
= 0 ;
15850 PyObject
* obj4
= 0 ;
15851 char * kwnames
[] = {
15852 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15857 if (!SWIG_IsOK(res1
)) {
15858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15862 if (!SWIG_IsOK(ecode2
)) {
15863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15865 arg2
= static_cast< int >(val2
);
15866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15867 if (!SWIG_IsOK(ecode3
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15870 arg3
= static_cast< int >(val3
);
15871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15872 if (!SWIG_IsOK(ecode4
)) {
15873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15875 arg4
= static_cast< int >(val4
);
15876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15877 if (!SWIG_IsOK(ecode5
)) {
15878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15880 arg5
= static_cast< int >(val5
);
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_Py_Void();
15894 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
= 0;
15896 wxDC
*arg1
= (wxDC
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char * kwnames
[] = {
15904 (char *) "self",(char *) "rect", NULL
15907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15909 if (!SWIG_IsOK(res1
)) {
15910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15915 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_Py_Void();
15930 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
= 0;
15932 wxDC
*arg1
= (wxDC
*) 0 ;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 PyObject
* obj2
= 0 ;
15956 PyObject
* obj3
= 0 ;
15957 PyObject
* obj4
= 0 ;
15958 PyObject
* obj5
= 0 ;
15959 PyObject
* obj6
= 0 ;
15960 char * kwnames
[] = {
15961 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15966 if (!SWIG_IsOK(res1
)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15971 if (!SWIG_IsOK(ecode2
)) {
15972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15974 arg2
= static_cast< int >(val2
);
15975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15976 if (!SWIG_IsOK(ecode3
)) {
15977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15979 arg3
= static_cast< int >(val3
);
15980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15981 if (!SWIG_IsOK(ecode4
)) {
15982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15984 arg4
= static_cast< int >(val4
);
15985 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15986 if (!SWIG_IsOK(ecode5
)) {
15987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15989 arg5
= static_cast< int >(val5
);
15990 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15991 if (!SWIG_IsOK(ecode6
)) {
15992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15994 arg6
= static_cast< double >(val6
);
15995 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15996 if (!SWIG_IsOK(ecode7
)) {
15997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15999 arg7
= static_cast< double >(val7
);
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_Py_Void();
16013 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
= 0;
16015 wxDC
*arg1
= (wxDC
*) 0 ;
16016 wxPoint
*arg2
= 0 ;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 PyObject
* obj2
= 0 ;
16031 PyObject
* obj3
= 0 ;
16032 PyObject
* obj4
= 0 ;
16033 char * kwnames
[] = {
16034 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
16037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16039 if (!SWIG_IsOK(res1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16049 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16051 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16052 if (!SWIG_IsOK(ecode4
)) {
16053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16055 arg4
= static_cast< double >(val4
);
16056 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16057 if (!SWIG_IsOK(ecode5
)) {
16058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16060 arg5
= static_cast< double >(val5
);
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= SWIG_Py_Void();
16074 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
= 0;
16076 wxDC
*arg1
= (wxDC
*) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 PyObject
* obj1
= 0 ;
16087 PyObject
* obj2
= 0 ;
16088 char * kwnames
[] = {
16089 (char *) "self",(char *) "x",(char *) "y", NULL
16092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16094 if (!SWIG_IsOK(res1
)) {
16095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16099 if (!SWIG_IsOK(ecode2
)) {
16100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16102 arg2
= static_cast< int >(val2
);
16103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16104 if (!SWIG_IsOK(ecode3
)) {
16105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16107 arg3
= static_cast< int >(val3
);
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 (arg1
)->DrawPoint(arg2
,arg3
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_Py_Void();
16121 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
= 0;
16123 wxDC
*arg1
= (wxDC
*) 0 ;
16124 wxPoint
*arg2
= 0 ;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 char * kwnames
[] = {
16131 (char *) "self",(char *) "pt", NULL
16134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16136 if (!SWIG_IsOK(res1
)) {
16137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_Py_Void();
16157 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
= 0;
16159 wxDC
*arg1
= (wxDC
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 PyObject
* obj2
= 0 ;
16177 PyObject
* obj3
= 0 ;
16178 PyObject
* obj4
= 0 ;
16179 char * kwnames
[] = {
16180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16185 if (!SWIG_IsOK(res1
)) {
16186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16190 if (!SWIG_IsOK(ecode2
)) {
16191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16193 arg2
= static_cast< int >(val2
);
16194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16195 if (!SWIG_IsOK(ecode3
)) {
16196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16198 arg3
= static_cast< int >(val3
);
16199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16200 if (!SWIG_IsOK(ecode4
)) {
16201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16203 arg4
= static_cast< int >(val4
);
16204 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16205 if (!SWIG_IsOK(ecode5
)) {
16206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16208 arg5
= static_cast< int >(val5
);
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_Py_Void();
16222 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
= 0;
16224 wxDC
*arg1
= (wxDC
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 char * kwnames
[] = {
16232 (char *) "self",(char *) "rect", NULL
16235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16237 if (!SWIG_IsOK(res1
)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16243 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_Py_Void();
16258 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
= 0;
16260 wxDC
*arg1
= (wxDC
*) 0 ;
16261 wxPoint
*arg2
= 0 ;
16267 PyObject
* obj0
= 0 ;
16268 PyObject
* obj1
= 0 ;
16269 PyObject
* obj2
= 0 ;
16270 char * kwnames
[] = {
16271 (char *) "self",(char *) "pt",(char *) "sz", NULL
16274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16276 if (!SWIG_IsOK(res1
)) {
16277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16286 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_Py_Void();
16301 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
= 0;
16303 wxDC
*arg1
= (wxDC
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 PyObject
* obj2
= 0 ;
16324 PyObject
* obj3
= 0 ;
16325 PyObject
* obj4
= 0 ;
16326 PyObject
* obj5
= 0 ;
16327 char * kwnames
[] = {
16328 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16333 if (!SWIG_IsOK(res1
)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16338 if (!SWIG_IsOK(ecode2
)) {
16339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16341 arg2
= static_cast< int >(val2
);
16342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16343 if (!SWIG_IsOK(ecode3
)) {
16344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16346 arg3
= static_cast< int >(val3
);
16347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16348 if (!SWIG_IsOK(ecode4
)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16351 arg4
= static_cast< int >(val4
);
16352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16353 if (!SWIG_IsOK(ecode5
)) {
16354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16356 arg5
= static_cast< int >(val5
);
16357 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16358 if (!SWIG_IsOK(ecode6
)) {
16359 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16361 arg6
= static_cast< double >(val6
);
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_Py_Void();
16375 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
= 0;
16377 wxDC
*arg1
= (wxDC
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 PyObject
* obj2
= 0 ;
16388 char * kwnames
[] = {
16389 (char *) "self",(char *) "r",(char *) "radius", NULL
16392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16394 if (!SWIG_IsOK(res1
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16400 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16402 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16403 if (!SWIG_IsOK(ecode3
)) {
16404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16406 arg3
= static_cast< double >(val3
);
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= SWIG_Py_Void();
16420 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
= 0;
16422 wxDC
*arg1
= (wxDC
*) 0 ;
16423 wxPoint
*arg2
= 0 ;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 PyObject
* obj2
= 0 ;
16435 PyObject
* obj3
= 0 ;
16436 char * kwnames
[] = {
16437 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16442 if (!SWIG_IsOK(res1
)) {
16443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16452 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16455 if (!SWIG_IsOK(ecode4
)) {
16456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16458 arg4
= static_cast< double >(val4
);
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= SWIG_Py_Void();
16472 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
= 0;
16474 wxDC
*arg1
= (wxDC
*) 0 ;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 PyObject
* obj2
= 0 ;
16489 PyObject
* obj3
= 0 ;
16490 char * kwnames
[] = {
16491 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16496 if (!SWIG_IsOK(res1
)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16501 if (!SWIG_IsOK(ecode2
)) {
16502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16504 arg2
= static_cast< int >(val2
);
16505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16506 if (!SWIG_IsOK(ecode3
)) {
16507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16509 arg3
= static_cast< int >(val3
);
16510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16511 if (!SWIG_IsOK(ecode4
)) {
16512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16514 arg4
= static_cast< int >(val4
);
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= SWIG_Py_Void();
16528 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
= 0;
16530 wxDC
*arg1
= (wxDC
*) 0 ;
16531 wxPoint
*arg2
= 0 ;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 PyObject
* obj2
= 0 ;
16541 char * kwnames
[] = {
16542 (char *) "self",(char *) "pt",(char *) "radius", NULL
16545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16547 if (!SWIG_IsOK(res1
)) {
16548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16556 if (!SWIG_IsOK(ecode3
)) {
16557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16559 arg3
= static_cast< int >(val3
);
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_Py_Void();
16573 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxDC
*arg1
= (wxDC
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 PyObject
* obj2
= 0 ;
16593 PyObject
* obj3
= 0 ;
16594 PyObject
* obj4
= 0 ;
16595 char * kwnames
[] = {
16596 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16601 if (!SWIG_IsOK(res1
)) {
16602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16606 if (!SWIG_IsOK(ecode2
)) {
16607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16609 arg2
= static_cast< int >(val2
);
16610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16611 if (!SWIG_IsOK(ecode3
)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16614 arg3
= static_cast< int >(val3
);
16615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16616 if (!SWIG_IsOK(ecode4
)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16619 arg4
= static_cast< int >(val4
);
16620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16621 if (!SWIG_IsOK(ecode5
)) {
16622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16624 arg5
= static_cast< int >(val5
);
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= SWIG_Py_Void();
16638 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
= 0;
16640 wxDC
*arg1
= (wxDC
*) 0 ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 char * kwnames
[] = {
16648 (char *) "self",(char *) "rect", NULL
16651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16667 resultobj
= SWIG_Py_Void();
16674 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
= 0;
16676 wxDC
*arg1
= (wxDC
*) 0 ;
16677 wxPoint
*arg2
= 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 PyObject
* obj2
= 0 ;
16686 char * kwnames
[] = {
16687 (char *) "self",(char *) "pt",(char *) "sz", NULL
16690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16692 if (!SWIG_IsOK(res1
)) {
16693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16698 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16702 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= SWIG_Py_Void();
16717 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
= 0;
16719 wxDC
*arg1
= (wxDC
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 PyObject
* obj2
= 0 ;
16734 PyObject
* obj3
= 0 ;
16735 char * kwnames
[] = {
16736 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16746 if (!SWIG_IsOK(res2
)) {
16747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16752 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16754 if (!SWIG_IsOK(ecode3
)) {
16755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16757 arg3
= static_cast< int >(val3
);
16758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16759 if (!SWIG_IsOK(ecode4
)) {
16760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16762 arg4
= static_cast< int >(val4
);
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= SWIG_Py_Void();
16776 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
= 0;
16778 wxDC
*arg1
= (wxDC
*) 0 ;
16780 wxPoint
*arg3
= 0 ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 PyObject
* obj2
= 0 ;
16789 char * kwnames
[] = {
16790 (char *) "self",(char *) "icon",(char *) "pt", NULL
16793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16795 if (!SWIG_IsOK(res1
)) {
16796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16800 if (!SWIG_IsOK(res2
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16806 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_Py_Void();
16824 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
= 0;
16826 wxDC
*arg1
= (wxDC
*) 0 ;
16827 wxBitmap
*arg2
= 0 ;
16830 bool arg5
= (bool) false ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 PyObject
* obj2
= 0 ;
16844 PyObject
* obj3
= 0 ;
16845 PyObject
* obj4
= 0 ;
16846 char * kwnames
[] = {
16847 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16857 if (!SWIG_IsOK(res2
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16863 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16865 if (!SWIG_IsOK(ecode3
)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16868 arg3
= static_cast< int >(val3
);
16869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16870 if (!SWIG_IsOK(ecode4
)) {
16871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16873 arg4
= static_cast< int >(val4
);
16875 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16876 if (!SWIG_IsOK(ecode5
)) {
16877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16879 arg5
= static_cast< bool >(val5
);
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= SWIG_Py_Void();
16894 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
= 0;
16896 wxDC
*arg1
= (wxDC
*) 0 ;
16897 wxBitmap
*arg2
= 0 ;
16898 wxPoint
*arg3
= 0 ;
16899 bool arg4
= (bool) false ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 PyObject
* obj2
= 0 ;
16910 PyObject
* obj3
= 0 ;
16911 char * kwnames
[] = {
16912 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16917 if (!SWIG_IsOK(res1
)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16922 if (!SWIG_IsOK(res2
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16928 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16934 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16935 if (!SWIG_IsOK(ecode4
)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16938 arg4
= static_cast< bool >(val4
);
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_Py_Void();
16953 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
= 0;
16955 wxDC
*arg1
= (wxDC
*) 0 ;
16956 wxString
*arg2
= 0 ;
16961 bool temp2
= false ;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 PyObject
* obj2
= 0 ;
16969 PyObject
* obj3
= 0 ;
16970 char * kwnames
[] = {
16971 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16976 if (!SWIG_IsOK(res1
)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16981 arg2
= wxString_in_helper(obj1
);
16982 if (arg2
== NULL
) SWIG_fail
;
16985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16986 if (!SWIG_IsOK(ecode3
)) {
16987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16989 arg3
= static_cast< int >(val3
);
16990 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16991 if (!SWIG_IsOK(ecode4
)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16994 arg4
= static_cast< int >(val4
);
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_Py_Void();
17016 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
= 0;
17018 wxDC
*arg1
= (wxDC
*) 0 ;
17019 wxString
*arg2
= 0 ;
17020 wxPoint
*arg3
= 0 ;
17023 bool temp2
= false ;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 PyObject
* obj2
= 0 ;
17028 char * kwnames
[] = {
17029 (char *) "self",(char *) "text",(char *) "pt", NULL
17032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17034 if (!SWIG_IsOK(res1
)) {
17035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17039 arg2
= wxString_in_helper(obj1
);
17040 if (arg2
== NULL
) SWIG_fail
;
17045 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= SWIG_Py_Void();
17068 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
= 0;
17070 wxDC
*arg1
= (wxDC
*) 0 ;
17071 wxString
*arg2
= 0 ;
17077 bool temp2
= false ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 PyObject
* obj2
= 0 ;
17087 PyObject
* obj3
= 0 ;
17088 PyObject
* obj4
= 0 ;
17089 char * kwnames
[] = {
17090 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17095 if (!SWIG_IsOK(res1
)) {
17096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17100 arg2
= wxString_in_helper(obj1
);
17101 if (arg2
== NULL
) SWIG_fail
;
17104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17105 if (!SWIG_IsOK(ecode3
)) {
17106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17108 arg3
= static_cast< int >(val3
);
17109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17110 if (!SWIG_IsOK(ecode4
)) {
17111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17113 arg4
= static_cast< int >(val4
);
17114 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17115 if (!SWIG_IsOK(ecode5
)) {
17116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17118 arg5
= static_cast< double >(val5
);
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= SWIG_Py_Void();
17140 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
= 0;
17142 wxDC
*arg1
= (wxDC
*) 0 ;
17143 wxString
*arg2
= 0 ;
17144 wxPoint
*arg3
= 0 ;
17148 bool temp2
= false ;
17152 PyObject
* obj0
= 0 ;
17153 PyObject
* obj1
= 0 ;
17154 PyObject
* obj2
= 0 ;
17155 PyObject
* obj3
= 0 ;
17156 char * kwnames
[] = {
17157 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17162 if (!SWIG_IsOK(res1
)) {
17163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17167 arg2
= wxString_in_helper(obj1
);
17168 if (arg2
== NULL
) SWIG_fail
;
17173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17175 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17176 if (!SWIG_IsOK(ecode4
)) {
17177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17179 arg4
= static_cast< double >(val4
);
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_Py_Void();
17201 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
= 0;
17203 wxDC
*arg1
= (wxDC
*) 0 ;
17208 wxDC
*arg6
= (wxDC
*) 0 ;
17211 int arg9
= (int) wxCOPY
;
17212 bool arg10
= (bool) false ;
17213 int arg11
= (int) -1 ;
17214 int arg12
= (int) -1 ;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 PyObject
* obj2
= 0 ;
17243 PyObject
* obj3
= 0 ;
17244 PyObject
* obj4
= 0 ;
17245 PyObject
* obj5
= 0 ;
17246 PyObject
* obj6
= 0 ;
17247 PyObject
* obj7
= 0 ;
17248 PyObject
* obj8
= 0 ;
17249 PyObject
* obj9
= 0 ;
17250 PyObject
* obj10
= 0 ;
17251 PyObject
* obj11
= 0 ;
17252 char * kwnames
[] = {
17253 (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
17256 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
;
17257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17258 if (!SWIG_IsOK(res1
)) {
17259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17263 if (!SWIG_IsOK(ecode2
)) {
17264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17266 arg2
= static_cast< int >(val2
);
17267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17268 if (!SWIG_IsOK(ecode3
)) {
17269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17271 arg3
= static_cast< int >(val3
);
17272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17273 if (!SWIG_IsOK(ecode4
)) {
17274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17276 arg4
= static_cast< int >(val4
);
17277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17278 if (!SWIG_IsOK(ecode5
)) {
17279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17281 arg5
= static_cast< int >(val5
);
17282 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17283 if (!SWIG_IsOK(res6
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17286 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17287 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17288 if (!SWIG_IsOK(ecode7
)) {
17289 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17291 arg7
= static_cast< int >(val7
);
17292 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17293 if (!SWIG_IsOK(ecode8
)) {
17294 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17296 arg8
= static_cast< int >(val8
);
17298 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17299 if (!SWIG_IsOK(ecode9
)) {
17300 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17302 arg9
= static_cast< int >(val9
);
17305 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17306 if (!SWIG_IsOK(ecode10
)) {
17307 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17309 arg10
= static_cast< bool >(val10
);
17312 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17313 if (!SWIG_IsOK(ecode11
)) {
17314 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17316 arg11
= static_cast< int >(val11
);
17319 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17320 if (!SWIG_IsOK(ecode12
)) {
17321 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17323 arg12
= static_cast< int >(val12
);
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17340 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
= 0;
17342 wxDC
*arg1
= (wxDC
*) 0 ;
17343 wxPoint
*arg2
= 0 ;
17345 wxDC
*arg4
= (wxDC
*) 0 ;
17346 wxPoint
*arg5
= 0 ;
17347 int arg6
= (int) wxCOPY
;
17348 bool arg7
= (bool) false ;
17349 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17350 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 PyObject
* obj3
= 0 ;
17368 PyObject
* obj4
= 0 ;
17369 PyObject
* obj5
= 0 ;
17370 PyObject
* obj6
= 0 ;
17371 PyObject
* obj7
= 0 ;
17372 char * kwnames
[] = {
17373 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17378 if (!SWIG_IsOK(res1
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17384 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17388 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17390 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17391 if (!SWIG_IsOK(res4
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17394 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17397 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17400 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17401 if (!SWIG_IsOK(ecode6
)) {
17402 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17404 arg6
= static_cast< int >(val6
);
17407 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17408 if (!SWIG_IsOK(ecode7
)) {
17409 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17411 arg7
= static_cast< bool >(val7
);
17416 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17434 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
= 0;
17436 wxDC
*arg1
= (wxDC
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 PyObject
* obj2
= 0 ;
17454 PyObject
* obj3
= 0 ;
17455 PyObject
* obj4
= 0 ;
17456 char * kwnames
[] = {
17457 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17462 if (!SWIG_IsOK(res1
)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17467 if (!SWIG_IsOK(ecode2
)) {
17468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17470 arg2
= static_cast< int >(val2
);
17471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17472 if (!SWIG_IsOK(ecode3
)) {
17473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17475 arg3
= static_cast< int >(val3
);
17476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17477 if (!SWIG_IsOK(ecode4
)) {
17478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17480 arg4
= static_cast< int >(val4
);
17481 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17482 if (!SWIG_IsOK(ecode5
)) {
17483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17485 arg5
= static_cast< int >(val5
);
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_Py_Void();
17499 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxDC
*arg1
= (wxDC
*) 0 ;
17502 wxPoint
*arg2
= 0 ;
17508 PyObject
* obj0
= 0 ;
17509 PyObject
* obj1
= 0 ;
17510 PyObject
* obj2
= 0 ;
17511 char * kwnames
[] = {
17512 (char *) "self",(char *) "pt",(char *) "sz", NULL
17515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17517 if (!SWIG_IsOK(res1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17527 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_Py_Void();
17542 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
= 0;
17544 wxDC
*arg1
= (wxDC
*) 0 ;
17545 wxRegion
*arg2
= 0 ;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 char * kwnames
[] = {
17553 (char *) "self",(char *) "region", NULL
17556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",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_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17563 if (!SWIG_IsOK(res2
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17569 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= SWIG_Py_Void();
17583 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
= 0;
17585 wxDC
*arg1
= (wxDC
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 char * kwnames
[] = {
17593 (char *) "self",(char *) "rect", NULL
17596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17598 if (!SWIG_IsOK(res1
)) {
17599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_Py_Void();
17619 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
= 0;
17621 wxDC
*arg1
= (wxDC
*) 0 ;
17623 wxPoint
*arg3
= (wxPoint
*) 0 ;
17624 int arg4
= (int) 0 ;
17625 int arg5
= (int) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 PyObject
* obj2
= 0 ;
17635 PyObject
* obj3
= 0 ;
17636 char * kwnames
[] = {
17637 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17642 if (!SWIG_IsOK(res1
)) {
17643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17647 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17648 if (arg3
== NULL
) SWIG_fail
;
17651 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17652 if (!SWIG_IsOK(ecode4
)) {
17653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17655 arg4
= static_cast< int >(val4
);
17658 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17659 if (!SWIG_IsOK(ecode5
)) {
17660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17662 arg5
= static_cast< int >(val5
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_Py_Void();
17672 if (arg3
) delete [] arg3
;
17677 if (arg3
) delete [] arg3
;
17683 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
= 0;
17685 wxDC
*arg1
= (wxDC
*) 0 ;
17687 wxPoint
*arg3
= (wxPoint
*) 0 ;
17688 int arg4
= (int) 0 ;
17689 int arg5
= (int) 0 ;
17690 int arg6
= (int) wxODDEVEN_RULE
;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 PyObject
* obj3
= 0 ;
17703 PyObject
* obj4
= 0 ;
17704 char * kwnames
[] = {
17705 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17710 if (!SWIG_IsOK(res1
)) {
17711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17715 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17716 if (arg3
== NULL
) SWIG_fail
;
17719 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17720 if (!SWIG_IsOK(ecode4
)) {
17721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17723 arg4
= static_cast< int >(val4
);
17726 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17727 if (!SWIG_IsOK(ecode5
)) {
17728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17730 arg5
= static_cast< int >(val5
);
17733 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17734 if (!SWIG_IsOK(ecode6
)) {
17735 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17737 arg6
= static_cast< int >(val6
);
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_Py_Void();
17747 if (arg3
) delete [] arg3
;
17752 if (arg3
) delete [] arg3
;
17758 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
= 0;
17760 wxDC
*arg1
= (wxDC
*) 0 ;
17761 wxString
*arg2
= 0 ;
17763 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17764 int arg5
= (int) -1 ;
17767 bool temp2
= false ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 PyObject
* obj3
= 0 ;
17777 PyObject
* obj4
= 0 ;
17778 char * kwnames
[] = {
17779 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17784 if (!SWIG_IsOK(res1
)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17789 arg2
= wxString_in_helper(obj1
);
17790 if (arg2
== NULL
) SWIG_fail
;
17795 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17799 if (!SWIG_IsOK(ecode4
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17802 arg4
= static_cast< int >(val4
);
17805 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17806 if (!SWIG_IsOK(ecode5
)) {
17807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17809 arg5
= static_cast< int >(val5
);
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_Py_Void();
17832 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
= 0;
17834 wxDC
*arg1
= (wxDC
*) 0 ;
17835 wxString
*arg2
= 0 ;
17836 wxBitmap
*arg3
= 0 ;
17838 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17839 int arg6
= (int) -1 ;
17843 bool temp2
= false ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 PyObject
* obj2
= 0 ;
17854 PyObject
* obj3
= 0 ;
17855 PyObject
* obj4
= 0 ;
17856 PyObject
* obj5
= 0 ;
17857 char * kwnames
[] = {
17858 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17863 if (!SWIG_IsOK(res1
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17868 arg2
= wxString_in_helper(obj1
);
17869 if (arg2
== NULL
) SWIG_fail
;
17872 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17873 if (!SWIG_IsOK(res3
)) {
17874 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17879 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17882 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17886 if (!SWIG_IsOK(ecode5
)) {
17887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17889 arg5
= static_cast< int >(val5
);
17892 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17893 if (!SWIG_IsOK(ecode6
)) {
17894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17896 arg6
= static_cast< int >(val6
);
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17919 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
= 0;
17921 wxDC
*arg1
= (wxDC
*) 0 ;
17923 wxPoint
*arg3
= (wxPoint
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char * kwnames
[] = {
17929 (char *) "self",(char *) "points", NULL
17932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17934 if (!SWIG_IsOK(res1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17939 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17940 if (arg3
== NULL
) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 (arg1
)->DrawSpline(arg2
,arg3
);
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_Py_Void();
17950 if (arg3
) delete [] arg3
;
17955 if (arg3
) delete [] arg3
;
17961 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17962 PyObject
*resultobj
= 0;
17963 wxDC
*arg1
= (wxDC
*) 0 ;
17966 PyObject
*swig_obj
[1] ;
17968 if (!args
) SWIG_fail
;
17969 swig_obj
[0] = args
;
17970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17971 if (!SWIG_IsOK(res1
)) {
17972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_Py_Void();
17988 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
= 0;
17990 wxDC
*arg1
= (wxDC
*) 0 ;
17991 wxString
*arg2
= 0 ;
17995 bool temp2
= false ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char * kwnames
[] = {
17999 (char *) "self",(char *) "message", NULL
18002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18004 if (!SWIG_IsOK(res1
)) {
18005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18009 arg2
= wxString_in_helper(obj1
);
18010 if (arg2
== NULL
) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18036 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18037 PyObject
*resultobj
= 0;
18038 wxDC
*arg1
= (wxDC
*) 0 ;
18041 PyObject
*swig_obj
[1] ;
18043 if (!args
) SWIG_fail
;
18044 swig_obj
[0] = args
;
18045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18046 if (!SWIG_IsOK(res1
)) {
18047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_Py_Void();
18063 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18064 PyObject
*resultobj
= 0;
18065 wxDC
*arg1
= (wxDC
*) 0 ;
18068 PyObject
*swig_obj
[1] ;
18070 if (!args
) SWIG_fail
;
18071 swig_obj
[0] = args
;
18072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->StartPage();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_Py_Void();
18090 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18091 PyObject
*resultobj
= 0;
18092 wxDC
*arg1
= (wxDC
*) 0 ;
18095 PyObject
*swig_obj
[1] ;
18097 if (!args
) SWIG_fail
;
18098 swig_obj
[0] = args
;
18099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18100 if (!SWIG_IsOK(res1
)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_Py_Void();
18117 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
= 0;
18119 wxDC
*arg1
= (wxDC
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char * kwnames
[] = {
18128 (char *) "self",(char *) "font", NULL
18131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18138 if (!SWIG_IsOK(res2
)) {
18139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18144 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 (arg1
)->SetFont((wxFont
const &)*arg2
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= SWIG_Py_Void();
18158 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
= 0;
18160 wxDC
*arg1
= (wxDC
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char * kwnames
[] = {
18169 (char *) "self",(char *) "pen", NULL
18172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18179 if (!SWIG_IsOK(res2
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18185 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetPen((wxPen
const &)*arg2
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_Py_Void();
18199 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxDC
*arg1
= (wxDC
*) 0 ;
18202 wxBrush
*arg2
= 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "brush", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18220 if (!SWIG_IsOK(res2
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18226 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_Py_Void();
18240 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
= 0;
18242 wxDC
*arg1
= (wxDC
*) 0 ;
18243 wxBrush
*arg2
= 0 ;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 char * kwnames
[] = {
18251 (char *) "self",(char *) "brush", NULL
18254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18261 if (!SWIG_IsOK(res2
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18267 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_Py_Void();
18281 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxDC
*arg1
= (wxDC
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 char * kwnames
[] = {
18292 (char *) "self",(char *) "mode", NULL
18295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18297 if (!SWIG_IsOK(res1
)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18302 if (!SWIG_IsOK(ecode2
)) {
18303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18305 arg2
= static_cast< int >(val2
);
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 (arg1
)->SetBackgroundMode(arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_Py_Void();
18319 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
= 0;
18321 wxDC
*arg1
= (wxDC
*) 0 ;
18322 wxPalette
*arg2
= 0 ;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 char * kwnames
[] = {
18330 (char *) "self",(char *) "palette", NULL
18333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18335 if (!SWIG_IsOK(res1
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18340 if (!SWIG_IsOK(res2
)) {
18341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18346 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_Py_Void();
18360 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18361 PyObject
*resultobj
= 0;
18362 wxDC
*arg1
= (wxDC
*) 0 ;
18365 PyObject
*swig_obj
[1] ;
18367 if (!args
) SWIG_fail
;
18368 swig_obj
[0] = args
;
18369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18370 if (!SWIG_IsOK(res1
)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 (arg1
)->DestroyClippingRegion();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= SWIG_Py_Void();
18387 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18388 PyObject
*resultobj
= 0;
18389 wxDC
*arg1
= (wxDC
*) 0 ;
18390 int *arg2
= (int *) 0 ;
18391 int *arg3
= (int *) 0 ;
18392 int *arg4
= (int *) 0 ;
18393 int *arg5
= (int *) 0 ;
18397 int res2
= SWIG_TMPOBJ
;
18399 int res3
= SWIG_TMPOBJ
;
18401 int res4
= SWIG_TMPOBJ
;
18403 int res5
= SWIG_TMPOBJ
;
18404 PyObject
*swig_obj
[1] ;
18410 if (!args
) SWIG_fail
;
18411 swig_obj
[0] = args
;
18412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18413 if (!SWIG_IsOK(res1
)) {
18414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_Py_Void();
18424 if (SWIG_IsTmpObj(res2
)) {
18425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18427 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18430 if (SWIG_IsTmpObj(res3
)) {
18431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18433 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18436 if (SWIG_IsTmpObj(res4
)) {
18437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18439 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18442 if (SWIG_IsTmpObj(res5
)) {
18443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18445 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18454 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18455 PyObject
*resultobj
= 0;
18456 wxDC
*arg1
= (wxDC
*) 0 ;
18460 PyObject
*swig_obj
[1] ;
18462 if (!args
) SWIG_fail
;
18463 swig_obj
[0] = args
;
18464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18465 if (!SWIG_IsOK(res1
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= wxDC_GetClippingRect(arg1
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18482 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18483 PyObject
*resultobj
= 0;
18484 wxDC
*arg1
= (wxDC
*) 0 ;
18488 PyObject
*swig_obj
[1] ;
18490 if (!args
) SWIG_fail
;
18491 swig_obj
[0] = args
;
18492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18493 if (!SWIG_IsOK(res1
)) {
18494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_From_int(static_cast< int >(result
));
18510 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18511 PyObject
*resultobj
= 0;
18512 wxDC
*arg1
= (wxDC
*) 0 ;
18516 PyObject
*swig_obj
[1] ;
18518 if (!args
) SWIG_fail
;
18519 swig_obj
[0] = args
;
18520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_From_int(static_cast< int >(result
));
18538 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
= 0;
18540 wxDC
*arg1
= (wxDC
*) 0 ;
18541 wxString
*arg2
= 0 ;
18542 int *arg3
= (int *) 0 ;
18543 int *arg4
= (int *) 0 ;
18546 bool temp2
= false ;
18548 int res3
= SWIG_TMPOBJ
;
18550 int res4
= SWIG_TMPOBJ
;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 char * kwnames
[] = {
18554 (char *) "self",(char *) "string", NULL
18559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18566 arg2
= wxString_in_helper(obj1
);
18567 if (arg2
== NULL
) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_Py_Void();
18577 if (SWIG_IsTmpObj(res3
)) {
18578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18580 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18583 if (SWIG_IsTmpObj(res4
)) {
18584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18586 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18603 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
= 0;
18605 wxDC
*arg1
= (wxDC
*) 0 ;
18606 wxString
*arg2
= 0 ;
18607 int *arg3
= (int *) 0 ;
18608 int *arg4
= (int *) 0 ;
18609 int *arg5
= (int *) 0 ;
18610 int *arg6
= (int *) 0 ;
18611 wxFont
*arg7
= (wxFont
*) NULL
;
18614 bool temp2
= false ;
18616 int res3
= SWIG_TMPOBJ
;
18618 int res4
= SWIG_TMPOBJ
;
18620 int res5
= SWIG_TMPOBJ
;
18622 int res6
= SWIG_TMPOBJ
;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 PyObject
* obj2
= 0 ;
18628 char * kwnames
[] = {
18629 (char *) "self",(char *) "string",(char *) "font", NULL
18636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18638 if (!SWIG_IsOK(res1
)) {
18639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18643 arg2
= wxString_in_helper(obj1
);
18644 if (arg2
== NULL
) SWIG_fail
;
18648 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18649 if (!SWIG_IsOK(res7
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18652 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_Py_Void();
18661 if (SWIG_IsTmpObj(res3
)) {
18662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18664 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18667 if (SWIG_IsTmpObj(res4
)) {
18668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18670 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18673 if (SWIG_IsTmpObj(res5
)) {
18674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18676 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18679 if (SWIG_IsTmpObj(res6
)) {
18680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18682 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18699 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
= 0;
18701 wxDC
*arg1
= (wxDC
*) 0 ;
18702 wxString
*arg2
= 0 ;
18703 int *arg3
= (int *) 0 ;
18704 int *arg4
= (int *) 0 ;
18705 int *arg5
= (int *) 0 ;
18706 wxFont
*arg6
= (wxFont
*) NULL
;
18709 bool temp2
= false ;
18711 int res3
= SWIG_TMPOBJ
;
18713 int res4
= SWIG_TMPOBJ
;
18715 int res5
= SWIG_TMPOBJ
;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 PyObject
* obj2
= 0 ;
18721 char * kwnames
[] = {
18722 (char *) "self",(char *) "text",(char *) "font", NULL
18728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18730 if (!SWIG_IsOK(res1
)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18735 arg2
= wxString_in_helper(obj1
);
18736 if (arg2
== NULL
) SWIG_fail
;
18740 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18741 if (!SWIG_IsOK(res6
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18744 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_Py_Void();
18753 if (SWIG_IsTmpObj(res3
)) {
18754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18756 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18759 if (SWIG_IsTmpObj(res4
)) {
18760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18762 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18765 if (SWIG_IsTmpObj(res5
)) {
18766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18768 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18785 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
= 0;
18787 wxDC
*arg1
= (wxDC
*) 0 ;
18788 wxString
*arg2
= 0 ;
18792 bool temp2
= false ;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 char * kwnames
[] = {
18796 (char *) "self",(char *) "text", NULL
18799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18801 if (!SWIG_IsOK(res1
)) {
18802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18806 arg2
= wxString_in_helper(obj1
);
18807 if (arg2
== NULL
) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= PyList_New(0);
18819 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18820 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18821 PyList_Append(resultobj
, val
);
18839 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18840 PyObject
*resultobj
= 0;
18841 wxDC
*arg1
= (wxDC
*) 0 ;
18845 PyObject
*swig_obj
[1] ;
18847 if (!args
) SWIG_fail
;
18848 swig_obj
[0] = args
;
18849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18850 if (!SWIG_IsOK(res1
)) {
18851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (arg1
)->GetSize();
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18867 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18868 PyObject
*resultobj
= 0;
18869 wxDC
*arg1
= (wxDC
*) 0 ;
18870 int *arg2
= (int *) 0 ;
18871 int *arg3
= (int *) 0 ;
18875 int res2
= SWIG_TMPOBJ
;
18877 int res3
= SWIG_TMPOBJ
;
18878 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_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->GetSize(arg2
,arg3
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_Py_Void();
18896 if (SWIG_IsTmpObj(res2
)) {
18897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18899 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18902 if (SWIG_IsTmpObj(res3
)) {
18903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18905 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18914 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18915 PyObject
*resultobj
= 0;
18916 wxDC
*arg1
= (wxDC
*) 0 ;
18920 PyObject
*swig_obj
[1] ;
18922 if (!args
) SWIG_fail
;
18923 swig_obj
[0] = args
;
18924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18925 if (!SWIG_IsOK(res1
)) {
18926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18942 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18943 PyObject
*resultobj
= 0;
18944 wxDC
*arg1
= (wxDC
*) 0 ;
18945 int *arg2
= (int *) 0 ;
18946 int *arg3
= (int *) 0 ;
18950 int res2
= SWIG_TMPOBJ
;
18952 int res3
= SWIG_TMPOBJ
;
18953 PyObject
*swig_obj
[1] ;
18957 if (!args
) SWIG_fail
;
18958 swig_obj
[0] = args
;
18959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18960 if (!SWIG_IsOK(res1
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= SWIG_Py_Void();
18971 if (SWIG_IsTmpObj(res2
)) {
18972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18974 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18977 if (SWIG_IsTmpObj(res3
)) {
18978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18980 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18989 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
= 0;
18991 wxDC
*arg1
= (wxDC
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char * kwnames
[] = {
19001 (char *) "self",(char *) "x", NULL
19004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19006 if (!SWIG_IsOK(res1
)) {
19007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
19009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19011 if (!SWIG_IsOK(ecode2
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
19014 arg2
= static_cast< int >(val2
);
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_From_int(static_cast< int >(result
));
19028 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= 0;
19030 wxDC
*arg1
= (wxDC
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char * kwnames
[] = {
19040 (char *) "self",(char *) "y", NULL
19043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19045 if (!SWIG_IsOK(res1
)) {
19046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19050 if (!SWIG_IsOK(ecode2
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19053 arg2
= static_cast< int >(val2
);
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_From_int(static_cast< int >(result
));
19067 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
= 0;
19069 wxDC
*arg1
= (wxDC
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char * kwnames
[] = {
19079 (char *) "self",(char *) "x", NULL
19082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19084 if (!SWIG_IsOK(res1
)) {
19085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19089 if (!SWIG_IsOK(ecode2
)) {
19090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19092 arg2
= static_cast< int >(val2
);
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_From_int(static_cast< int >(result
));
19106 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
= 0;
19108 wxDC
*arg1
= (wxDC
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 PyObject
* obj1
= 0 ;
19117 char * kwnames
[] = {
19118 (char *) "self",(char *) "y", NULL
19121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19123 if (!SWIG_IsOK(res1
)) {
19124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19128 if (!SWIG_IsOK(ecode2
)) {
19129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19131 arg2
= static_cast< int >(val2
);
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_From_int(static_cast< int >(result
));
19145 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
= 0;
19147 wxDC
*arg1
= (wxDC
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char * kwnames
[] = {
19157 (char *) "self",(char *) "x", NULL
19160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19162 if (!SWIG_IsOK(res1
)) {
19163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
19165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19167 if (!SWIG_IsOK(ecode2
)) {
19168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19170 arg2
= static_cast< int >(val2
);
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_From_int(static_cast< int >(result
));
19184 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxDC
*arg1
= (wxDC
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "self",(char *) "y", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19206 if (!SWIG_IsOK(ecode2
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19209 arg2
= static_cast< int >(val2
);
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_From_int(static_cast< int >(result
));
19223 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxDC
*arg1
= (wxDC
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char * kwnames
[] = {
19235 (char *) "self",(char *) "x", NULL
19238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19245 if (!SWIG_IsOK(ecode2
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19248 arg2
= static_cast< int >(val2
);
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_From_int(static_cast< int >(result
));
19262 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
= 0;
19264 wxDC
*arg1
= (wxDC
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char * kwnames
[] = {
19274 (char *) "self",(char *) "y", NULL
19277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19279 if (!SWIG_IsOK(res1
)) {
19280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19284 if (!SWIG_IsOK(ecode2
)) {
19285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19287 arg2
= static_cast< int >(val2
);
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_From_int(static_cast< int >(result
));
19301 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19302 PyObject
*resultobj
= 0;
19303 wxDC
*arg1
= (wxDC
*) 0 ;
19307 PyObject
*swig_obj
[1] ;
19309 if (!args
) SWIG_fail
;
19310 swig_obj
[0] = args
;
19311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19331 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19332 PyObject
*resultobj
= 0;
19333 wxDC
*arg1
= (wxDC
*) 0 ;
19337 PyObject
*swig_obj
[1] ;
19339 if (!args
) SWIG_fail
;
19340 swig_obj
[0] = args
;
19341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19342 if (!SWIG_IsOK(res1
)) {
19343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19361 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19362 PyObject
*resultobj
= 0;
19363 wxDC
*arg1
= (wxDC
*) 0 ;
19367 PyObject
*swig_obj
[1] ;
19369 if (!args
) SWIG_fail
;
19370 swig_obj
[0] = args
;
19371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19372 if (!SWIG_IsOK(res1
)) {
19373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= SWIG_From_int(static_cast< int >(result
));
19389 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19390 PyObject
*resultobj
= 0;
19391 wxDC
*arg1
= (wxDC
*) 0 ;
19395 PyObject
*swig_obj
[1] ;
19397 if (!args
) SWIG_fail
;
19398 swig_obj
[0] = args
;
19399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19400 if (!SWIG_IsOK(res1
)) {
19401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 result
= ((wxDC
const *)arg1
)->GetPPI();
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19417 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19418 PyObject
*resultobj
= 0;
19419 wxDC
*arg1
= (wxDC
*) 0 ;
19423 PyObject
*swig_obj
[1] ;
19425 if (!args
) SWIG_fail
;
19426 swig_obj
[0] = args
;
19427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19428 if (!SWIG_IsOK(res1
)) {
19429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (bool)((wxDC
const *)arg1
)->Ok();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19447 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19448 PyObject
*resultobj
= 0;
19449 wxDC
*arg1
= (wxDC
*) 0 ;
19453 PyObject
*swig_obj
[1] ;
19455 if (!args
) SWIG_fail
;
19456 swig_obj
[0] = args
;
19457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19458 if (!SWIG_IsOK(res1
)) {
19459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_From_int(static_cast< int >(result
));
19475 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19476 PyObject
*resultobj
= 0;
19477 wxDC
*arg1
= (wxDC
*) 0 ;
19478 wxBrush
*result
= 0 ;
19481 PyObject
*swig_obj
[1] ;
19483 if (!args
) SWIG_fail
;
19484 swig_obj
[0] = args
;
19485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19486 if (!SWIG_IsOK(res1
)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19494 result
= (wxBrush
*) &_result_ref
;
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19500 wxBrush
* resultptr
= new wxBrush(*result
);
19501 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19509 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19510 PyObject
*resultobj
= 0;
19511 wxDC
*arg1
= (wxDC
*) 0 ;
19512 wxBrush
*result
= 0 ;
19515 PyObject
*swig_obj
[1] ;
19517 if (!args
) SWIG_fail
;
19518 swig_obj
[0] = args
;
19519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19520 if (!SWIG_IsOK(res1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19528 result
= (wxBrush
*) &_result_ref
;
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19534 wxBrush
* resultptr
= new wxBrush(*result
);
19535 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19543 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19544 PyObject
*resultobj
= 0;
19545 wxDC
*arg1
= (wxDC
*) 0 ;
19546 wxFont
*result
= 0 ;
19549 PyObject
*swig_obj
[1] ;
19551 if (!args
) SWIG_fail
;
19552 swig_obj
[0] = args
;
19553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19554 if (!SWIG_IsOK(res1
)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19562 result
= (wxFont
*) &_result_ref
;
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19568 wxFont
* resultptr
= new wxFont(*result
);
19569 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19577 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19578 PyObject
*resultobj
= 0;
19579 wxDC
*arg1
= (wxDC
*) 0 ;
19580 wxPen
*result
= 0 ;
19583 PyObject
*swig_obj
[1] ;
19585 if (!args
) SWIG_fail
;
19586 swig_obj
[0] = args
;
19587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19596 result
= (wxPen
*) &_result_ref
;
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19602 wxPen
* resultptr
= new wxPen(*result
);
19603 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19611 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19612 PyObject
*resultobj
= 0;
19613 wxDC
*arg1
= (wxDC
*) 0 ;
19614 wxColour
*result
= 0 ;
19617 PyObject
*swig_obj
[1] ;
19619 if (!args
) SWIG_fail
;
19620 swig_obj
[0] = args
;
19621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19622 if (!SWIG_IsOK(res1
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19630 result
= (wxColour
*) &_result_ref
;
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19642 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19643 PyObject
*resultobj
= 0;
19644 wxDC
*arg1
= (wxDC
*) 0 ;
19645 wxColour
*result
= 0 ;
19648 PyObject
*swig_obj
[1] ;
19650 if (!args
) SWIG_fail
;
19651 swig_obj
[0] = args
;
19652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19653 if (!SWIG_IsOK(res1
)) {
19654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19661 result
= (wxColour
*) &_result_ref
;
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19673 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
= 0;
19675 wxDC
*arg1
= (wxDC
*) 0 ;
19676 wxColour
*arg2
= 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char * kwnames
[] = {
19683 (char *) "self",(char *) "colour", NULL
19686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19688 if (!SWIG_IsOK(res1
)) {
19689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_Py_Void();
19709 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
= 0;
19711 wxDC
*arg1
= (wxDC
*) 0 ;
19712 wxColour
*arg2
= 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char * kwnames
[] = {
19719 (char *) "self",(char *) "colour", NULL
19722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19724 if (!SWIG_IsOK(res1
)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_Py_Void();
19745 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19746 PyObject
*resultobj
= 0;
19747 wxDC
*arg1
= (wxDC
*) 0 ;
19751 PyObject
*swig_obj
[1] ;
19753 if (!args
) SWIG_fail
;
19754 swig_obj
[0] = args
;
19755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_From_int(static_cast< int >(result
));
19773 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
= 0;
19775 wxDC
*arg1
= (wxDC
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char * kwnames
[] = {
19784 (char *) "self",(char *) "mode", NULL
19787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19794 if (!SWIG_IsOK(ecode2
)) {
19795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19797 arg2
= static_cast< int >(val2
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->SetMapMode(arg2
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_Py_Void();
19811 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19812 PyObject
*resultobj
= 0;
19813 wxDC
*arg1
= (wxDC
*) 0 ;
19814 double *arg2
= (double *) 0 ;
19815 double *arg3
= (double *) 0 ;
19819 int res2
= SWIG_TMPOBJ
;
19821 int res3
= SWIG_TMPOBJ
;
19822 PyObject
*swig_obj
[1] ;
19826 if (!args
) SWIG_fail
;
19827 swig_obj
[0] = args
;
19828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19829 if (!SWIG_IsOK(res1
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_Py_Void();
19840 if (SWIG_IsTmpObj(res2
)) {
19841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19843 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19846 if (SWIG_IsTmpObj(res3
)) {
19847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19849 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19858 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
= 0;
19860 wxDC
*arg1
= (wxDC
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 PyObject
* obj2
= 0 ;
19872 char * kwnames
[] = {
19873 (char *) "self",(char *) "x",(char *) "y", NULL
19876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19882 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19883 if (!SWIG_IsOK(ecode2
)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19886 arg2
= static_cast< double >(val2
);
19887 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19888 if (!SWIG_IsOK(ecode3
)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19891 arg3
= static_cast< double >(val3
);
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->SetUserScale(arg2
,arg3
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= SWIG_Py_Void();
19905 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19906 PyObject
*resultobj
= 0;
19907 wxDC
*arg1
= (wxDC
*) 0 ;
19908 double *arg2
= (double *) 0 ;
19909 double *arg3
= (double *) 0 ;
19913 int res2
= SWIG_TMPOBJ
;
19915 int res3
= SWIG_TMPOBJ
;
19916 PyObject
*swig_obj
[1] ;
19920 if (!args
) SWIG_fail
;
19921 swig_obj
[0] = args
;
19922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->GetLogicalScale(arg2
,arg3
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_Py_Void();
19934 if (SWIG_IsTmpObj(res2
)) {
19935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19937 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19940 if (SWIG_IsTmpObj(res3
)) {
19941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19943 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19952 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
= 0;
19954 wxDC
*arg1
= (wxDC
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 PyObject
* obj2
= 0 ;
19966 char * kwnames
[] = {
19967 (char *) "self",(char *) "x",(char *) "y", NULL
19970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19972 if (!SWIG_IsOK(res1
)) {
19973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19976 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19977 if (!SWIG_IsOK(ecode2
)) {
19978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19980 arg2
= static_cast< double >(val2
);
19981 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19982 if (!SWIG_IsOK(ecode3
)) {
19983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19985 arg3
= static_cast< double >(val3
);
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 (arg1
)->SetLogicalScale(arg2
,arg3
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_Py_Void();
19999 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20000 PyObject
*resultobj
= 0;
20001 wxDC
*arg1
= (wxDC
*) 0 ;
20005 PyObject
*swig_obj
[1] ;
20007 if (!args
) SWIG_fail
;
20008 swig_obj
[0] = args
;
20009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20027 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20028 PyObject
*resultobj
= 0;
20029 wxDC
*arg1
= (wxDC
*) 0 ;
20030 int *arg2
= (int *) 0 ;
20031 int *arg3
= (int *) 0 ;
20035 int res2
= SWIG_TMPOBJ
;
20037 int res3
= SWIG_TMPOBJ
;
20038 PyObject
*swig_obj
[1] ;
20042 if (!args
) SWIG_fail
;
20043 swig_obj
[0] = args
;
20044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20045 if (!SWIG_IsOK(res1
)) {
20046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_Py_Void();
20056 if (SWIG_IsTmpObj(res2
)) {
20057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20059 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20062 if (SWIG_IsTmpObj(res3
)) {
20063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20065 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20074 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
= 0;
20076 wxDC
*arg1
= (wxDC
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 PyObject
* obj2
= 0 ;
20088 char * kwnames
[] = {
20089 (char *) "self",(char *) "x",(char *) "y", NULL
20092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20099 if (!SWIG_IsOK(ecode2
)) {
20100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20102 arg2
= static_cast< int >(val2
);
20103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20104 if (!SWIG_IsOK(ecode3
)) {
20105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20107 arg3
= static_cast< int >(val3
);
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_Py_Void();
20121 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
= 0;
20123 wxDC
*arg1
= (wxDC
*) 0 ;
20124 wxPoint
*arg2
= 0 ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 char * kwnames
[] = {
20131 (char *) "self",(char *) "point", NULL
20134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20136 if (!SWIG_IsOK(res1
)) {
20137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_Py_Void();
20157 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20158 PyObject
*resultobj
= 0;
20159 wxDC
*arg1
= (wxDC
*) 0 ;
20163 PyObject
*swig_obj
[1] ;
20165 if (!args
) SWIG_fail
;
20166 swig_obj
[0] = args
;
20167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20168 if (!SWIG_IsOK(res1
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20185 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20186 PyObject
*resultobj
= 0;
20187 wxDC
*arg1
= (wxDC
*) 0 ;
20188 int *arg2
= (int *) 0 ;
20189 int *arg3
= (int *) 0 ;
20193 int res2
= SWIG_TMPOBJ
;
20195 int res3
= SWIG_TMPOBJ
;
20196 PyObject
*swig_obj
[1] ;
20200 if (!args
) SWIG_fail
;
20201 swig_obj
[0] = args
;
20202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20203 if (!SWIG_IsOK(res1
)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 resultobj
= SWIG_Py_Void();
20214 if (SWIG_IsTmpObj(res2
)) {
20215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20220 if (SWIG_IsTmpObj(res3
)) {
20221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20232 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
= 0;
20234 wxDC
*arg1
= (wxDC
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 PyObject
* obj2
= 0 ;
20246 char * kwnames
[] = {
20247 (char *) "self",(char *) "x",(char *) "y", NULL
20250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20252 if (!SWIG_IsOK(res1
)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20257 if (!SWIG_IsOK(ecode2
)) {
20258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20260 arg2
= static_cast< int >(val2
);
20261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20262 if (!SWIG_IsOK(ecode3
)) {
20263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20265 arg3
= static_cast< int >(val3
);
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= SWIG_Py_Void();
20279 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
= 0;
20281 wxDC
*arg1
= (wxDC
*) 0 ;
20282 wxPoint
*arg2
= 0 ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 char * kwnames
[] = {
20289 (char *) "self",(char *) "point", NULL
20292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20294 if (!SWIG_IsOK(res1
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_Py_Void();
20315 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxDC
*arg1
= (wxDC
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 PyObject
* obj1
= 0 ;
20328 PyObject
* obj2
= 0 ;
20329 char * kwnames
[] = {
20330 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20339 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20340 if (!SWIG_IsOK(ecode2
)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20343 arg2
= static_cast< bool >(val2
);
20344 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20345 if (!SWIG_IsOK(ecode3
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20348 arg3
= static_cast< bool >(val3
);
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_Py_Void();
20362 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20363 PyObject
*resultobj
= 0;
20364 wxDC
*arg1
= (wxDC
*) 0 ;
20368 PyObject
*swig_obj
[1] ;
20370 if (!args
) SWIG_fail
;
20371 swig_obj
[0] = args
;
20372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_From_int(static_cast< int >(result
));
20390 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxDC
*arg1
= (wxDC
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char * kwnames
[] = {
20401 (char *) "self",(char *) "function", NULL
20404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20411 if (!SWIG_IsOK(ecode2
)) {
20412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20414 arg2
= static_cast< int >(val2
);
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->SetLogicalFunction(arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= SWIG_Py_Void();
20428 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20429 PyObject
*resultobj
= 0;
20430 wxDC
*arg1
= (wxDC
*) 0 ;
20433 PyObject
*swig_obj
[1] ;
20435 if (!args
) SWIG_fail
;
20436 swig_obj
[0] = args
;
20437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20438 if (!SWIG_IsOK(res1
)) {
20439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->ComputeScaleAndOrigin();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= SWIG_Py_Void();
20455 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
= 0;
20457 wxDC
*arg1
= (wxDC
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 PyObject
* obj1
= 0 ;
20468 PyObject
* obj2
= 0 ;
20469 char * kwnames
[] = {
20470 (char *) "self",(char *) "x",(char *) "y", NULL
20473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20475 if (!SWIG_IsOK(res1
)) {
20476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20480 if (!SWIG_IsOK(ecode2
)) {
20481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20483 arg2
= static_cast< int >(val2
);
20484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20485 if (!SWIG_IsOK(ecode3
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20488 arg3
= static_cast< int >(val3
);
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_Py_Void();
20502 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
= 0;
20504 wxDC
*arg1
= (wxDC
*) 0 ;
20505 wxPoint
*arg2
= 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char * kwnames
[] = {
20512 (char *) "self",(char *) "point", NULL
20515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= SWIG_Py_Void();
20538 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20539 PyObject
*resultobj
= 0;
20540 wxDC
*arg1
= (wxDC
*) 0 ;
20543 PyObject
*swig_obj
[1] ;
20545 if (!args
) SWIG_fail
;
20546 swig_obj
[0] = args
;
20547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20548 if (!SWIG_IsOK(res1
)) {
20549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 (arg1
)->ResetBoundingBox();
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_Py_Void();
20565 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20566 PyObject
*resultobj
= 0;
20567 wxDC
*arg1
= (wxDC
*) 0 ;
20571 PyObject
*swig_obj
[1] ;
20573 if (!args
) SWIG_fail
;
20574 swig_obj
[0] = args
;
20575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (int)((wxDC
const *)arg1
)->MinX();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_From_int(static_cast< int >(result
));
20593 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20594 PyObject
*resultobj
= 0;
20595 wxDC
*arg1
= (wxDC
*) 0 ;
20599 PyObject
*swig_obj
[1] ;
20601 if (!args
) SWIG_fail
;
20602 swig_obj
[0] = args
;
20603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20604 if (!SWIG_IsOK(res1
)) {
20605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= (int)((wxDC
const *)arg1
)->MaxX();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 resultobj
= SWIG_From_int(static_cast< int >(result
));
20621 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20622 PyObject
*resultobj
= 0;
20623 wxDC
*arg1
= (wxDC
*) 0 ;
20627 PyObject
*swig_obj
[1] ;
20629 if (!args
) SWIG_fail
;
20630 swig_obj
[0] = args
;
20631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20632 if (!SWIG_IsOK(res1
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (int)((wxDC
const *)arg1
)->MinY();
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= SWIG_From_int(static_cast< int >(result
));
20649 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20650 PyObject
*resultobj
= 0;
20651 wxDC
*arg1
= (wxDC
*) 0 ;
20655 PyObject
*swig_obj
[1] ;
20657 if (!args
) SWIG_fail
;
20658 swig_obj
[0] = args
;
20659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (int)((wxDC
const *)arg1
)->MaxY();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_From_int(static_cast< int >(result
));
20677 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20678 PyObject
*resultobj
= 0;
20679 wxDC
*arg1
= (wxDC
*) 0 ;
20680 int *arg2
= (int *) 0 ;
20681 int *arg3
= (int *) 0 ;
20682 int *arg4
= (int *) 0 ;
20683 int *arg5
= (int *) 0 ;
20687 int res2
= SWIG_TMPOBJ
;
20689 int res3
= SWIG_TMPOBJ
;
20691 int res4
= SWIG_TMPOBJ
;
20693 int res5
= SWIG_TMPOBJ
;
20694 PyObject
*swig_obj
[1] ;
20700 if (!args
) SWIG_fail
;
20701 swig_obj
[0] = args
;
20702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_Py_Void();
20714 if (SWIG_IsTmpObj(res2
)) {
20715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20717 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20720 if (SWIG_IsTmpObj(res3
)) {
20721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20723 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20726 if (SWIG_IsTmpObj(res4
)) {
20727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20729 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20732 if (SWIG_IsTmpObj(res5
)) {
20733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20735 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20744 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20745 PyObject
*resultobj
= 0;
20746 wxDC
*arg1
= (wxDC
*) 0 ;
20750 PyObject
*swig_obj
[1] ;
20752 if (!args
) SWIG_fail
;
20753 swig_obj
[0] = args
;
20754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20755 if (!SWIG_IsOK(res1
)) {
20756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (long)(arg1
)->GetHDC();
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= SWIG_From_long(static_cast< long >(result
));
20772 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
= 0;
20774 wxDC
*arg1
= (wxDC
*) 0 ;
20775 PyObject
*arg2
= (PyObject
*) 0 ;
20776 PyObject
*arg3
= (PyObject
*) 0 ;
20777 PyObject
*arg4
= (PyObject
*) 0 ;
20778 PyObject
*result
= 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 PyObject
* obj3
= 0 ;
20785 char * kwnames
[] = {
20786 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20791 if (!SWIG_IsOK(res1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= result
;
20811 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
= 0;
20813 wxDC
*arg1
= (wxDC
*) 0 ;
20814 PyObject
*arg2
= (PyObject
*) 0 ;
20815 PyObject
*arg3
= (PyObject
*) 0 ;
20816 PyObject
*arg4
= (PyObject
*) 0 ;
20817 PyObject
*result
= 0 ;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 PyObject
* obj2
= 0 ;
20823 PyObject
* obj3
= 0 ;
20824 char * kwnames
[] = {
20825 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= result
;
20850 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= 0;
20852 wxDC
*arg1
= (wxDC
*) 0 ;
20853 PyObject
*arg2
= (PyObject
*) 0 ;
20854 PyObject
*arg3
= (PyObject
*) 0 ;
20855 PyObject
*arg4
= (PyObject
*) 0 ;
20856 PyObject
*result
= 0 ;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 PyObject
* obj2
= 0 ;
20862 PyObject
* obj3
= 0 ;
20863 char * kwnames
[] = {
20864 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
;
20889 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= 0;
20891 wxDC
*arg1
= (wxDC
*) 0 ;
20892 PyObject
*arg2
= (PyObject
*) 0 ;
20893 PyObject
*arg3
= (PyObject
*) 0 ;
20894 PyObject
*arg4
= (PyObject
*) 0 ;
20895 PyObject
*result
= 0 ;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 PyObject
* obj2
= 0 ;
20901 PyObject
* obj3
= 0 ;
20902 char * kwnames
[] = {
20903 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= result
;
20928 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
= 0;
20930 wxDC
*arg1
= (wxDC
*) 0 ;
20931 PyObject
*arg2
= (PyObject
*) 0 ;
20932 PyObject
*arg3
= (PyObject
*) 0 ;
20933 PyObject
*arg4
= (PyObject
*) 0 ;
20934 PyObject
*result
= 0 ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 PyObject
* obj3
= 0 ;
20941 char * kwnames
[] = {
20942 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= result
;
20967 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20968 PyObject
*resultobj
= 0;
20969 wxDC
*arg1
= (wxDC
*) 0 ;
20970 PyObject
*arg2
= (PyObject
*) 0 ;
20971 PyObject
*arg3
= (PyObject
*) 0 ;
20972 PyObject
*arg4
= (PyObject
*) 0 ;
20973 PyObject
*arg5
= (PyObject
*) 0 ;
20974 PyObject
*result
= 0 ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 PyObject
* obj2
= 0 ;
20980 PyObject
* obj3
= 0 ;
20981 PyObject
* obj4
= 0 ;
20982 char * kwnames
[] = {
20983 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20988 if (!SWIG_IsOK(res1
)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= result
;
21009 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21012 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
21013 return SWIG_Py_Void();
21016 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21017 PyObject
*resultobj
= 0;
21018 wxMemoryDC
*result
= 0 ;
21020 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
21022 if (!wxPyCheckForApp()) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 result
= (wxMemoryDC
*)new wxMemoryDC();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
21035 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
= 0;
21037 wxDC
*arg1
= (wxDC
*) 0 ;
21038 wxMemoryDC
*result
= 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char * kwnames
[] = {
21043 (char *) "oldDC", NULL
21046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21053 if (!wxPyCheckForApp()) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21066 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
= 0;
21068 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21069 wxBitmap
*arg2
= 0 ;
21074 PyObject
* obj0
= 0 ;
21075 PyObject
* obj1
= 0 ;
21076 char * kwnames
[] = {
21077 (char *) "self",(char *) "bitmap", NULL
21080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21082 if (!SWIG_IsOK(res1
)) {
21083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21085 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21087 if (!SWIG_IsOK(res2
)) {
21088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21093 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_Py_Void();
21107 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21110 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21111 return SWIG_Py_Void();
21114 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21115 return SWIG_Python_InitShadowInstance(args
);
21118 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21119 PyObject
*resultobj
= 0;
21120 wxDC
*arg1
= (wxDC
*) 0 ;
21121 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21122 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21123 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21124 wxBufferedDC
*result
= 0 ;
21132 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21139 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21140 if (!SWIG_IsOK(res2
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21146 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21149 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21150 if (!SWIG_IsOK(ecode3
)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21153 arg3
= static_cast< int >(val3
);
21156 if (!wxPyCheckForApp()) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21169 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21170 PyObject
*resultobj
= 0;
21171 wxDC
*arg1
= (wxDC
*) 0 ;
21173 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21174 wxBufferedDC
*result
= 0 ;
21181 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21183 if (!SWIG_IsOK(res1
)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21189 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21192 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21193 if (!SWIG_IsOK(ecode3
)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21196 arg3
= static_cast< int >(val3
);
21199 if (!wxPyCheckForApp()) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21212 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21216 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21218 if ((argc
>= 1) && (argc
<= 3)) {
21222 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21223 _v
= SWIG_CheckState(res
);
21225 if (!_v
) goto check_1
;
21227 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21231 if ((argc
>= 2) && (argc
<= 3)) {
21232 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21236 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21241 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21242 PyObject
*resultobj
= 0;
21243 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21246 PyObject
*swig_obj
[1] ;
21248 if (!args
) SWIG_fail
;
21249 swig_obj
[0] = args
;
21250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21251 if (!SWIG_IsOK(res1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21254 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_Py_Void();
21269 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21270 PyObject
*resultobj
= 0;
21271 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21274 PyObject
*swig_obj
[1] ;
21276 if (!args
) SWIG_fail
;
21277 swig_obj
[0] = args
;
21278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21279 if (!SWIG_IsOK(res1
)) {
21280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21282 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_Py_Void();
21296 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21299 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21300 return SWIG_Py_Void();
21303 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21304 return SWIG_Python_InitShadowInstance(args
);
21307 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
= 0;
21309 wxWindow
*arg1
= (wxWindow
*) 0 ;
21310 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21311 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21312 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21313 wxBufferedPaintDC
*result
= 0 ;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 PyObject
* obj2
= 0 ;
21323 char * kwnames
[] = {
21324 (char *) "window",(char *) "buffer",(char *) "style", NULL
21327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21329 if (!SWIG_IsOK(res1
)) {
21330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21335 if (!SWIG_IsOK(res2
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21341 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21345 if (!SWIG_IsOK(ecode3
)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21348 arg3
= static_cast< int >(val3
);
21351 if (!wxPyCheckForApp()) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21364 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21367 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21368 return SWIG_Py_Void();
21371 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21372 return SWIG_Python_InitShadowInstance(args
);
21375 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21376 PyObject
*resultobj
= 0;
21377 wxScreenDC
*result
= 0 ;
21379 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21381 if (!wxPyCheckForApp()) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (wxScreenDC
*)new wxScreenDC();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21394 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
= 0;
21396 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21397 wxWindow
*arg2
= (wxWindow
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "self",(char *) "window", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21414 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21416 if (!SWIG_IsOK(res2
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21435 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
= 0;
21437 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21438 wxRect
*arg2
= (wxRect
*) NULL
;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 char * kwnames
[] = {
21447 (char *) "self",(char *) "rect", NULL
21450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21452 if (!SWIG_IsOK(res1
)) {
21453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21455 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21458 if (!SWIG_IsOK(res2
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21461 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21478 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 PyObject
*resultobj
= 0;
21480 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21484 PyObject
*swig_obj
[1] ;
21486 if (!args
) SWIG_fail
;
21487 swig_obj
[0] = args
;
21488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21492 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (bool)(arg1
)->EndDrawingOnTop();
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21508 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21511 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21512 return SWIG_Py_Void();
21515 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21516 return SWIG_Python_InitShadowInstance(args
);
21519 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
= 0;
21521 wxWindow
*arg1
= (wxWindow
*) 0 ;
21522 wxClientDC
*result
= 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char * kwnames
[] = {
21527 (char *) "win", NULL
21530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21537 if (!wxPyCheckForApp()) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (wxClientDC
*)new wxClientDC(arg1
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21550 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21553 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21554 return SWIG_Py_Void();
21557 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21558 return SWIG_Python_InitShadowInstance(args
);
21561 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
= 0;
21563 wxWindow
*arg1
= (wxWindow
*) 0 ;
21564 wxPaintDC
*result
= 0 ;
21567 PyObject
* obj0
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "win", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21579 if (!wxPyCheckForApp()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21592 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21594 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21595 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21596 return SWIG_Py_Void();
21599 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21600 return SWIG_Python_InitShadowInstance(args
);
21603 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
= 0;
21605 wxWindow
*arg1
= (wxWindow
*) 0 ;
21606 wxWindowDC
*result
= 0 ;
21609 PyObject
* obj0
= 0 ;
21610 char * kwnames
[] = {
21611 (char *) "win", NULL
21614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21616 if (!SWIG_IsOK(res1
)) {
21617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21621 if (!wxPyCheckForApp()) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21634 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21637 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21638 return SWIG_Py_Void();
21641 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21642 return SWIG_Python_InitShadowInstance(args
);
21645 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
= 0;
21649 wxMirrorDC
*result
= 0 ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 char * kwnames
[] = {
21657 (char *) "dc",(char *) "mirror", NULL
21660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21661 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21662 if (!SWIG_IsOK(res1
)) {
21663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21669 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21670 if (!SWIG_IsOK(ecode2
)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21673 arg2
= static_cast< bool >(val2
);
21675 if (!wxPyCheckForApp()) SWIG_fail
;
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21688 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21691 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21692 return SWIG_Py_Void();
21695 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21696 return SWIG_Python_InitShadowInstance(args
);
21699 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
= 0;
21701 wxPrintData
*arg1
= 0 ;
21702 wxPostScriptDC
*result
= 0 ;
21705 PyObject
* obj0
= 0 ;
21706 char * kwnames
[] = {
21707 (char *) "printData", NULL
21710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21711 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21718 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21720 if (!wxPyCheckForApp()) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21733 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21734 PyObject
*resultobj
= 0;
21735 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21736 wxPrintData
*result
= 0 ;
21739 PyObject
*swig_obj
[1] ;
21741 if (!args
) SWIG_fail
;
21742 swig_obj
[0] = args
;
21743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21744 if (!SWIG_IsOK(res1
)) {
21745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21747 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21752 result
= (wxPrintData
*) &_result_ref
;
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21764 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
= 0;
21766 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21767 wxPrintData
*arg2
= 0 ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char * kwnames
[] = {
21775 (char *) "self",(char *) "data", NULL
21778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21783 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21785 if (!SWIG_IsOK(res2
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21791 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_Py_Void();
21805 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= 0;
21810 PyObject
* obj0
= 0 ;
21811 char * kwnames
[] = {
21812 (char *) "ppi", NULL
21815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21816 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21817 if (!SWIG_IsOK(ecode1
)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21820 arg1
= static_cast< int >(val1
);
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 wxPostScriptDC::SetResolution(arg1
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_Py_Void();
21834 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21835 PyObject
*resultobj
= 0;
21838 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (int)wxPostScriptDC::GetResolution();
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_From_int(static_cast< int >(result
));
21852 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21855 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21856 return SWIG_Py_Void();
21859 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21860 return SWIG_Python_InitShadowInstance(args
);
21863 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
= 0;
21865 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21866 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21867 wxMetaFile
*result
= 0 ;
21868 bool temp1
= false ;
21869 PyObject
* obj0
= 0 ;
21870 char * kwnames
[] = {
21871 (char *) "filename", NULL
21874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21877 arg1
= wxString_in_helper(obj0
);
21878 if (arg1
== NULL
) SWIG_fail
;
21883 if (!wxPyCheckForApp()) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21904 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21905 PyObject
*resultobj
= 0;
21906 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21909 PyObject
*swig_obj
[1] ;
21911 if (!args
) SWIG_fail
;
21912 swig_obj
[0] = args
;
21913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21914 if (!SWIG_IsOK(res1
)) {
21915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21917 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= SWIG_Py_Void();
21932 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21933 PyObject
*resultobj
= 0;
21934 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21938 PyObject
*swig_obj
[1] ;
21940 if (!args
) SWIG_fail
;
21941 swig_obj
[0] = args
;
21942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21946 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (bool)(arg1
)->Ok();
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21962 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
= 0;
21964 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21965 int arg2
= (int) 0 ;
21966 int arg3
= (int) 0 ;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 PyObject
* obj2
= 0 ;
21977 char * kwnames
[] = {
21978 (char *) "self",(char *) "width",(char *) "height", NULL
21981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21983 if (!SWIG_IsOK(res1
)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21986 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21989 if (!SWIG_IsOK(ecode2
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21992 arg2
= static_cast< int >(val2
);
21995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21996 if (!SWIG_IsOK(ecode3
)) {
21997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21999 arg3
= static_cast< int >(val3
);
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22016 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22017 PyObject
*resultobj
= 0;
22018 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22022 PyObject
*swig_obj
[1] ;
22024 if (!args
) SWIG_fail
;
22025 swig_obj
[0] = args
;
22026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22027 if (!SWIG_IsOK(res1
)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22030 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (arg1
)->GetSize();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22044 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22045 PyObject
*resultobj
= 0;
22046 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22050 PyObject
*swig_obj
[1] ;
22052 if (!args
) SWIG_fail
;
22053 swig_obj
[0] = args
;
22054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22055 if (!SWIG_IsOK(res1
)) {
22056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22058 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 result
= (int)(arg1
)->GetWidth();
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= SWIG_From_int(static_cast< int >(result
));
22072 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22073 PyObject
*resultobj
= 0;
22074 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22078 PyObject
*swig_obj
[1] ;
22080 if (!args
) SWIG_fail
;
22081 swig_obj
[0] = args
;
22082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22083 if (!SWIG_IsOK(res1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22086 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 result
= (int)(arg1
)->GetHeight();
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_From_int(static_cast< int >(result
));
22100 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22101 PyObject
*resultobj
= 0;
22102 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22103 wxString
*result
= 0 ;
22106 PyObject
*swig_obj
[1] ;
22108 if (!args
) SWIG_fail
;
22109 swig_obj
[0] = args
;
22110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22111 if (!SWIG_IsOK(res1
)) {
22112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22114 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22119 result
= (wxString
*) &_result_ref
;
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22137 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22140 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22141 return SWIG_Py_Void();
22144 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22145 return SWIG_Python_InitShadowInstance(args
);
22148 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
= 0;
22150 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22151 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22152 int arg2
= (int) 0 ;
22153 int arg3
= (int) 0 ;
22154 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22155 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22156 wxMetaFileDC
*result
= 0 ;
22157 bool temp1
= false ;
22162 bool temp4
= false ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 PyObject
* obj2
= 0 ;
22166 PyObject
* obj3
= 0 ;
22167 char * kwnames
[] = {
22168 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22174 arg1
= wxString_in_helper(obj0
);
22175 if (arg1
== NULL
) SWIG_fail
;
22180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22181 if (!SWIG_IsOK(ecode2
)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22184 arg2
= static_cast< int >(val2
);
22187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22188 if (!SWIG_IsOK(ecode3
)) {
22189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22191 arg3
= static_cast< int >(val3
);
22195 arg4
= wxString_in_helper(obj3
);
22196 if (arg4
== NULL
) SWIG_fail
;
22201 if (!wxPyCheckForApp()) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22230 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22231 PyObject
*resultobj
= 0;
22232 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22233 wxMetaFile
*result
= 0 ;
22236 PyObject
*swig_obj
[1] ;
22238 if (!args
) SWIG_fail
;
22239 swig_obj
[0] = args
;
22240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22241 if (!SWIG_IsOK(res1
)) {
22242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22244 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (wxMetaFile
*)(arg1
)->Close();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22258 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22261 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22262 return SWIG_Py_Void();
22265 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22266 return SWIG_Python_InitShadowInstance(args
);
22269 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
= 0;
22271 wxPrintData
*arg1
= 0 ;
22272 wxPrinterDC
*result
= 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char * kwnames
[] = {
22277 (char *) "printData", NULL
22280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22288 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22290 if (!wxPyCheckForApp()) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22303 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22307 return SWIG_Py_Void();
22310 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22311 return SWIG_Python_InitShadowInstance(args
);
22314 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
= 0;
22318 int arg3
= (int) true ;
22319 int arg4
= (int) 1 ;
22320 wxImageList
*result
= 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 PyObject
* obj2
= 0 ;
22332 PyObject
* obj3
= 0 ;
22333 char * kwnames
[] = {
22334 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22339 if (!SWIG_IsOK(ecode1
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22342 arg1
= static_cast< int >(val1
);
22343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22344 if (!SWIG_IsOK(ecode2
)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22347 arg2
= static_cast< int >(val2
);
22349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22350 if (!SWIG_IsOK(ecode3
)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22353 arg3
= static_cast< int >(val3
);
22356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22357 if (!SWIG_IsOK(ecode4
)) {
22358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22360 arg4
= static_cast< int >(val4
);
22363 if (!wxPyCheckForApp()) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22378 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxImageList
*arg1
= (wxImageList
*) 0 ;
22383 PyObject
*swig_obj
[1] ;
22385 if (!args
) SWIG_fail
;
22386 swig_obj
[0] = args
;
22387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22388 if (!SWIG_IsOK(res1
)) {
22389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22391 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_Py_Void();
22406 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
= 0;
22408 wxImageList
*arg1
= (wxImageList
*) 0 ;
22409 wxBitmap
*arg2
= 0 ;
22410 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22411 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22419 PyObject
* obj0
= 0 ;
22420 PyObject
* obj1
= 0 ;
22421 PyObject
* obj2
= 0 ;
22422 char * kwnames
[] = {
22423 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22428 if (!SWIG_IsOK(res1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22431 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22433 if (!SWIG_IsOK(res2
)) {
22434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22439 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22442 if (!SWIG_IsOK(res3
)) {
22443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22448 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_From_int(static_cast< int >(result
));
22463 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
= 0;
22465 wxImageList
*arg1
= (wxImageList
*) 0 ;
22466 wxBitmap
*arg2
= 0 ;
22467 wxColour
*arg3
= 0 ;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 PyObject
* obj2
= 0 ;
22477 char * kwnames
[] = {
22478 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22483 if (!SWIG_IsOK(res1
)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22486 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22488 if (!SWIG_IsOK(res2
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22494 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22497 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_From_int(static_cast< int >(result
));
22512 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
= 0;
22514 wxImageList
*arg1
= (wxImageList
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "self",(char *) "icon", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22532 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22534 if (!SWIG_IsOK(res2
)) {
22535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22540 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_From_int(static_cast< int >(result
));
22554 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
= 0;
22556 wxImageList
*arg1
= (wxImageList
*) 0 ;
22558 SwigValueWrapper
<wxBitmap
> result
;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char * kwnames
[] = {
22566 (char *) "self",(char *) "index", NULL
22569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22574 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22576 if (!SWIG_IsOK(ecode2
)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22579 arg2
= static_cast< int >(val2
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22593 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
= 0;
22595 wxImageList
*arg1
= (wxImageList
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char * kwnames
[] = {
22605 (char *) "self",(char *) "index", NULL
22608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22610 if (!SWIG_IsOK(res1
)) {
22611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22613 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22615 if (!SWIG_IsOK(ecode2
)) {
22616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22618 arg2
= static_cast< int >(val2
);
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22632 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
= 0;
22634 wxImageList
*arg1
= (wxImageList
*) 0 ;
22636 wxBitmap
*arg3
= 0 ;
22637 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22638 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 PyObject
* obj2
= 0 ;
22651 PyObject
* obj3
= 0 ;
22652 char * kwnames
[] = {
22653 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22658 if (!SWIG_IsOK(res1
)) {
22659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22661 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22663 if (!SWIG_IsOK(ecode2
)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22666 arg2
= static_cast< int >(val2
);
22667 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22668 if (!SWIG_IsOK(res3
)) {
22669 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22674 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22676 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22677 if (!SWIG_IsOK(res4
)) {
22678 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22683 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22700 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
= 0;
22702 wxImageList
*arg1
= (wxImageList
*) 0 ;
22707 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22708 bool arg7
= (bool) (bool)false ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 PyObject
* obj2
= 0 ;
22727 PyObject
* obj3
= 0 ;
22728 PyObject
* obj4
= 0 ;
22729 PyObject
* obj5
= 0 ;
22730 PyObject
* obj6
= 0 ;
22731 char * kwnames
[] = {
22732 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22737 if (!SWIG_IsOK(res1
)) {
22738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22740 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22742 if (!SWIG_IsOK(ecode2
)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22745 arg2
= static_cast< int >(val2
);
22746 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22747 if (!SWIG_IsOK(res3
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22753 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22754 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22755 if (!SWIG_IsOK(ecode4
)) {
22756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22758 arg4
= static_cast< int >(val4
);
22759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22760 if (!SWIG_IsOK(ecode5
)) {
22761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22763 arg5
= static_cast< int >(val5
);
22765 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22766 if (!SWIG_IsOK(ecode6
)) {
22767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22769 arg6
= static_cast< int >(val6
);
22772 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22773 if (!SWIG_IsOK(ecode7
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22776 arg7
= static_cast< bool >(val7
);
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22793 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22794 PyObject
*resultobj
= 0;
22795 wxImageList
*arg1
= (wxImageList
*) 0 ;
22799 PyObject
*swig_obj
[1] ;
22801 if (!args
) SWIG_fail
;
22802 swig_obj
[0] = args
;
22803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22807 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (int)(arg1
)->GetImageCount();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_From_int(static_cast< int >(result
));
22821 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
= 0;
22823 wxImageList
*arg1
= (wxImageList
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char * kwnames
[] = {
22833 (char *) "self",(char *) "index", NULL
22836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22838 if (!SWIG_IsOK(res1
)) {
22839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22841 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22843 if (!SWIG_IsOK(ecode2
)) {
22844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22846 arg2
= static_cast< int >(val2
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (bool)(arg1
)->Remove(arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22862 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22863 PyObject
*resultobj
= 0;
22864 wxImageList
*arg1
= (wxImageList
*) 0 ;
22868 PyObject
*swig_obj
[1] ;
22870 if (!args
) SWIG_fail
;
22871 swig_obj
[0] = args
;
22872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22873 if (!SWIG_IsOK(res1
)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22876 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (bool)(arg1
)->RemoveAll();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22892 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
= 0;
22894 wxImageList
*arg1
= (wxImageList
*) 0 ;
22903 int res3
= SWIG_TMPOBJ
;
22905 int res4
= SWIG_TMPOBJ
;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char * kwnames
[] = {
22909 (char *) "self",(char *) "index", NULL
22914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22919 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22921 if (!SWIG_IsOK(ecode2
)) {
22922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22924 arg2
= static_cast< int >(val2
);
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_Py_Void();
22932 if (SWIG_IsTmpObj(res3
)) {
22933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22935 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22938 if (SWIG_IsTmpObj(res4
)) {
22939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22941 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22950 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22953 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22954 return SWIG_Py_Void();
22957 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22958 return SWIG_Python_InitShadowInstance(args
);
22961 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22962 PyObject
*resultobj
= 0;
22963 wxStockGDI
*result
= 0 ;
22965 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 result
= (wxStockGDI
*)new wxStockGDI();
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22979 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22980 PyObject
*resultobj
= 0;
22981 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22984 PyObject
*swig_obj
[1] ;
22986 if (!args
) SWIG_fail
;
22987 swig_obj
[0] = args
;
22988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22992 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= SWIG_Py_Void();
23007 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23008 PyObject
*resultobj
= 0;
23010 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 wxStockGDI::DeleteAll();
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_Py_Void();
23024 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23025 PyObject
*resultobj
= 0;
23026 wxStockGDI
*result
= 0 ;
23028 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 wxStockGDI
&_result_ref
= wxStockGDI::instance();
23033 result
= (wxStockGDI
*) &_result_ref
;
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23045 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
= 0;
23047 wxStockGDI::Item arg1
;
23048 wxBrush
*result
= 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char * kwnames
[] = {
23053 (char *) "item", NULL
23056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
23057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23058 if (!SWIG_IsOK(ecode1
)) {
23059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23061 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23075 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
= 0;
23077 wxStockGDI::Item arg1
;
23078 wxColour
*result
= 0 ;
23081 PyObject
* obj0
= 0 ;
23082 char * kwnames
[] = {
23083 (char *) "item", NULL
23086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
23087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23088 if (!SWIG_IsOK(ecode1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23091 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23105 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
= 0;
23107 wxStockGDI::Item arg1
;
23108 wxCursor
*result
= 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char * kwnames
[] = {
23113 (char *) "item", NULL
23116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
23117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23118 if (!SWIG_IsOK(ecode1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23121 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
23135 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
= 0;
23137 wxStockGDI::Item arg1
;
23138 wxPen
*result
= 0 ;
23141 PyObject
* obj0
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "item", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
23147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23148 if (!SWIG_IsOK(ecode1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23151 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23165 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
= 0;
23167 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
23168 wxStockGDI::Item arg2
;
23169 wxFont
*result
= 0 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 char * kwnames
[] = {
23177 (char *) "self",(char *) "item", NULL
23180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
23185 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
23186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23187 if (!SWIG_IsOK(ecode2
)) {
23188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
23190 arg2
= static_cast< wxStockGDI::Item
>(val2
);
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23204 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23207 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
23208 return SWIG_Py_Void();
23211 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23212 return SWIG_Python_InitShadowInstance(args
);
23215 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23216 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23221 SWIGINTERN PyObject
*NullBitmap_get(void) {
23222 PyObject
*pyobj
= 0;
23224 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23229 SWIGINTERN
int NullIcon_set(PyObject
*) {
23230 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23235 SWIGINTERN PyObject
*NullIcon_get(void) {
23236 PyObject
*pyobj
= 0;
23238 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23243 SWIGINTERN
int NullCursor_set(PyObject
*) {
23244 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23249 SWIGINTERN PyObject
*NullCursor_get(void) {
23250 PyObject
*pyobj
= 0;
23252 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23257 SWIGINTERN
int NullPen_set(PyObject
*) {
23258 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23263 SWIGINTERN PyObject
*NullPen_get(void) {
23264 PyObject
*pyobj
= 0;
23266 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23271 SWIGINTERN
int NullBrush_set(PyObject
*) {
23272 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23277 SWIGINTERN PyObject
*NullBrush_get(void) {
23278 PyObject
*pyobj
= 0;
23280 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23285 SWIGINTERN
int NullPalette_set(PyObject
*) {
23286 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23291 SWIGINTERN PyObject
*NullPalette_get(void) {
23292 PyObject
*pyobj
= 0;
23294 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23299 SWIGINTERN
int NullFont_set(PyObject
*) {
23300 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23305 SWIGINTERN PyObject
*NullFont_get(void) {
23306 PyObject
*pyobj
= 0;
23308 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23313 SWIGINTERN
int NullColour_set(PyObject
*) {
23314 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23319 SWIGINTERN PyObject
*NullColour_get(void) {
23320 PyObject
*pyobj
= 0;
23322 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23327 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23328 PyObject
*resultobj
= 0;
23329 wxGDIObjListBase
*result
= 0 ;
23331 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
23345 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23346 PyObject
*resultobj
= 0;
23347 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
23350 PyObject
*swig_obj
[1] ;
23352 if (!args
) SWIG_fail
;
23353 swig_obj
[0] = args
;
23354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
23355 if (!SWIG_IsOK(res1
)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
23358 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_Py_Void();
23373 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23376 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
23377 return SWIG_Py_Void();
23380 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23381 return SWIG_Python_InitShadowInstance(args
);
23384 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
= 0;
23386 wxPenList
*arg1
= (wxPenList
*) 0 ;
23387 wxColour
*arg2
= 0 ;
23390 wxPen
*result
= 0 ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 PyObject
* obj2
= 0 ;
23401 PyObject
* obj3
= 0 ;
23402 char * kwnames
[] = {
23403 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23408 if (!SWIG_IsOK(res1
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23411 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23414 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23417 if (!SWIG_IsOK(ecode3
)) {
23418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23420 arg3
= static_cast< int >(val3
);
23421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23422 if (!SWIG_IsOK(ecode4
)) {
23423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23425 arg4
= static_cast< int >(val4
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23439 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
= 0;
23441 wxPenList
*arg1
= (wxPenList
*) 0 ;
23442 wxPen
*arg2
= (wxPen
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "self",(char *) "pen", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23458 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23460 if (!SWIG_IsOK(res2
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23463 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->AddPen(arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_Py_Void();
23477 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
= 0;
23479 wxPenList
*arg1
= (wxPenList
*) 0 ;
23480 wxPen
*arg2
= (wxPen
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char * kwnames
[] = {
23488 (char *) "self",(char *) "pen", NULL
23491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23496 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23498 if (!SWIG_IsOK(res2
)) {
23499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23501 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 (arg1
)->RemovePen(arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_Py_Void();
23515 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23518 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23519 return SWIG_Py_Void();
23522 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= 0;
23524 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23525 wxColour
*arg2
= 0 ;
23526 int arg3
= (int) wxSOLID
;
23527 wxBrush
*result
= 0 ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 PyObject
* obj2
= 0 ;
23536 char * kwnames
[] = {
23537 (char *) "self",(char *) "colour",(char *) "style", NULL
23540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23542 if (!SWIG_IsOK(res1
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23545 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23552 if (!SWIG_IsOK(ecode3
)) {
23553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23555 arg3
= static_cast< int >(val3
);
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23570 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
= 0;
23572 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23573 wxBrush
*arg2
= (wxBrush
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char * kwnames
[] = {
23581 (char *) "self",(char *) "brush", NULL
23584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23586 if (!SWIG_IsOK(res1
)) {
23587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23589 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23591 if (!SWIG_IsOK(res2
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23594 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->AddBrush(arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_Py_Void();
23608 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
= 0;
23610 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23611 wxBrush
*arg2
= (wxBrush
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 PyObject
* obj1
= 0 ;
23618 char * kwnames
[] = {
23619 (char *) "self",(char *) "brush", NULL
23622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23624 if (!SWIG_IsOK(res1
)) {
23625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23627 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23629 if (!SWIG_IsOK(res2
)) {
23630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23632 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->RemoveBrush(arg2
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_Py_Void();
23646 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23649 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23650 return SWIG_Py_Void();
23653 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
= 0;
23655 wxFontList
*arg1
= (wxFontList
*) 0 ;
23660 bool arg6
= (bool) false ;
23661 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23663 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23664 wxFont
*result
= 0 ;
23677 bool temp7
= false ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 PyObject
* obj2
= 0 ;
23683 PyObject
* obj3
= 0 ;
23684 PyObject
* obj4
= 0 ;
23685 PyObject
* obj5
= 0 ;
23686 PyObject
* obj6
= 0 ;
23687 PyObject
* obj7
= 0 ;
23688 char * kwnames
[] = {
23689 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23694 if (!SWIG_IsOK(res1
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23697 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23699 if (!SWIG_IsOK(ecode2
)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23702 arg2
= static_cast< int >(val2
);
23703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23704 if (!SWIG_IsOK(ecode3
)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23707 arg3
= static_cast< int >(val3
);
23708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23709 if (!SWIG_IsOK(ecode4
)) {
23710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23712 arg4
= static_cast< int >(val4
);
23713 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23714 if (!SWIG_IsOK(ecode5
)) {
23715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23717 arg5
= static_cast< int >(val5
);
23719 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23720 if (!SWIG_IsOK(ecode6
)) {
23721 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23723 arg6
= static_cast< bool >(val6
);
23727 arg7
= wxString_in_helper(obj6
);
23728 if (arg7
== NULL
) SWIG_fail
;
23733 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23734 if (!SWIG_IsOK(ecode8
)) {
23735 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23737 arg8
= static_cast< wxFontEncoding
>(val8
);
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23760 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
= 0;
23762 wxFontList
*arg1
= (wxFontList
*) 0 ;
23763 wxFont
*arg2
= (wxFont
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 char * kwnames
[] = {
23771 (char *) "self",(char *) "font", NULL
23774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23779 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23781 if (!SWIG_IsOK(res2
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23784 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 (arg1
)->AddFont(arg2
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= SWIG_Py_Void();
23798 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
= 0;
23800 wxFontList
*arg1
= (wxFontList
*) 0 ;
23801 wxFont
*arg2
= (wxFont
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 PyObject
* obj1
= 0 ;
23808 char * kwnames
[] = {
23809 (char *) "self",(char *) "font", NULL
23812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23814 if (!SWIG_IsOK(res1
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23817 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23819 if (!SWIG_IsOK(res2
)) {
23820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23822 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->RemoveFont(arg2
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_Py_Void();
23836 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23839 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23840 return SWIG_Py_Void();
23843 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23844 PyObject
*resultobj
= 0;
23845 wxColourDatabase
*result
= 0 ;
23847 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23849 if (!wxPyCheckForApp()) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (wxColourDatabase
*)new wxColourDatabase();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23862 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23863 PyObject
*resultobj
= 0;
23864 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23867 PyObject
*swig_obj
[1] ;
23869 if (!args
) SWIG_fail
;
23870 swig_obj
[0] = args
;
23871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23872 if (!SWIG_IsOK(res1
)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23875 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_Py_Void();
23890 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
= 0;
23892 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23893 wxString
*arg2
= 0 ;
23897 bool temp2
= false ;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 char * kwnames
[] = {
23901 (char *) "self",(char *) "name", NULL
23904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23909 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23911 arg2
= wxString_in_helper(obj1
);
23912 if (arg2
== NULL
) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23936 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
= 0;
23938 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23939 wxColour
*arg2
= 0 ;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 char * kwnames
[] = {
23947 (char *) "self",(char *) "colour", NULL
23950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23952 if (!SWIG_IsOK(res1
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23955 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23979 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
= 0;
23981 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23982 wxString
*arg2
= 0 ;
23983 wxColour
*arg3
= 0 ;
23986 bool temp2
= false ;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 PyObject
* obj2
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "self",(char *) "name",(char *) "colour", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24000 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24002 arg2
= wxString_in_helper(obj1
);
24003 if (arg2
== NULL
) SWIG_fail
;
24008 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_Py_Void();
24031 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
= 0;
24033 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
24034 wxString
*arg2
= 0 ;
24040 bool temp2
= false ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 PyObject
* obj2
= 0 ;
24050 PyObject
* obj3
= 0 ;
24051 PyObject
* obj4
= 0 ;
24052 char * kwnames
[] = {
24053 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24061 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24063 arg2
= wxString_in_helper(obj1
);
24064 if (arg2
== NULL
) SWIG_fail
;
24067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24068 if (!SWIG_IsOK(ecode3
)) {
24069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24071 arg3
= static_cast< int >(val3
);
24072 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24073 if (!SWIG_IsOK(ecode4
)) {
24074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24076 arg4
= static_cast< int >(val4
);
24077 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24078 if (!SWIG_IsOK(ecode5
)) {
24079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24081 arg5
= static_cast< int >(val5
);
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 resultobj
= SWIG_Py_Void();
24103 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24106 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24107 return SWIG_Py_Void();
24110 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24111 return SWIG_Python_InitShadowInstance(args
);
24114 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24115 PyObject
*resultobj
= 0;
24116 wxFontList
*result
= 0 ;
24118 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxFontList
*)_wxPyInitTheFontList();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
24132 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 PyObject
*resultobj
= 0;
24134 wxPenList
*result
= 0 ;
24136 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (wxPenList
*)_wxPyInitThePenList();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
24150 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24151 PyObject
*resultobj
= 0;
24152 wxBrushList
*result
= 0 ;
24154 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (wxBrushList
*)_wxPyInitTheBrushList();
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
24168 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24169 PyObject
*resultobj
= 0;
24170 wxColourDatabase
*result
= 0 ;
24172 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24186 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24187 PyObject
*resultobj
= 0;
24188 wxEffects
*result
= 0 ;
24190 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (wxEffects
*)new wxEffects();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24204 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24205 PyObject
*resultobj
= 0;
24206 wxEffects
*arg1
= (wxEffects
*) 0 ;
24210 PyObject
*swig_obj
[1] ;
24212 if (!args
) SWIG_fail
;
24213 swig_obj
[0] = args
;
24214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24218 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24232 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24233 PyObject
*resultobj
= 0;
24234 wxEffects
*arg1
= (wxEffects
*) 0 ;
24238 PyObject
*swig_obj
[1] ;
24240 if (!args
) SWIG_fail
;
24241 swig_obj
[0] = args
;
24242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24243 if (!SWIG_IsOK(res1
)) {
24244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24246 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24260 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24261 PyObject
*resultobj
= 0;
24262 wxEffects
*arg1
= (wxEffects
*) 0 ;
24266 PyObject
*swig_obj
[1] ;
24268 if (!args
) SWIG_fail
;
24269 swig_obj
[0] = args
;
24270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24271 if (!SWIG_IsOK(res1
)) {
24272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24274 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24288 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24289 PyObject
*resultobj
= 0;
24290 wxEffects
*arg1
= (wxEffects
*) 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_wxEffects
, 0 | 0 );
24299 if (!SWIG_IsOK(res1
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24302 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24316 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24317 PyObject
*resultobj
= 0;
24318 wxEffects
*arg1
= (wxEffects
*) 0 ;
24322 PyObject
*swig_obj
[1] ;
24324 if (!args
) SWIG_fail
;
24325 swig_obj
[0] = args
;
24326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24327 if (!SWIG_IsOK(res1
)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24330 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24344 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
= 0;
24346 wxEffects
*arg1
= (wxEffects
*) 0 ;
24347 wxColour
*arg2
= 0 ;
24351 PyObject
* obj0
= 0 ;
24352 PyObject
* obj1
= 0 ;
24353 char * kwnames
[] = {
24354 (char *) "self",(char *) "c", NULL
24357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24359 if (!SWIG_IsOK(res1
)) {
24360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24362 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_Py_Void();
24380 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxEffects
*arg1
= (wxEffects
*) 0 ;
24383 wxColour
*arg2
= 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char * kwnames
[] = {
24390 (char *) "self",(char *) "c", NULL
24393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24395 if (!SWIG_IsOK(res1
)) {
24396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24398 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_Py_Void();
24416 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
= 0;
24418 wxEffects
*arg1
= (wxEffects
*) 0 ;
24419 wxColour
*arg2
= 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 char * kwnames
[] = {
24426 (char *) "self",(char *) "c", NULL
24429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24434 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 resultobj
= SWIG_Py_Void();
24452 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
= 0;
24454 wxEffects
*arg1
= (wxEffects
*) 0 ;
24455 wxColour
*arg2
= 0 ;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 char * kwnames
[] = {
24462 (char *) "self",(char *) "c", NULL
24465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24470 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_Py_Void();
24488 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
= 0;
24490 wxEffects
*arg1
= (wxEffects
*) 0 ;
24491 wxColour
*arg2
= 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char * kwnames
[] = {
24498 (char *) "self",(char *) "c", NULL
24501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24503 if (!SWIG_IsOK(res1
)) {
24504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24506 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_Py_Void();
24524 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxEffects
*arg1
= (wxEffects
*) 0 ;
24527 wxColour
*arg2
= 0 ;
24528 wxColour
*arg3
= 0 ;
24529 wxColour
*arg4
= 0 ;
24530 wxColour
*arg5
= 0 ;
24531 wxColour
*arg6
= 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 PyObject
* obj2
= 0 ;
24542 PyObject
* obj3
= 0 ;
24543 PyObject
* obj4
= 0 ;
24544 PyObject
* obj5
= 0 ;
24545 char * kwnames
[] = {
24546 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24554 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24561 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24565 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24569 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24573 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= SWIG_Py_Void();
24588 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
= 0;
24590 wxEffects
*arg1
= (wxEffects
*) 0 ;
24593 int arg4
= (int) 1 ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 PyObject
* obj2
= 0 ;
24604 PyObject
* obj3
= 0 ;
24605 char * kwnames
[] = {
24606 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24611 if (!SWIG_IsOK(res1
)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24614 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24616 if (!SWIG_IsOK(res2
)) {
24617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24622 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24625 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24629 if (!SWIG_IsOK(ecode4
)) {
24630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24632 arg4
= static_cast< int >(val4
);
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= SWIG_Py_Void();
24647 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
= 0;
24649 wxEffects
*arg1
= (wxEffects
*) 0 ;
24652 wxBitmap
*arg4
= 0 ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 PyObject
* obj2
= 0 ;
24664 PyObject
* obj3
= 0 ;
24665 char * kwnames
[] = {
24666 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24674 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24677 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24679 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24680 if (!SWIG_IsOK(res3
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24686 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24687 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24688 if (!SWIG_IsOK(res4
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24694 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24710 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24713 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24714 return SWIG_Py_Void();
24717 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24718 return SWIG_Python_InitShadowInstance(args
);
24721 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
= 0;
24726 wxSplitterRenderParams
*result
= 0 ;
24733 PyObject
* obj0
= 0 ;
24734 PyObject
* obj1
= 0 ;
24735 PyObject
* obj2
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24742 if (!SWIG_IsOK(ecode1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24745 arg1
= static_cast< int >(val1
);
24746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24747 if (!SWIG_IsOK(ecode2
)) {
24748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24750 arg2
= static_cast< int >(val2
);
24751 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24752 if (!SWIG_IsOK(ecode3
)) {
24753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24755 arg3
= static_cast< bool >(val3
);
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24769 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24770 PyObject
*resultobj
= 0;
24771 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24774 PyObject
*swig_obj
[1] ;
24776 if (!args
) SWIG_fail
;
24777 swig_obj
[0] = args
;
24778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24779 if (!SWIG_IsOK(res1
)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24782 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_Py_Void();
24797 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24798 PyObject
*resultobj
= 0;
24799 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24803 PyObject
*swig_obj
[1] ;
24805 if (!args
) SWIG_fail
;
24806 swig_obj
[0] = args
;
24807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24808 if (!SWIG_IsOK(res1
)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24811 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24812 result
= (int)(int) ((arg1
)->widthSash
);
24813 resultobj
= SWIG_From_int(static_cast< int >(result
));
24820 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 PyObject
*resultobj
= 0;
24822 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24826 PyObject
*swig_obj
[1] ;
24828 if (!args
) SWIG_fail
;
24829 swig_obj
[0] = args
;
24830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24834 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24835 result
= (int)(int) ((arg1
)->border
);
24836 resultobj
= SWIG_From_int(static_cast< int >(result
));
24843 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24844 PyObject
*resultobj
= 0;
24845 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24849 PyObject
*swig_obj
[1] ;
24851 if (!args
) SWIG_fail
;
24852 swig_obj
[0] = args
;
24853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24857 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24858 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24859 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24866 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24869 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24870 return SWIG_Py_Void();
24873 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24874 return SWIG_Python_InitShadowInstance(args
);
24877 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
= 0;
24881 wxRendererVersion
*result
= 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char * kwnames
[] = {
24889 (char *) "version_",(char *) "age_", NULL
24892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24893 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24894 if (!SWIG_IsOK(ecode1
)) {
24895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24897 arg1
= static_cast< int >(val1
);
24898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24899 if (!SWIG_IsOK(ecode2
)) {
24900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24902 arg2
= static_cast< int >(val2
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24916 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24917 PyObject
*resultobj
= 0;
24918 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24921 PyObject
*swig_obj
[1] ;
24923 if (!args
) SWIG_fail
;
24924 swig_obj
[0] = args
;
24925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24926 if (!SWIG_IsOK(res1
)) {
24927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24929 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= SWIG_Py_Void();
24944 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
= 0;
24946 wxRendererVersion
*arg1
= 0 ;
24950 PyObject
* obj0
= 0 ;
24951 char * kwnames
[] = {
24952 (char *) "ver", NULL
24955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24956 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24957 if (!SWIG_IsOK(res1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24963 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24979 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24980 PyObject
*resultobj
= 0;
24981 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24985 PyObject
*swig_obj
[1] ;
24987 if (!args
) SWIG_fail
;
24988 swig_obj
[0] = args
;
24989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24990 if (!SWIG_IsOK(res1
)) {
24991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24993 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24994 result
= (int)(int) ((arg1
)->version
);
24995 resultobj
= SWIG_From_int(static_cast< int >(result
));
25002 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25003 PyObject
*resultobj
= 0;
25004 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25008 PyObject
*swig_obj
[1] ;
25010 if (!args
) SWIG_fail
;
25011 swig_obj
[0] = args
;
25012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25013 if (!SWIG_IsOK(res1
)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25016 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25017 result
= (int)(int) ((arg1
)->age
);
25018 resultobj
= SWIG_From_int(static_cast< int >(result
));
25025 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25028 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
25029 return SWIG_Py_Void();
25032 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25033 return SWIG_Python_InitShadowInstance(args
);
25036 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
= 0;
25038 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25039 wxWindow
*arg2
= (wxWindow
*) 0 ;
25042 int arg5
= (int) 0 ;
25052 PyObject
* obj0
= 0 ;
25053 PyObject
* obj1
= 0 ;
25054 PyObject
* obj2
= 0 ;
25055 PyObject
* obj3
= 0 ;
25056 PyObject
* obj4
= 0 ;
25057 char * kwnames
[] = {
25058 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25063 if (!SWIG_IsOK(res1
)) {
25064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25066 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25068 if (!SWIG_IsOK(res2
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25072 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25073 if (!SWIG_IsOK(res3
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25079 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25082 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25085 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25086 if (!SWIG_IsOK(ecode5
)) {
25087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25089 arg5
= static_cast< int >(val5
);
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= SWIG_Py_Void();
25104 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
= 0;
25106 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25107 wxWindow
*arg2
= (wxWindow
*) 0 ;
25110 int arg5
= (int) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 PyObject
* obj2
= 0 ;
25123 PyObject
* obj3
= 0 ;
25124 PyObject
* obj4
= 0 ;
25125 char * kwnames
[] = {
25126 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25131 if (!SWIG_IsOK(res1
)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25134 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25136 if (!SWIG_IsOK(res2
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25140 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25141 if (!SWIG_IsOK(res3
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25147 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25150 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25153 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25154 if (!SWIG_IsOK(ecode5
)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25157 arg5
= static_cast< int >(val5
);
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_Py_Void();
25172 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
= 0;
25174 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25175 wxWindow
*arg2
= (wxWindow
*) 0 ;
25178 int arg5
= (int) 0 ;
25188 PyObject
* obj0
= 0 ;
25189 PyObject
* obj1
= 0 ;
25190 PyObject
* obj2
= 0 ;
25191 PyObject
* obj3
= 0 ;
25192 PyObject
* obj4
= 0 ;
25193 char * kwnames
[] = {
25194 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25199 if (!SWIG_IsOK(res1
)) {
25200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25202 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25204 if (!SWIG_IsOK(res2
)) {
25205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25208 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25209 if (!SWIG_IsOK(res3
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25215 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25218 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25221 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25222 if (!SWIG_IsOK(ecode5
)) {
25223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25225 arg5
= static_cast< int >(val5
);
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_Py_Void();
25240 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
= 0;
25242 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25243 wxWindow
*arg2
= (wxWindow
*) 0 ;
25247 wxOrientation arg6
;
25248 int arg7
= (int) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 PyObject
* obj2
= 0 ;
25265 PyObject
* obj3
= 0 ;
25266 PyObject
* obj4
= 0 ;
25267 PyObject
* obj5
= 0 ;
25268 PyObject
* obj6
= 0 ;
25269 char * kwnames
[] = {
25270 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25275 if (!SWIG_IsOK(res1
)) {
25276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25278 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25280 if (!SWIG_IsOK(res2
)) {
25281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25283 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25284 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25285 if (!SWIG_IsOK(res3
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25291 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25294 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25297 if (!SWIG_IsOK(ecode5
)) {
25298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25300 arg5
= static_cast< int >(val5
);
25301 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25302 if (!SWIG_IsOK(ecode6
)) {
25303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25305 arg6
= static_cast< wxOrientation
>(val6
);
25307 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25308 if (!SWIG_IsOK(ecode7
)) {
25309 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25311 arg7
= static_cast< int >(val7
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_Py_Void();
25326 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= 0;
25328 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25329 wxWindow
*arg2
= (wxWindow
*) 0 ;
25332 int arg5
= (int) 0 ;
25342 PyObject
* obj0
= 0 ;
25343 PyObject
* obj1
= 0 ;
25344 PyObject
* obj2
= 0 ;
25345 PyObject
* obj3
= 0 ;
25346 PyObject
* obj4
= 0 ;
25347 char * kwnames
[] = {
25348 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25353 if (!SWIG_IsOK(res1
)) {
25354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25356 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25358 if (!SWIG_IsOK(res2
)) {
25359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25362 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25363 if (!SWIG_IsOK(res3
)) {
25364 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25369 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25372 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25376 if (!SWIG_IsOK(ecode5
)) {
25377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25379 arg5
= static_cast< int >(val5
);
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_Py_Void();
25394 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
= 0;
25396 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25397 wxWindow
*arg2
= (wxWindow
*) 0 ;
25400 int arg5
= (int) 0 ;
25410 PyObject
* obj0
= 0 ;
25411 PyObject
* obj1
= 0 ;
25412 PyObject
* obj2
= 0 ;
25413 PyObject
* obj3
= 0 ;
25414 PyObject
* obj4
= 0 ;
25415 char * kwnames
[] = {
25416 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25421 if (!SWIG_IsOK(res1
)) {
25422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25424 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25426 if (!SWIG_IsOK(res2
)) {
25427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25429 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25430 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25431 if (!SWIG_IsOK(res3
)) {
25432 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25437 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25440 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25443 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25444 if (!SWIG_IsOK(ecode5
)) {
25445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25447 arg5
= static_cast< int >(val5
);
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= SWIG_Py_Void();
25462 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
= 0;
25464 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25465 wxWindow
*arg2
= (wxWindow
*) 0 ;
25468 int arg5
= (int) 0 ;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 PyObject
* obj2
= 0 ;
25481 PyObject
* obj3
= 0 ;
25482 PyObject
* obj4
= 0 ;
25483 char * kwnames
[] = {
25484 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25492 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25494 if (!SWIG_IsOK(res2
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
25497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25498 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25499 if (!SWIG_IsOK(res3
)) {
25500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25505 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25508 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25511 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25512 if (!SWIG_IsOK(ecode5
)) {
25513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
25515 arg5
= static_cast< int >(val5
);
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_Py_Void();
25530 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
= 0;
25532 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25533 wxWindow
*arg2
= (wxWindow
*) 0 ;
25536 int arg5
= (int) 0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 PyObject
* obj2
= 0 ;
25549 PyObject
* obj3
= 0 ;
25550 PyObject
* obj4
= 0 ;
25551 char * kwnames
[] = {
25552 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25557 if (!SWIG_IsOK(res1
)) {
25558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25560 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25562 if (!SWIG_IsOK(res2
)) {
25563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25567 if (!SWIG_IsOK(res3
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25573 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25576 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25580 if (!SWIG_IsOK(ecode5
)) {
25581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
25583 arg5
= static_cast< int >(val5
);
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= SWIG_Py_Void();
25598 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
= 0;
25600 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25601 wxWindow
*arg2
= (wxWindow
*) 0 ;
25604 int arg5
= (int) 0 ;
25614 PyObject
* obj0
= 0 ;
25615 PyObject
* obj1
= 0 ;
25616 PyObject
* obj2
= 0 ;
25617 PyObject
* obj3
= 0 ;
25618 PyObject
* obj4
= 0 ;
25619 char * kwnames
[] = {
25620 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25625 if (!SWIG_IsOK(res1
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25628 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25630 if (!SWIG_IsOK(res2
)) {
25631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
25633 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25634 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25635 if (!SWIG_IsOK(res3
)) {
25636 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25641 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25644 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25648 if (!SWIG_IsOK(ecode5
)) {
25649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
25651 arg5
= static_cast< int >(val5
);
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_Py_Void();
25666 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
= 0;
25668 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25669 wxWindow
*arg2
= (wxWindow
*) 0 ;
25670 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj1
= 0 ;
25677 char * kwnames
[] = {
25678 (char *) "self",(char *) "win", NULL
25681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25683 if (!SWIG_IsOK(res1
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25686 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25688 if (!SWIG_IsOK(res2
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25705 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25706 PyObject
*resultobj
= 0;
25707 wxRendererNative
*result
= 0 ;
25709 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25711 if (!wxPyCheckForApp()) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25715 result
= (wxRendererNative
*) &_result_ref
;
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25727 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25728 PyObject
*resultobj
= 0;
25729 wxRendererNative
*result
= 0 ;
25731 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25733 if (!wxPyCheckForApp()) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25737 result
= (wxRendererNative
*) &_result_ref
;
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25749 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25750 PyObject
*resultobj
= 0;
25751 wxRendererNative
*result
= 0 ;
25753 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25755 if (!wxPyCheckForApp()) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25759 result
= (wxRendererNative
*) &_result_ref
;
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25771 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
= 0;
25773 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25774 wxRendererNative
*result
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 char * kwnames
[] = {
25779 (char *) "renderer", NULL
25782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25787 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25789 if (!wxPyCheckForApp()) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25802 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25803 PyObject
*resultobj
= 0;
25804 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25805 SwigValueWrapper
<wxRendererVersion
> result
;
25808 PyObject
*swig_obj
[1] ;
25810 if (!args
) SWIG_fail
;
25811 swig_obj
[0] = args
;
25812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25813 if (!SWIG_IsOK(res1
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25816 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25830 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25833 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25834 return SWIG_Py_Void();
25837 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25838 PyObject
*resultobj
= 0;
25839 wxPseudoDC
*result
= 0 ;
25841 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (wxPseudoDC
*)new wxPseudoDC();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
25855 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25868 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 (arg1
)->BeginDrawing();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_Py_Void();
25882 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 PyObject
*resultobj
= 0;
25884 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25887 PyObject
*swig_obj
[1] ;
25889 if (!args
) SWIG_fail
;
25890 swig_obj
[0] = args
;
25891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 (arg1
)->EndDrawing();
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= SWIG_Py_Void();
25909 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25910 PyObject
*resultobj
= 0;
25911 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25914 PyObject
*swig_obj
[1] ;
25916 if (!args
) SWIG_fail
;
25917 swig_obj
[0] = args
;
25918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25922 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_Py_Void();
25937 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25942 PyObject
*swig_obj
[1] ;
25944 if (!args
) SWIG_fail
;
25945 swig_obj
[0] = args
;
25946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25950 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->RemoveAll();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_Py_Void();
25964 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25965 PyObject
*resultobj
= 0;
25966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25970 PyObject
*swig_obj
[1] ;
25972 if (!args
) SWIG_fail
;
25973 swig_obj
[0] = args
;
25974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25978 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (int)(arg1
)->GetLen();
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_From_int(static_cast< int >(result
));
25992 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= 0;
25994 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char * kwnames
[] = {
26003 (char *) "self",(char *) "id", NULL
26006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26011 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26013 if (!SWIG_IsOK(ecode2
)) {
26014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
26016 arg2
= static_cast< int >(val2
);
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 (arg1
)->SetId(arg2
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_Py_Void();
26030 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
= 0;
26032 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 char * kwnames
[] = {
26041 (char *) "self",(char *) "id", NULL
26044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26046 if (!SWIG_IsOK(res1
)) {
26047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26049 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26051 if (!SWIG_IsOK(ecode2
)) {
26052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
26054 arg2
= static_cast< int >(val2
);
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 (arg1
)->ClearId(arg2
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_Py_Void();
26068 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
= 0;
26070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj1
= 0 ;
26078 char * kwnames
[] = {
26079 (char *) "self",(char *) "id", NULL
26082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26084 if (!SWIG_IsOK(res1
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26087 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26089 if (!SWIG_IsOK(ecode2
)) {
26090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
26092 arg2
= static_cast< int >(val2
);
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 (arg1
)->RemoveId(arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_Py_Void();
26106 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
= 0;
26108 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 PyObject
* obj2
= 0 ;
26123 PyObject
* obj3
= 0 ;
26124 char * kwnames
[] = {
26125 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
26128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26135 if (!SWIG_IsOK(ecode2
)) {
26136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
26138 arg2
= static_cast< int >(val2
);
26139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26140 if (!SWIG_IsOK(ecode3
)) {
26141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
26143 arg3
= static_cast< int >(val3
);
26144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26145 if (!SWIG_IsOK(ecode4
)) {
26146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
26148 arg4
= static_cast< int >(val4
);
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= 0;
26164 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26166 wxDC
*arg3
= (wxDC
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 PyObject
* obj2
= 0 ;
26176 char * kwnames
[] = {
26177 (char *) "self",(char *) "id",(char *) "dc", NULL
26180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26182 if (!SWIG_IsOK(res1
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26185 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26187 if (!SWIG_IsOK(ecode2
)) {
26188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
26190 arg2
= static_cast< int >(val2
);
26191 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
26192 if (!SWIG_IsOK(res3
)) {
26193 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
26195 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 (arg1
)->DrawIdToDC(arg2
,arg3
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_Py_Void();
26209 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
= 0;
26211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 PyObject
* obj2
= 0 ;
26222 char * kwnames
[] = {
26223 (char *) "self",(char *) "id",(char *) "rect", NULL
26226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26228 if (!SWIG_IsOK(res1
)) {
26229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26231 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26233 if (!SWIG_IsOK(ecode2
)) {
26234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
26236 arg2
= static_cast< int >(val2
);
26239 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 (arg1
)->SetIdBounds(arg2
,*arg3
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_Py_Void();
26254 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
= 0;
26256 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 char * kwnames
[] = {
26266 (char *) "self",(char *) "id", NULL
26269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26276 if (!SWIG_IsOK(ecode2
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
26279 arg2
= static_cast< int >(val2
);
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
26293 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
= 0;
26295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26296 wxDC
*arg2
= (wxDC
*) 0 ;
26303 PyObject
* obj0
= 0 ;
26304 PyObject
* obj1
= 0 ;
26305 PyObject
* obj2
= 0 ;
26306 char * kwnames
[] = {
26307 (char *) "self",(char *) "dc",(char *) "rect", NULL
26310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26312 if (!SWIG_IsOK(res1
)) {
26313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26315 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26317 if (!SWIG_IsOK(res2
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
26320 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26323 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_Py_Void();
26338 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
= 0;
26340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26341 wxDC
*arg2
= (wxDC
*) 0 ;
26342 wxRegion
*arg3
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 PyObject
* obj2
= 0 ;
26352 char * kwnames
[] = {
26353 (char *) "self",(char *) "dc",(char *) "region", NULL
26356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26358 if (!SWIG_IsOK(res1
)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26363 if (!SWIG_IsOK(res2
)) {
26364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
26366 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26367 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
26368 if (!SWIG_IsOK(res3
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
26372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
26374 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= 0;
26390 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26391 wxDC
*arg2
= (wxDC
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char * kwnames
[] = {
26399 (char *) "self",(char *) "dc", NULL
26402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26404 if (!SWIG_IsOK(res1
)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26407 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26409 if (!SWIG_IsOK(res2
)) {
26410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
26412 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 (arg1
)->DrawToDC(arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= SWIG_Py_Void();
26426 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
= 0;
26428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26431 wxColour
*arg4
= 0 ;
26432 int arg5
= (int) wxFLOOD_SURFACE
;
26442 PyObject
* obj0
= 0 ;
26443 PyObject
* obj1
= 0 ;
26444 PyObject
* obj2
= 0 ;
26445 PyObject
* obj3
= 0 ;
26446 PyObject
* obj4
= 0 ;
26447 char * kwnames
[] = {
26448 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
26451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26453 if (!SWIG_IsOK(res1
)) {
26454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26458 if (!SWIG_IsOK(ecode2
)) {
26459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
26461 arg2
= static_cast< int >(val2
);
26462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26463 if (!SWIG_IsOK(ecode3
)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
26466 arg3
= static_cast< int >(val3
);
26469 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26473 if (!SWIG_IsOK(ecode5
)) {
26474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
26476 arg5
= static_cast< int >(val5
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
= 0;
26493 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26494 wxPoint
*arg2
= 0 ;
26495 wxColour
*arg3
= 0 ;
26496 int arg4
= (int) wxFLOOD_SURFACE
;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 PyObject
* obj2
= 0 ;
26506 PyObject
* obj3
= 0 ;
26507 char * kwnames
[] = {
26508 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
26511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26513 if (!SWIG_IsOK(res1
)) {
26514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26516 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26523 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26527 if (!SWIG_IsOK(ecode4
)) {
26528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
26530 arg4
= static_cast< int >(val4
);
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= SWIG_Py_Void();
26545 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
= 0;
26547 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 PyObject
* obj2
= 0 ;
26565 PyObject
* obj3
= 0 ;
26566 PyObject
* obj4
= 0 ;
26567 char * kwnames
[] = {
26568 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26576 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26578 if (!SWIG_IsOK(ecode2
)) {
26579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
26581 arg2
= static_cast< int >(val2
);
26582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26583 if (!SWIG_IsOK(ecode3
)) {
26584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
26586 arg3
= static_cast< int >(val3
);
26587 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26588 if (!SWIG_IsOK(ecode4
)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
26591 arg4
= static_cast< int >(val4
);
26592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26593 if (!SWIG_IsOK(ecode5
)) {
26594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
26596 arg5
= static_cast< int >(val5
);
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_Py_Void();
26610 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
= 0;
26612 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26613 wxPoint
*arg2
= 0 ;
26614 wxPoint
*arg3
= 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 PyObject
* obj2
= 0 ;
26622 char * kwnames
[] = {
26623 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
26626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26628 if (!SWIG_IsOK(res1
)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_Py_Void();
26653 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
= 0;
26655 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26664 PyObject
* obj0
= 0 ;
26665 PyObject
* obj1
= 0 ;
26666 PyObject
* obj2
= 0 ;
26667 char * kwnames
[] = {
26668 (char *) "self",(char *) "x",(char *) "y", NULL
26671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26676 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26678 if (!SWIG_IsOK(ecode2
)) {
26679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
26681 arg2
= static_cast< int >(val2
);
26682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26683 if (!SWIG_IsOK(ecode3
)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
26686 arg3
= static_cast< int >(val3
);
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 (arg1
)->CrossHair(arg2
,arg3
);
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_Py_Void();
26700 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
= 0;
26702 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26703 wxPoint
*arg2
= 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char * kwnames
[] = {
26710 (char *) "self",(char *) "pt", NULL
26713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26718 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 resultobj
= SWIG_Py_Void();
26736 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
= 0;
26738 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 PyObject
* obj2
= 0 ;
26762 PyObject
* obj3
= 0 ;
26763 PyObject
* obj4
= 0 ;
26764 PyObject
* obj5
= 0 ;
26765 PyObject
* obj6
= 0 ;
26766 char * kwnames
[] = {
26767 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
26770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26777 if (!SWIG_IsOK(ecode2
)) {
26778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
26780 arg2
= static_cast< int >(val2
);
26781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26782 if (!SWIG_IsOK(ecode3
)) {
26783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
26785 arg3
= static_cast< int >(val3
);
26786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26787 if (!SWIG_IsOK(ecode4
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
26790 arg4
= static_cast< int >(val4
);
26791 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26792 if (!SWIG_IsOK(ecode5
)) {
26793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
26795 arg5
= static_cast< int >(val5
);
26796 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
26797 if (!SWIG_IsOK(ecode6
)) {
26798 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
26800 arg6
= static_cast< int >(val6
);
26801 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
26802 if (!SWIG_IsOK(ecode7
)) {
26803 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
26805 arg7
= static_cast< int >(val7
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_Py_Void();
26819 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
= 0;
26821 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26822 wxPoint
*arg2
= 0 ;
26823 wxPoint
*arg3
= 0 ;
26824 wxPoint
*arg4
= 0 ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 PyObject
* obj2
= 0 ;
26833 PyObject
* obj3
= 0 ;
26834 char * kwnames
[] = {
26835 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
26838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26840 if (!SWIG_IsOK(res1
)) {
26841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26843 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_Py_Void();
26869 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
= 0;
26871 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 PyObject
* obj2
= 0 ;
26889 PyObject
* obj3
= 0 ;
26890 PyObject
* obj4
= 0 ;
26891 char * kwnames
[] = {
26892 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26897 if (!SWIG_IsOK(res1
)) {
26898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26902 if (!SWIG_IsOK(ecode2
)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
26905 arg2
= static_cast< int >(val2
);
26906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26907 if (!SWIG_IsOK(ecode3
)) {
26908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
26910 arg3
= static_cast< int >(val3
);
26911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26912 if (!SWIG_IsOK(ecode4
)) {
26913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
26915 arg4
= static_cast< int >(val4
);
26916 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26917 if (!SWIG_IsOK(ecode5
)) {
26918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
26920 arg5
= static_cast< int >(val5
);
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_Py_Void();
26934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "rect", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26955 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_Py_Void();
26970 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
= 0;
26972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 PyObject
* obj2
= 0 ;
26996 PyObject
* obj3
= 0 ;
26997 PyObject
* obj4
= 0 ;
26998 PyObject
* obj5
= 0 ;
26999 PyObject
* obj6
= 0 ;
27000 char * kwnames
[] = {
27001 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
27004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27006 if (!SWIG_IsOK(res1
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27011 if (!SWIG_IsOK(ecode2
)) {
27012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
27014 arg2
= static_cast< int >(val2
);
27015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27016 if (!SWIG_IsOK(ecode3
)) {
27017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
27019 arg3
= static_cast< int >(val3
);
27020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27021 if (!SWIG_IsOK(ecode4
)) {
27022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
27024 arg4
= static_cast< int >(val4
);
27025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27026 if (!SWIG_IsOK(ecode5
)) {
27027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
27029 arg5
= static_cast< int >(val5
);
27030 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27031 if (!SWIG_IsOK(ecode6
)) {
27032 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
27034 arg6
= static_cast< double >(val6
);
27035 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27036 if (!SWIG_IsOK(ecode7
)) {
27037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
27039 arg7
= static_cast< double >(val7
);
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_Py_Void();
27053 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
= 0;
27055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27056 wxPoint
*arg2
= 0 ;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 PyObject
* obj2
= 0 ;
27071 PyObject
* obj3
= 0 ;
27072 PyObject
* obj4
= 0 ;
27073 char * kwnames
[] = {
27074 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
27077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27079 if (!SWIG_IsOK(res1
)) {
27080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27082 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27089 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27091 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27092 if (!SWIG_IsOK(ecode4
)) {
27093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
27095 arg4
= static_cast< double >(val4
);
27096 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27097 if (!SWIG_IsOK(ecode5
)) {
27098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
27100 arg5
= static_cast< double >(val5
);
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_Py_Void();
27114 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
= 0;
27116 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj1
= 0 ;
27127 PyObject
* obj2
= 0 ;
27128 char * kwnames
[] = {
27129 (char *) "self",(char *) "x",(char *) "y", NULL
27132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27137 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27139 if (!SWIG_IsOK(ecode2
)) {
27140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
27142 arg2
= static_cast< int >(val2
);
27143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27144 if (!SWIG_IsOK(ecode3
)) {
27145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
27147 arg3
= static_cast< int >(val3
);
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 (arg1
)->DrawPoint(arg2
,arg3
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= SWIG_Py_Void();
27161 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
= 0;
27163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27164 wxPoint
*arg2
= 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char * kwnames
[] = {
27171 (char *) "self",(char *) "pt", NULL
27174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27179 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= SWIG_Py_Void();
27197 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
= 0;
27199 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 PyObject
* obj2
= 0 ;
27217 PyObject
* obj3
= 0 ;
27218 PyObject
* obj4
= 0 ;
27219 char * kwnames
[] = {
27220 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27230 if (!SWIG_IsOK(ecode2
)) {
27231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
27233 arg2
= static_cast< int >(val2
);
27234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27235 if (!SWIG_IsOK(ecode3
)) {
27236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
27238 arg3
= static_cast< int >(val3
);
27239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27240 if (!SWIG_IsOK(ecode4
)) {
27241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
27243 arg4
= static_cast< int >(val4
);
27244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27245 if (!SWIG_IsOK(ecode5
)) {
27246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
27248 arg5
= static_cast< int >(val5
);
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_Py_Void();
27262 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
= 0;
27264 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 char * kwnames
[] = {
27272 (char *) "self",(char *) "rect", NULL
27275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27277 if (!SWIG_IsOK(res1
)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27283 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= SWIG_Py_Void();
27298 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
= 0;
27300 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27301 wxPoint
*arg2
= 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 PyObject
* obj2
= 0 ;
27310 char * kwnames
[] = {
27311 (char *) "self",(char *) "pt",(char *) "sz", NULL
27314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27316 if (!SWIG_IsOK(res1
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27326 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_Py_Void();
27341 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
= 0;
27343 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 PyObject
* obj2
= 0 ;
27364 PyObject
* obj3
= 0 ;
27365 PyObject
* obj4
= 0 ;
27366 PyObject
* obj5
= 0 ;
27367 char * kwnames
[] = {
27368 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
27371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27376 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27378 if (!SWIG_IsOK(ecode2
)) {
27379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
27381 arg2
= static_cast< int >(val2
);
27382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27383 if (!SWIG_IsOK(ecode3
)) {
27384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
27386 arg3
= static_cast< int >(val3
);
27387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27388 if (!SWIG_IsOK(ecode4
)) {
27389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
27391 arg4
= static_cast< int >(val4
);
27392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27393 if (!SWIG_IsOK(ecode5
)) {
27394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
27396 arg5
= static_cast< int >(val5
);
27397 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27398 if (!SWIG_IsOK(ecode6
)) {
27399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
27401 arg6
= static_cast< double >(val6
);
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= SWIG_Py_Void();
27415 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
= 0;
27417 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27425 PyObject
* obj0
= 0 ;
27426 PyObject
* obj1
= 0 ;
27427 PyObject
* obj2
= 0 ;
27428 char * kwnames
[] = {
27429 (char *) "self",(char *) "r",(char *) "radius", NULL
27432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27434 if (!SWIG_IsOK(res1
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27442 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27443 if (!SWIG_IsOK(ecode3
)) {
27444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
27446 arg3
= static_cast< double >(val3
);
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_Py_Void();
27460 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
= 0;
27462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27463 wxPoint
*arg2
= 0 ;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 PyObject
* obj2
= 0 ;
27475 PyObject
* obj3
= 0 ;
27476 char * kwnames
[] = {
27477 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
27480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27482 if (!SWIG_IsOK(res1
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27485 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27492 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27494 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27495 if (!SWIG_IsOK(ecode4
)) {
27496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
27498 arg4
= static_cast< double >(val4
);
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_Py_Void();
27512 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
= 0;
27514 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 PyObject
* obj2
= 0 ;
27529 PyObject
* obj3
= 0 ;
27530 char * kwnames
[] = {
27531 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
27534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27539 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27541 if (!SWIG_IsOK(ecode2
)) {
27542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
27544 arg2
= static_cast< int >(val2
);
27545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27546 if (!SWIG_IsOK(ecode3
)) {
27547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
27549 arg3
= static_cast< int >(val3
);
27550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27551 if (!SWIG_IsOK(ecode4
)) {
27552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
27554 arg4
= static_cast< int >(val4
);
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= SWIG_Py_Void();
27568 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
= 0;
27570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27571 wxPoint
*arg2
= 0 ;
27578 PyObject
* obj0
= 0 ;
27579 PyObject
* obj1
= 0 ;
27580 PyObject
* obj2
= 0 ;
27581 char * kwnames
[] = {
27582 (char *) "self",(char *) "pt",(char *) "radius", NULL
27585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27587 if (!SWIG_IsOK(res1
)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27590 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27596 if (!SWIG_IsOK(ecode3
)) {
27597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
27599 arg3
= static_cast< int >(val3
);
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= SWIG_Py_Void();
27613 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
= 0;
27615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 PyObject
* obj1
= 0 ;
27632 PyObject
* obj2
= 0 ;
27633 PyObject
* obj3
= 0 ;
27634 PyObject
* obj4
= 0 ;
27635 char * kwnames
[] = {
27636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27644 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27646 if (!SWIG_IsOK(ecode2
)) {
27647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
27649 arg2
= static_cast< int >(val2
);
27650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27651 if (!SWIG_IsOK(ecode3
)) {
27652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
27654 arg3
= static_cast< int >(val3
);
27655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27656 if (!SWIG_IsOK(ecode4
)) {
27657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
27659 arg4
= static_cast< int >(val4
);
27660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27661 if (!SWIG_IsOK(ecode5
)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
27664 arg5
= static_cast< int >(val5
);
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27668 wxPyEndAllowThreads(__tstate
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 resultobj
= SWIG_Py_Void();
27678 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
= 0;
27680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27685 PyObject
* obj0
= 0 ;
27686 PyObject
* obj1
= 0 ;
27687 char * kwnames
[] = {
27688 (char *) "self",(char *) "rect", NULL
27691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27696 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27699 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27703 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27707 resultobj
= SWIG_Py_Void();
27714 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
= 0;
27716 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27717 wxPoint
*arg2
= 0 ;
27723 PyObject
* obj0
= 0 ;
27724 PyObject
* obj1
= 0 ;
27725 PyObject
* obj2
= 0 ;
27726 char * kwnames
[] = {
27727 (char *) "self",(char *) "pt",(char *) "sz", NULL
27730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27732 if (!SWIG_IsOK(res1
)) {
27733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27735 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27742 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= SWIG_Py_Void();
27757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
= 0;
27759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27771 PyObject
* obj0
= 0 ;
27772 PyObject
* obj1
= 0 ;
27773 PyObject
* obj2
= 0 ;
27774 PyObject
* obj3
= 0 ;
27775 char * kwnames
[] = {
27776 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
27779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27781 if (!SWIG_IsOK(res1
)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27784 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27786 if (!SWIG_IsOK(res2
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27792 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27794 if (!SWIG_IsOK(ecode3
)) {
27795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
27797 arg3
= static_cast< int >(val3
);
27798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27799 if (!SWIG_IsOK(ecode4
)) {
27800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
27802 arg4
= static_cast< int >(val4
);
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= SWIG_Py_Void();
27816 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
= 0;
27818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27820 wxPoint
*arg3
= 0 ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 PyObject
* obj2
= 0 ;
27829 char * kwnames
[] = {
27830 (char *) "self",(char *) "icon",(char *) "pt", NULL
27833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27835 if (!SWIG_IsOK(res1
)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27840 if (!SWIG_IsOK(res2
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
27844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
27846 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= SWIG_Py_Void();
27864 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
= 0;
27866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27867 wxBitmap
*arg2
= 0 ;
27870 bool arg5
= (bool) false ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 PyObject
* obj2
= 0 ;
27884 PyObject
* obj3
= 0 ;
27885 PyObject
* obj4
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27897 if (!SWIG_IsOK(res2
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27903 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27905 if (!SWIG_IsOK(ecode3
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
27908 arg3
= static_cast< int >(val3
);
27909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27910 if (!SWIG_IsOK(ecode4
)) {
27911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
27913 arg4
= static_cast< int >(val4
);
27915 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
27916 if (!SWIG_IsOK(ecode5
)) {
27917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
27919 arg5
= static_cast< bool >(val5
);
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
27924 wxPyEndAllowThreads(__tstate
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= SWIG_Py_Void();
27934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27935 PyObject
*resultobj
= 0;
27936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27937 wxBitmap
*arg2
= 0 ;
27938 wxPoint
*arg3
= 0 ;
27939 bool arg4
= (bool) false ;
27947 PyObject
* obj0
= 0 ;
27948 PyObject
* obj1
= 0 ;
27949 PyObject
* obj2
= 0 ;
27950 PyObject
* obj3
= 0 ;
27951 char * kwnames
[] = {
27952 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
27955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27957 if (!SWIG_IsOK(res1
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27960 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27962 if (!SWIG_IsOK(res2
)) {
27963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27968 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27974 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27975 if (!SWIG_IsOK(ecode4
)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
27978 arg4
= static_cast< bool >(val4
);
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= SWIG_Py_Void();
27993 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
= 0;
27995 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27996 wxString
*arg2
= 0 ;
28001 bool temp2
= false ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 PyObject
* obj2
= 0 ;
28009 PyObject
* obj3
= 0 ;
28010 char * kwnames
[] = {
28011 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
28014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28016 if (!SWIG_IsOK(res1
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28021 arg2
= wxString_in_helper(obj1
);
28022 if (arg2
== NULL
) SWIG_fail
;
28025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28026 if (!SWIG_IsOK(ecode3
)) {
28027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
28029 arg3
= static_cast< int >(val3
);
28030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28031 if (!SWIG_IsOK(ecode4
)) {
28032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
28034 arg4
= static_cast< int >(val4
);
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_Py_Void();
28056 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
= 0;
28058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28059 wxString
*arg2
= 0 ;
28060 wxPoint
*arg3
= 0 ;
28063 bool temp2
= false ;
28065 PyObject
* obj0
= 0 ;
28066 PyObject
* obj1
= 0 ;
28067 PyObject
* obj2
= 0 ;
28068 char * kwnames
[] = {
28069 (char *) "self",(char *) "text",(char *) "pt", NULL
28072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28074 if (!SWIG_IsOK(res1
)) {
28075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28077 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28079 arg2
= wxString_in_helper(obj1
);
28080 if (arg2
== NULL
) SWIG_fail
;
28085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 resultobj
= SWIG_Py_Void();
28108 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
= 0;
28110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28111 wxString
*arg2
= 0 ;
28117 bool temp2
= false ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 PyObject
* obj2
= 0 ;
28127 PyObject
* obj3
= 0 ;
28128 PyObject
* obj4
= 0 ;
28129 char * kwnames
[] = {
28130 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
28133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28135 if (!SWIG_IsOK(res1
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28140 arg2
= wxString_in_helper(obj1
);
28141 if (arg2
== NULL
) SWIG_fail
;
28144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28145 if (!SWIG_IsOK(ecode3
)) {
28146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
28148 arg3
= static_cast< int >(val3
);
28149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28150 if (!SWIG_IsOK(ecode4
)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
28153 arg4
= static_cast< int >(val4
);
28154 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28155 if (!SWIG_IsOK(ecode5
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
28158 arg5
= static_cast< double >(val5
);
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28182 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28183 wxString
*arg2
= 0 ;
28184 wxPoint
*arg3
= 0 ;
28188 bool temp2
= false ;
28192 PyObject
* obj0
= 0 ;
28193 PyObject
* obj1
= 0 ;
28194 PyObject
* obj2
= 0 ;
28195 PyObject
* obj3
= 0 ;
28196 char * kwnames
[] = {
28197 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
28200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28205 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28207 arg2
= wxString_in_helper(obj1
);
28208 if (arg2
== NULL
) SWIG_fail
;
28213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28215 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28216 if (!SWIG_IsOK(ecode4
)) {
28217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
28219 arg4
= static_cast< double >(val4
);
28221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= SWIG_Py_Void();
28241 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
= 0;
28243 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28245 wxPoint
*arg3
= (wxPoint
*) 0 ;
28246 int arg4
= (int) 0 ;
28247 int arg5
= (int) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 PyObject
* obj1
= 0 ;
28256 PyObject
* obj2
= 0 ;
28257 PyObject
* obj3
= 0 ;
28258 char * kwnames
[] = {
28259 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
28262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28267 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28269 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
28270 if (arg3
== NULL
) SWIG_fail
;
28273 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
28274 if (!SWIG_IsOK(ecode4
)) {
28275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
28277 arg4
= static_cast< int >(val4
);
28280 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
28281 if (!SWIG_IsOK(ecode5
)) {
28282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
28284 arg5
= static_cast< int >(val5
);
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= SWIG_Py_Void();
28294 if (arg3
) delete [] arg3
;
28299 if (arg3
) delete [] arg3
;
28305 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
= 0;
28307 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28309 wxPoint
*arg3
= (wxPoint
*) 0 ;
28310 int arg4
= (int) 0 ;
28311 int arg5
= (int) 0 ;
28312 int arg6
= (int) wxODDEVEN_RULE
;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 PyObject
* obj2
= 0 ;
28324 PyObject
* obj3
= 0 ;
28325 PyObject
* obj4
= 0 ;
28326 char * kwnames
[] = {
28327 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
28330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28332 if (!SWIG_IsOK(res1
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28335 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28337 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
28338 if (arg3
== NULL
) SWIG_fail
;
28341 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
28342 if (!SWIG_IsOK(ecode4
)) {
28343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
28345 arg4
= static_cast< int >(val4
);
28348 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
28349 if (!SWIG_IsOK(ecode5
)) {
28350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
28352 arg5
= static_cast< int >(val5
);
28355 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
28356 if (!SWIG_IsOK(ecode6
)) {
28357 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
28359 arg6
= static_cast< int >(val6
);
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= SWIG_Py_Void();
28369 if (arg3
) delete [] arg3
;
28374 if (arg3
) delete [] arg3
;
28380 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
= 0;
28382 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28383 wxString
*arg2
= 0 ;
28385 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
28386 int arg5
= (int) -1 ;
28389 bool temp2
= false ;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 PyObject
* obj2
= 0 ;
28398 PyObject
* obj3
= 0 ;
28399 PyObject
* obj4
= 0 ;
28400 char * kwnames
[] = {
28401 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
28404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28406 if (!SWIG_IsOK(res1
)) {
28407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28409 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28411 arg2
= wxString_in_helper(obj1
);
28412 if (arg2
== NULL
) SWIG_fail
;
28417 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28420 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28421 if (!SWIG_IsOK(ecode4
)) {
28422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
28424 arg4
= static_cast< int >(val4
);
28427 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28428 if (!SWIG_IsOK(ecode5
)) {
28429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
28431 arg5
= static_cast< int >(val5
);
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_Py_Void();
28454 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
= 0;
28456 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28457 wxString
*arg2
= 0 ;
28458 wxBitmap
*arg3
= 0 ;
28460 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
28461 int arg6
= (int) -1 ;
28464 bool temp2
= false ;
28472 PyObject
* obj0
= 0 ;
28473 PyObject
* obj1
= 0 ;
28474 PyObject
* obj2
= 0 ;
28475 PyObject
* obj3
= 0 ;
28476 PyObject
* obj4
= 0 ;
28477 PyObject
* obj5
= 0 ;
28478 char * kwnames
[] = {
28479 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
28482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28484 if (!SWIG_IsOK(res1
)) {
28485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28487 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28489 arg2
= wxString_in_helper(obj1
);
28490 if (arg2
== NULL
) SWIG_fail
;
28493 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28494 if (!SWIG_IsOK(res3
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28500 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28503 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28506 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28507 if (!SWIG_IsOK(ecode5
)) {
28508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
28510 arg5
= static_cast< int >(val5
);
28513 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28514 if (!SWIG_IsOK(ecode6
)) {
28515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
28517 arg6
= static_cast< int >(val6
);
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_Py_Void();
28540 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
= 0;
28542 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28544 wxPoint
*arg3
= (wxPoint
*) 0 ;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 char * kwnames
[] = {
28550 (char *) "self",(char *) "points", NULL
28553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28555 if (!SWIG_IsOK(res1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28558 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28560 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
28561 if (arg3
== NULL
) SWIG_fail
;
28564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 (arg1
)->DrawSpline(arg2
,arg3
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28569 resultobj
= SWIG_Py_Void();
28571 if (arg3
) delete [] arg3
;
28576 if (arg3
) delete [] arg3
;
28582 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 PyObject
*resultobj
= 0;
28584 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28587 PyObject
*swig_obj
[1] ;
28589 if (!args
) SWIG_fail
;
28590 swig_obj
[0] = args
;
28591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28592 if (!SWIG_IsOK(res1
)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28595 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_Py_Void();
28609 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 char * kwnames
[] = {
28620 (char *) "self",(char *) "font", NULL
28623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28628 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28630 if (!SWIG_IsOK(res2
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28636 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 (arg1
)->SetFont((wxFont
const &)*arg2
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= SWIG_Py_Void();
28650 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
= 0;
28652 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 char * kwnames
[] = {
28661 (char *) "self",(char *) "pen", NULL
28664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28666 if (!SWIG_IsOK(res1
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28669 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28671 if (!SWIG_IsOK(res2
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28677 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->SetPen((wxPen
const &)*arg2
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_Py_Void();
28691 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= 0;
28693 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28694 wxBrush
*arg2
= 0 ;
28699 PyObject
* obj0
= 0 ;
28700 PyObject
* obj1
= 0 ;
28701 char * kwnames
[] = {
28702 (char *) "self",(char *) "brush", NULL
28705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28707 if (!SWIG_IsOK(res1
)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28711 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28712 if (!SWIG_IsOK(res2
)) {
28713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28718 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= SWIG_Py_Void();
28732 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
= 0;
28734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28735 wxBrush
*arg2
= 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char * kwnames
[] = {
28743 (char *) "self",(char *) "brush", NULL
28746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28748 if (!SWIG_IsOK(res1
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28751 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28753 if (!SWIG_IsOK(res2
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
28757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
28759 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= SWIG_Py_Void();
28773 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
= 0;
28775 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char * kwnames
[] = {
28784 (char *) "self",(char *) "mode", NULL
28787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28792 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28794 if (!SWIG_IsOK(ecode2
)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
28797 arg2
= static_cast< int >(val2
);
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 (arg1
)->SetBackgroundMode(arg2
);
28801 wxPyEndAllowThreads(__tstate
);
28802 if (PyErr_Occurred()) SWIG_fail
;
28804 resultobj
= SWIG_Py_Void();
28811 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
= 0;
28813 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28814 wxPalette
*arg2
= 0 ;
28819 PyObject
* obj0
= 0 ;
28820 PyObject
* obj1
= 0 ;
28821 char * kwnames
[] = {
28822 (char *) "self",(char *) "palette", NULL
28825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28827 if (!SWIG_IsOK(res1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28830 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
28832 if (!SWIG_IsOK(res2
)) {
28833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
28836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
28838 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_Py_Void();
28852 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
= 0;
28854 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28855 wxColour
*arg2
= 0 ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char * kwnames
[] = {
28862 (char *) "self",(char *) "colour", NULL
28865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28867 if (!SWIG_IsOK(res1
)) {
28868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28870 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_Py_Void();
28888 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28891 wxColour
*arg2
= 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 char * kwnames
[] = {
28898 (char *) "self",(char *) "colour", NULL
28901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28903 if (!SWIG_IsOK(res1
)) {
28904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= SWIG_Py_Void();
28924 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
= 0;
28926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 char * kwnames
[] = {
28935 (char *) "self",(char *) "function", NULL
28938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28940 if (!SWIG_IsOK(res1
)) {
28941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28945 if (!SWIG_IsOK(ecode2
)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28948 arg2
= static_cast< int >(val2
);
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->SetLogicalFunction(arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_Py_Void();
28962 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28965 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
28966 return SWIG_Py_Void();
28969 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28970 return SWIG_Python_InitShadowInstance(args
);
28973 static PyMethodDef SwigMethods
[] = {
28974 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
28975 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
28976 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
28977 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
28978 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
28979 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28980 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28982 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
28983 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
28984 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
28985 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
28986 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
28987 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28988 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28991 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
28992 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28993 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
28995 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
28996 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
28997 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
28998 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28999 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
29000 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29001 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29002 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
29003 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
29004 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
29005 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
29006 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29007 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
29008 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
29009 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
29010 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
29011 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
29012 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
29013 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
29014 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29015 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29017 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29019 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29020 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
29021 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29022 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
29023 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
29024 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29025 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29026 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29027 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
29028 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
29029 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29030 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29031 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
29032 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29033 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29034 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29035 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
29036 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
29037 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
29038 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
29039 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
29040 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
29041 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
29042 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29043 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
29044 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29045 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
29050 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29051 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
29052 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
29053 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
29054 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
29055 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
29056 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
29057 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
29058 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29059 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29063 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
29064 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29065 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29067 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29069 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29071 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
29074 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
29075 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29076 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
29077 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
29078 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
29079 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29080 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
29081 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
29082 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29083 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29084 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
29087 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29088 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
29089 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
29090 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
29091 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
29092 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29093 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
29098 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
29099 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
29101 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
29102 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
29104 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29105 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
29106 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
29107 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
29108 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
29109 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
29112 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
29116 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
29117 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29118 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
29119 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29120 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
29122 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
29124 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
29125 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
29126 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
29127 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
29132 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
29133 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
29138 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
29139 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
29145 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
29149 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
29159 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
29162 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
29163 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
29165 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
29166 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
29167 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
29168 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
29169 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
29170 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
29171 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
29172 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
29173 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
29174 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
29175 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
29176 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
29177 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
29178 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
29179 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
29180 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
29181 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
29183 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
29184 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
29185 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
29186 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
29187 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
29188 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
29189 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
29190 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
29200 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
29201 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
29203 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
29204 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
29205 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
29206 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
29207 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
29208 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
29209 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
29210 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
29211 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
29213 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
29214 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
29215 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
29218 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
29219 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
29220 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
29223 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
29229 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
29234 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
29235 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
29237 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
29243 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
29246 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
29247 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
29248 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
29249 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
29250 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
29251 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
29252 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
29253 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
29254 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
29255 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
29256 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
29257 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
29258 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
29270 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
29271 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
29272 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
29274 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
29275 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
29277 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
29278 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
29279 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
29280 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
29284 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
29285 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
29287 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
29288 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
29289 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
29290 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
29291 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
29292 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
29293 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
29294 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
29295 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
29297 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
29300 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
29301 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
29302 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
29303 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
29304 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
29305 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
29306 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
29307 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
29316 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
29317 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
29318 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
29319 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
29320 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
29321 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
29322 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
29328 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
29329 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
29330 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
29379 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
29381 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
29382 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
29383 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
29390 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
29391 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
29392 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
29393 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
29394 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
29399 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
29400 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
29401 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
29402 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
29411 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
29412 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
29413 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
29414 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
29415 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
29416 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
29417 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
29418 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
29419 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
29420 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
29421 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
29422 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
29425 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
29427 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
29429 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
29431 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
29432 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
29435 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
29436 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
29440 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
29442 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
29445 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
29446 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
29447 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
29448 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
29449 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
29450 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
29451 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
29458 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
29459 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
29462 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
29463 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
29464 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
29465 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
29466 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
29467 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
29468 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
29470 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
29471 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
29472 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
29475 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
29476 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
29477 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
29479 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
29480 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
29482 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
29483 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
29485 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
29486 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
29488 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
29489 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
29491 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
29494 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
29495 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
29496 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
29498 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
29499 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
29501 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
29502 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
29503 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
29504 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
29505 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
29506 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
29508 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
29509 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
29510 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
29512 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
29513 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
29515 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
29523 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
29525 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
29527 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
29528 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
29529 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
29530 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
29531 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
29532 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
29538 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
29539 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
29540 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
29541 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
29542 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
29543 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
29547 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
29551 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
29555 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
29556 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
29557 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
29562 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
29563 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
29564 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
29565 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
29566 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
29567 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
29568 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
29569 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
29570 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
29571 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
29572 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
29573 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
29582 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
29583 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
29585 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
29586 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
29587 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
29588 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
29589 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
29590 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
29592 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
29594 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
29595 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
29596 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
29597 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
29608 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
29609 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
29610 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
29612 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
29613 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
29614 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
29615 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
29616 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
29617 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
29618 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
29619 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
29668 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
29678 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
29679 { NULL
, NULL
, 0, NULL
}
29683 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29685 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
29686 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
29688 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
29689 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29691 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
29692 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
29694 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
29695 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
29697 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
29698 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
29700 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
29701 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
29703 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
29704 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
29706 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
29707 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
29709 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
29710 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
29712 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
29713 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
29715 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
29716 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
29718 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
29719 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
29721 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
29722 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
29724 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
29725 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
29727 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
29728 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
29730 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
29731 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
29733 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
29734 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29736 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
29737 return (void *)((wxDC
*) ((wxClientDC
*) x
));
29739 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
29740 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
29742 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
29743 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
29745 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
29746 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
29748 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
29749 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
29751 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
29752 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
29754 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
29755 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
29757 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
29758 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29760 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29761 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29763 static void *_p_wxPenTo_p_wxObject(void *x
) {
29764 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
29766 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
29767 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
29769 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29770 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29772 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29773 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29775 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29778 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29779 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29781 static void *_p_wxIconTo_p_wxObject(void *x
) {
29782 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
29784 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29785 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29787 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29788 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29790 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29791 return (void *)((wxObject
*) ((wxSizer
*) x
));
29793 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29794 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29796 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29799 static void *_p_wxEventTo_p_wxObject(void *x
) {
29800 return (void *)((wxObject
*) ((wxEvent
*) x
));
29802 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29803 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29805 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29806 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29808 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29809 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29811 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
29812 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
29814 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
29815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
29817 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29818 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29820 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29821 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29823 static void *_p_wxDCTo_p_wxObject(void *x
) {
29824 return (void *)((wxObject
*) ((wxDC
*) x
));
29826 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29827 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29829 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29830 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29832 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29833 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29835 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29836 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29838 static void *_p_wxControlTo_p_wxObject(void *x
) {
29839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29841 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29842 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29844 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
29845 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
29847 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29848 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29850 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
29851 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
29853 static void *_p_wxRegionTo_p_wxObject(void *x
) {
29854 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
29856 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29857 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29859 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
29860 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
29862 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
29863 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
29865 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
29866 return (void *)((wxObject
*) ((wxEffects
*) x
));
29868 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29869 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29871 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29874 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
29875 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
29877 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29878 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29880 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29881 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29883 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
29884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
29886 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29887 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29889 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29892 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29893 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29895 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29896 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29898 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29899 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29901 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29902 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29904 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29905 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29907 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29908 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29910 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29913 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29916 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29919 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29922 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29925 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29926 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29928 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29929 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29931 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29932 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29934 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29937 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
29938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
29940 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29941 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29943 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29946 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29949 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29950 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29952 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
29953 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29955 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
29956 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
29958 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
29959 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
29961 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
29962 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
29964 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29965 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29967 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29968 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29970 static void *_p_wxImageTo_p_wxObject(void *x
) {
29971 return (void *)((wxObject
*) ((wxImage
*) x
));
29973 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29974 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29976 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
29977 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
29979 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
29980 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
29982 static void *_p_wxImageListTo_p_wxObject(void *x
) {
29983 return (void *)((wxObject
*) ((wxImageList
*) x
));
29985 static void *_p_wxCursorTo_p_wxObject(void *x
) {
29986 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
29988 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
29989 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
29991 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
29992 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
29994 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29997 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29998 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30000 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30001 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30003 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30006 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30007 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30009 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30012 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
30013 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
30015 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30016 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30018 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
30019 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
30021 static void *_p_wxMaskTo_p_wxObject(void *x
) {
30022 return (void *)((wxObject
*) ((wxMask
*) x
));
30024 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30027 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30028 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30030 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30031 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30033 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30034 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30036 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30037 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30039 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30040 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30042 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30045 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30046 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30048 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30049 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30051 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30052 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30054 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30057 static void *_p_wxFontTo_p_wxObject(void *x
) {
30058 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
30060 static void *_p_wxBrushTo_p_wxObject(void *x
) {
30061 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
30063 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
30064 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
30066 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30069 static void *_p_wxColourTo_p_wxObject(void *x
) {
30070 return (void *)((wxObject
*) ((wxColour
*) x
));
30072 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30075 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30076 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30078 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30079 return (void *)((wxWindow
*) ((wxControl
*) x
));
30081 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30082 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30084 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30085 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30087 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
30088 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
30089 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};
30090 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
30091 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
30092 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
30093 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
30094 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
30095 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
30096 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
30097 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
30098 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
30099 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
30100 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
30101 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
30102 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
30103 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
30104 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
30105 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
30106 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
30107 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
30108 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
30109 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
30110 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
30111 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
30112 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
30113 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
30114 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
30115 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
30116 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
30117 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
30118 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
30119 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
30120 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
30121 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
30122 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
30123 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
30124 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
30125 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
30126 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
30127 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
30128 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
30129 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
30130 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
30131 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
30132 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
30133 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
30134 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
30135 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
30136 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
30137 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
30138 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
30139 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
30140 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
30141 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
30142 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
30143 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
30144 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
30145 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
30146 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
30147 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
30148 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
30149 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
30150 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
30151 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
30152 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
30153 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
30154 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
30155 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
30156 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
30157 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
30158 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
30159 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
30160 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
30161 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
30162 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
30163 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
30164 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
30165 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
30166 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
30167 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
30168 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
30169 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
30170 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
30171 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
30172 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
30173 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
30174 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
30175 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
30176 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
30177 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
30178 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
30179 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
30180 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
30181 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
30182 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
30183 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
30184 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
30185 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
30186 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
30187 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
30188 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
30189 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
30190 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
30191 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
30192 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
30193 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
30194 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
30195 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
30196 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
30197 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
30198 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
30199 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
30200 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
30201 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
30202 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
30203 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
30204 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
30205 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
30206 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
30207 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
30208 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
30209 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
30210 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
30211 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
30212 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
30213 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
30214 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
30215 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
30216 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
30217 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
30218 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
30219 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
30220 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
30221 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
30222 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
30223 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
30224 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
30225 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
30227 static swig_type_info
*swig_type_initial
[] = {
30230 &_swigt__p_form_ops_t
,
30232 &_swigt__p_unsigned_char
,
30233 &_swigt__p_unsigned_int
,
30234 &_swigt__p_unsigned_long
,
30235 &_swigt__p_wxANIHandler
,
30236 &_swigt__p_wxAcceleratorTable
,
30237 &_swigt__p_wxActivateEvent
,
30238 &_swigt__p_wxBMPHandler
,
30239 &_swigt__p_wxBitmap
,
30240 &_swigt__p_wxBoxSizer
,
30241 &_swigt__p_wxBrush
,
30242 &_swigt__p_wxBrushList
,
30243 &_swigt__p_wxBufferedDC
,
30244 &_swigt__p_wxBufferedPaintDC
,
30245 &_swigt__p_wxCURHandler
,
30246 &_swigt__p_wxChildFocusEvent
,
30247 &_swigt__p_wxClientDC
,
30248 &_swigt__p_wxClipboardTextEvent
,
30249 &_swigt__p_wxCloseEvent
,
30250 &_swigt__p_wxColour
,
30251 &_swigt__p_wxColourDatabase
,
30252 &_swigt__p_wxCommandEvent
,
30253 &_swigt__p_wxContextMenuEvent
,
30254 &_swigt__p_wxControl
,
30255 &_swigt__p_wxControlWithItems
,
30256 &_swigt__p_wxCursor
,
30259 &_swigt__p_wxDateEvent
,
30260 &_swigt__p_wxDisplayChangedEvent
,
30261 &_swigt__p_wxDropFilesEvent
,
30262 &_swigt__p_wxDuplexMode
,
30263 &_swigt__p_wxEffects
,
30264 &_swigt__p_wxEncodingConverter
,
30265 &_swigt__p_wxEraseEvent
,
30266 &_swigt__p_wxEvent
,
30267 &_swigt__p_wxEvtHandler
,
30268 &_swigt__p_wxFSFile
,
30269 &_swigt__p_wxFileSystem
,
30270 &_swigt__p_wxFlexGridSizer
,
30271 &_swigt__p_wxFocusEvent
,
30273 &_swigt__p_wxFontList
,
30274 &_swigt__p_wxFontMapper
,
30275 &_swigt__p_wxGBSizerItem
,
30276 &_swigt__p_wxGDIObjListBase
,
30277 &_swigt__p_wxGDIObject
,
30278 &_swigt__p_wxGIFHandler
,
30279 &_swigt__p_wxGridBagSizer
,
30280 &_swigt__p_wxGridSizer
,
30281 &_swigt__p_wxICOHandler
,
30283 &_swigt__p_wxIconBundle
,
30284 &_swigt__p_wxIconLocation
,
30285 &_swigt__p_wxIconizeEvent
,
30286 &_swigt__p_wxIdleEvent
,
30287 &_swigt__p_wxImage
,
30288 &_swigt__p_wxImageHandler
,
30289 &_swigt__p_wxImageList
,
30290 &_swigt__p_wxIndividualLayoutConstraint
,
30291 &_swigt__p_wxInitDialogEvent
,
30292 &_swigt__p_wxJPEGHandler
,
30293 &_swigt__p_wxKeyEvent
,
30294 &_swigt__p_wxLanguageInfo
,
30295 &_swigt__p_wxLayoutConstraints
,
30296 &_swigt__p_wxLocale
,
30298 &_swigt__p_wxMaximizeEvent
,
30299 &_swigt__p_wxMemoryDC
,
30301 &_swigt__p_wxMenuBar
,
30302 &_swigt__p_wxMenuEvent
,
30303 &_swigt__p_wxMenuItem
,
30304 &_swigt__p_wxMetaFile
,
30305 &_swigt__p_wxMetaFileDC
,
30306 &_swigt__p_wxMirrorDC
,
30307 &_swigt__p_wxMouseCaptureChangedEvent
,
30308 &_swigt__p_wxMouseEvent
,
30309 &_swigt__p_wxMoveEvent
,
30310 &_swigt__p_wxNativeEncodingInfo
,
30311 &_swigt__p_wxNativeFontInfo
,
30312 &_swigt__p_wxNavigationKeyEvent
,
30313 &_swigt__p_wxNcPaintEvent
,
30314 &_swigt__p_wxNotifyEvent
,
30315 &_swigt__p_wxObject
,
30316 &_swigt__p_wxPCXHandler
,
30317 &_swigt__p_wxPNGHandler
,
30318 &_swigt__p_wxPNMHandler
,
30319 &_swigt__p_wxPaintDC
,
30320 &_swigt__p_wxPaintEvent
,
30321 &_swigt__p_wxPalette
,
30322 &_swigt__p_wxPaletteChangedEvent
,
30323 &_swigt__p_wxPaperSize
,
30325 &_swigt__p_wxPenList
,
30326 &_swigt__p_wxPoint
,
30327 &_swigt__p_wxPostScriptDC
,
30328 &_swigt__p_wxPrintData
,
30329 &_swigt__p_wxPrinterDC
,
30330 &_swigt__p_wxPseudoDC
,
30331 &_swigt__p_wxPyApp
,
30332 &_swigt__p_wxPyCommandEvent
,
30333 &_swigt__p_wxPyEvent
,
30334 &_swigt__p_wxPyFontEnumerator
,
30335 &_swigt__p_wxPyImageHandler
,
30336 &_swigt__p_wxPySizer
,
30337 &_swigt__p_wxPyValidator
,
30338 &_swigt__p_wxQueryNewPaletteEvent
,
30340 &_swigt__p_wxRegion
,
30341 &_swigt__p_wxRegionIterator
,
30342 &_swigt__p_wxRendererNative
,
30343 &_swigt__p_wxRendererVersion
,
30344 &_swigt__p_wxScreenDC
,
30345 &_swigt__p_wxScrollEvent
,
30346 &_swigt__p_wxScrollWinEvent
,
30347 &_swigt__p_wxSetCursorEvent
,
30348 &_swigt__p_wxShowEvent
,
30350 &_swigt__p_wxSizeEvent
,
30351 &_swigt__p_wxSizer
,
30352 &_swigt__p_wxSizerItem
,
30353 &_swigt__p_wxSplitterRenderParams
,
30354 &_swigt__p_wxStaticBoxSizer
,
30355 &_swigt__p_wxStdDialogButtonSizer
,
30356 &_swigt__p_wxStockGDI
,
30357 &_swigt__p_wxString
,
30358 &_swigt__p_wxSysColourChangedEvent
,
30359 &_swigt__p_wxTIFFHandler
,
30360 &_swigt__p_wxUpdateUIEvent
,
30361 &_swigt__p_wxValidator
,
30362 &_swigt__p_wxWindow
,
30363 &_swigt__p_wxWindowCreateEvent
,
30364 &_swigt__p_wxWindowDC
,
30365 &_swigt__p_wxWindowDestroyEvent
,
30366 &_swigt__p_wxXPMHandler
,
30369 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
30370 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
30371 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
30372 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
30373 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
30374 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
30375 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
30376 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
30377 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
30378 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
30379 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}};
30380 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
30381 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
30382 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
30383 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
30384 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
30385 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}};
30386 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
30387 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
30388 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
30389 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
30390 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
30391 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
30392 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
30393 static swig_cast_info _swigc__p_wxGDIObjListBase
[] = { {&_swigt__p_wxGDIObjListBase
, 0, 0, 0}, {&_swigt__p_wxBrushList
, _p_wxBrushListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxFontList
, _p_wxFontListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxPenList
, _p_wxPenListTo_p_wxGDIObjListBase
, 0, 0},{0, 0, 0, 0}};
30394 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}};
30395 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
30396 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
30397 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
30398 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
30399 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
30400 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
30401 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
30402 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
30403 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}};
30404 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
30405 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
30406 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
30407 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
30408 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
30409 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
30410 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
30411 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
30412 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
30413 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
30414 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
30415 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
30416 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
30417 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
30418 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
30419 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
30420 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
30421 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
30422 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
30423 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
30424 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
30425 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
30426 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
30427 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30428 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30429 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30430 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
30431 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
30432 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
30433 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
30434 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
30435 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30436 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30437 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
30438 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
30439 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
30440 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
30441 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
30442 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
30443 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
30444 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
30445 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
30446 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
30447 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
30448 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
30449 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
30450 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
30451 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
30452 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
30453 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
30454 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
30455 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
30456 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
30457 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
30458 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
30459 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
30460 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
30461 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
30462 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
30463 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
30464 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
30465 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30466 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30467 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
30468 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
30469 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
30470 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
30471 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
30472 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
30473 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
30474 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
30475 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
30476 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
30477 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
30478 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
30479 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
30480 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
30481 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
30482 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
30483 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
30484 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
30485 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
30486 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
30487 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
30488 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
30489 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
30490 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
30491 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
30492 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
30493 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
30494 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
30495 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
30496 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
30497 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
30498 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
30499 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
30500 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
30501 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
30502 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
30503 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
30504 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
30505 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
30506 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}};
30507 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
30509 static swig_cast_info
*swig_cast_initial
[] = {
30512 _swigc__p_form_ops_t
,
30514 _swigc__p_unsigned_char
,
30515 _swigc__p_unsigned_int
,
30516 _swigc__p_unsigned_long
,
30517 _swigc__p_wxANIHandler
,
30518 _swigc__p_wxAcceleratorTable
,
30519 _swigc__p_wxActivateEvent
,
30520 _swigc__p_wxBMPHandler
,
30521 _swigc__p_wxBitmap
,
30522 _swigc__p_wxBoxSizer
,
30524 _swigc__p_wxBrushList
,
30525 _swigc__p_wxBufferedDC
,
30526 _swigc__p_wxBufferedPaintDC
,
30527 _swigc__p_wxCURHandler
,
30528 _swigc__p_wxChildFocusEvent
,
30529 _swigc__p_wxClientDC
,
30530 _swigc__p_wxClipboardTextEvent
,
30531 _swigc__p_wxCloseEvent
,
30532 _swigc__p_wxColour
,
30533 _swigc__p_wxColourDatabase
,
30534 _swigc__p_wxCommandEvent
,
30535 _swigc__p_wxContextMenuEvent
,
30536 _swigc__p_wxControl
,
30537 _swigc__p_wxControlWithItems
,
30538 _swigc__p_wxCursor
,
30541 _swigc__p_wxDateEvent
,
30542 _swigc__p_wxDisplayChangedEvent
,
30543 _swigc__p_wxDropFilesEvent
,
30544 _swigc__p_wxDuplexMode
,
30545 _swigc__p_wxEffects
,
30546 _swigc__p_wxEncodingConverter
,
30547 _swigc__p_wxEraseEvent
,
30549 _swigc__p_wxEvtHandler
,
30550 _swigc__p_wxFSFile
,
30551 _swigc__p_wxFileSystem
,
30552 _swigc__p_wxFlexGridSizer
,
30553 _swigc__p_wxFocusEvent
,
30555 _swigc__p_wxFontList
,
30556 _swigc__p_wxFontMapper
,
30557 _swigc__p_wxGBSizerItem
,
30558 _swigc__p_wxGDIObjListBase
,
30559 _swigc__p_wxGDIObject
,
30560 _swigc__p_wxGIFHandler
,
30561 _swigc__p_wxGridBagSizer
,
30562 _swigc__p_wxGridSizer
,
30563 _swigc__p_wxICOHandler
,
30565 _swigc__p_wxIconBundle
,
30566 _swigc__p_wxIconLocation
,
30567 _swigc__p_wxIconizeEvent
,
30568 _swigc__p_wxIdleEvent
,
30570 _swigc__p_wxImageHandler
,
30571 _swigc__p_wxImageList
,
30572 _swigc__p_wxIndividualLayoutConstraint
,
30573 _swigc__p_wxInitDialogEvent
,
30574 _swigc__p_wxJPEGHandler
,
30575 _swigc__p_wxKeyEvent
,
30576 _swigc__p_wxLanguageInfo
,
30577 _swigc__p_wxLayoutConstraints
,
30578 _swigc__p_wxLocale
,
30580 _swigc__p_wxMaximizeEvent
,
30581 _swigc__p_wxMemoryDC
,
30583 _swigc__p_wxMenuBar
,
30584 _swigc__p_wxMenuEvent
,
30585 _swigc__p_wxMenuItem
,
30586 _swigc__p_wxMetaFile
,
30587 _swigc__p_wxMetaFileDC
,
30588 _swigc__p_wxMirrorDC
,
30589 _swigc__p_wxMouseCaptureChangedEvent
,
30590 _swigc__p_wxMouseEvent
,
30591 _swigc__p_wxMoveEvent
,
30592 _swigc__p_wxNativeEncodingInfo
,
30593 _swigc__p_wxNativeFontInfo
,
30594 _swigc__p_wxNavigationKeyEvent
,
30595 _swigc__p_wxNcPaintEvent
,
30596 _swigc__p_wxNotifyEvent
,
30597 _swigc__p_wxObject
,
30598 _swigc__p_wxPCXHandler
,
30599 _swigc__p_wxPNGHandler
,
30600 _swigc__p_wxPNMHandler
,
30601 _swigc__p_wxPaintDC
,
30602 _swigc__p_wxPaintEvent
,
30603 _swigc__p_wxPalette
,
30604 _swigc__p_wxPaletteChangedEvent
,
30605 _swigc__p_wxPaperSize
,
30607 _swigc__p_wxPenList
,
30609 _swigc__p_wxPostScriptDC
,
30610 _swigc__p_wxPrintData
,
30611 _swigc__p_wxPrinterDC
,
30612 _swigc__p_wxPseudoDC
,
30614 _swigc__p_wxPyCommandEvent
,
30615 _swigc__p_wxPyEvent
,
30616 _swigc__p_wxPyFontEnumerator
,
30617 _swigc__p_wxPyImageHandler
,
30618 _swigc__p_wxPySizer
,
30619 _swigc__p_wxPyValidator
,
30620 _swigc__p_wxQueryNewPaletteEvent
,
30622 _swigc__p_wxRegion
,
30623 _swigc__p_wxRegionIterator
,
30624 _swigc__p_wxRendererNative
,
30625 _swigc__p_wxRendererVersion
,
30626 _swigc__p_wxScreenDC
,
30627 _swigc__p_wxScrollEvent
,
30628 _swigc__p_wxScrollWinEvent
,
30629 _swigc__p_wxSetCursorEvent
,
30630 _swigc__p_wxShowEvent
,
30632 _swigc__p_wxSizeEvent
,
30634 _swigc__p_wxSizerItem
,
30635 _swigc__p_wxSplitterRenderParams
,
30636 _swigc__p_wxStaticBoxSizer
,
30637 _swigc__p_wxStdDialogButtonSizer
,
30638 _swigc__p_wxStockGDI
,
30639 _swigc__p_wxString
,
30640 _swigc__p_wxSysColourChangedEvent
,
30641 _swigc__p_wxTIFFHandler
,
30642 _swigc__p_wxUpdateUIEvent
,
30643 _swigc__p_wxValidator
,
30644 _swigc__p_wxWindow
,
30645 _swigc__p_wxWindowCreateEvent
,
30646 _swigc__p_wxWindowDC
,
30647 _swigc__p_wxWindowDestroyEvent
,
30648 _swigc__p_wxXPMHandler
,
30652 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30654 static swig_const_info swig_const_table
[] = {
30655 {0, 0, 0, 0.0, 0, 0}};
30660 /* -----------------------------------------------------------------------------
30661 * Type initialization:
30662 * This problem is tough by the requirement that no dynamic
30663 * memory is used. Also, since swig_type_info structures store pointers to
30664 * swig_cast_info structures and swig_cast_info structures store pointers back
30665 * to swig_type_info structures, we need some lookup code at initialization.
30666 * The idea is that swig generates all the structures that are needed.
30667 * The runtime then collects these partially filled structures.
30668 * The SWIG_InitializeModule function takes these initial arrays out of
30669 * swig_module, and does all the lookup, filling in the swig_module.types
30670 * array with the correct data and linking the correct swig_cast_info
30671 * structures together.
30673 * The generated swig_type_info structures are assigned staticly to an initial
30674 * array. We just loop though that array, and handle each type individually.
30675 * First we lookup if this type has been already loaded, and if so, use the
30676 * loaded structure instead of the generated one. Then we have to fill in the
30677 * cast linked list. The cast data is initially stored in something like a
30678 * two-dimensional array. Each row corresponds to a type (there are the same
30679 * number of rows as there are in the swig_type_initial array). Each entry in
30680 * a column is one of the swig_cast_info structures for that type.
30681 * The cast_initial array is actually an array of arrays, because each row has
30682 * a variable number of columns. So to actually build the cast linked list,
30683 * we find the array of casts associated with the type, and loop through it
30684 * adding the casts to the list. The one last trick we need to do is making
30685 * sure the type pointer in the swig_cast_info struct is correct.
30687 * First off, we lookup the cast->type name to see if it is already loaded.
30688 * There are three cases to handle:
30689 * 1) If the cast->type has already been loaded AND the type we are adding
30690 * casting info to has not been loaded (it is in this module), THEN we
30691 * replace the cast->type pointer with the type pointer that has already
30693 * 2) If BOTH types (the one we are adding casting info to, and the
30694 * cast->type) are loaded, THEN the cast info has already been loaded by
30695 * the previous module so we just ignore it.
30696 * 3) Finally, if cast->type has not already been loaded, then we add that
30697 * swig_cast_info to the linked list (because the cast->type) pointer will
30699 * ----------------------------------------------------------------------------- */
30709 #define SWIGRUNTIME_DEBUG
30713 SWIG_InitializeModule(void *clientdata
) {
30715 swig_module_info
*module_head
;
30716 static int init_run
= 0;
30718 clientdata
= clientdata
;
30720 if (init_run
) return;
30723 /* Initialize the swig_module */
30724 swig_module
.type_initial
= swig_type_initial
;
30725 swig_module
.cast_initial
= swig_cast_initial
;
30727 /* Try and load any already created modules */
30728 module_head
= SWIG_GetModule(clientdata
);
30730 swig_module
.next
= module_head
->next
;
30731 module_head
->next
= &swig_module
;
30733 /* This is the first module loaded */
30734 swig_module
.next
= &swig_module
;
30735 SWIG_SetModule(clientdata
, &swig_module
);
30738 /* Now work on filling in swig_module.types */
30739 #ifdef SWIGRUNTIME_DEBUG
30740 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
30742 for (i
= 0; i
< swig_module
.size
; ++i
) {
30743 swig_type_info
*type
= 0;
30744 swig_type_info
*ret
;
30745 swig_cast_info
*cast
;
30747 #ifdef SWIGRUNTIME_DEBUG
30748 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30751 /* if there is another module already loaded */
30752 if (swig_module
.next
!= &swig_module
) {
30753 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
30756 /* Overwrite clientdata field */
30757 #ifdef SWIGRUNTIME_DEBUG
30758 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
30760 if (swig_module
.type_initial
[i
]->clientdata
) {
30761 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30762 #ifdef SWIGRUNTIME_DEBUG
30763 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30767 type
= swig_module
.type_initial
[i
];
30770 /* Insert casting types */
30771 cast
= swig_module
.cast_initial
[i
];
30772 while (cast
->type
) {
30773 /* Don't need to add information already in the list */
30775 #ifdef SWIGRUNTIME_DEBUG
30776 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30778 if (swig_module
.next
!= &swig_module
) {
30779 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30780 #ifdef SWIGRUNTIME_DEBUG
30781 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30785 if (type
== swig_module
.type_initial
[i
]) {
30786 #ifdef SWIGRUNTIME_DEBUG
30787 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30792 /* Check for casting already in the list */
30793 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30794 #ifdef SWIGRUNTIME_DEBUG
30795 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30797 if (!ocast
) ret
= 0;
30802 #ifdef SWIGRUNTIME_DEBUG
30803 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30806 type
->cast
->prev
= cast
;
30807 cast
->next
= type
->cast
;
30813 /* Set entry in modules->types array equal to the type */
30814 swig_module
.types
[i
] = type
;
30816 swig_module
.types
[i
] = 0;
30818 #ifdef SWIGRUNTIME_DEBUG
30819 printf("**** SWIG_InitializeModule: Cast List ******\n");
30820 for (i
= 0; i
< swig_module
.size
; ++i
) {
30822 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30823 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30824 while (cast
->type
) {
30825 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30829 printf("---- Total casts: %d\n",j
);
30831 printf("**** SWIG_InitializeModule: Cast List ******\n");
30835 /* This function will propagate the clientdata field of type to
30836 * any new swig_type_info structures that have been added into the list
30837 * of equivalent types. It is like calling
30838 * SWIG_TypeClientData(type, clientdata) a second time.
30841 SWIG_PropagateClientData(void) {
30843 swig_cast_info
*equiv
;
30844 static int init_run
= 0;
30846 if (init_run
) return;
30849 for (i
= 0; i
< swig_module
.size
; i
++) {
30850 if (swig_module
.types
[i
]->clientdata
) {
30851 equiv
= swig_module
.types
[i
]->cast
;
30853 if (!equiv
->converter
) {
30854 if (equiv
->type
&& !equiv
->type
->clientdata
)
30855 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30857 equiv
= equiv
->next
;
30877 /* Python-specific SWIG API */
30878 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30879 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30880 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30882 /* -----------------------------------------------------------------------------
30883 * global variable support code.
30884 * ----------------------------------------------------------------------------- */
30886 typedef struct swig_globalvar
{
30887 char *name
; /* Name of global variable */
30888 PyObject
*(*get_attr
)(void); /* Return the current value */
30889 int (*set_attr
)(PyObject
*); /* Set the value */
30890 struct swig_globalvar
*next
;
30893 typedef struct swig_varlinkobject
{
30895 swig_globalvar
*vars
;
30896 } swig_varlinkobject
;
30898 SWIGINTERN PyObject
*
30899 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
30900 return PyString_FromString("<Swig global variables>");
30903 SWIGINTERN PyObject
*
30904 swig_varlink_str(swig_varlinkobject
*v
) {
30905 PyObject
*str
= PyString_FromString("(");
30906 swig_globalvar
*var
;
30907 for (var
= v
->vars
; var
; var
=var
->next
) {
30908 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
30909 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
30911 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
30916 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
30917 PyObject
*str
= swig_varlink_str(v
);
30918 fprintf(fp
,"Swig global variables ");
30919 fprintf(fp
,"%s\n", PyString_AsString(str
));
30925 swig_varlink_dealloc(swig_varlinkobject
*v
) {
30926 swig_globalvar
*var
= v
->vars
;
30928 swig_globalvar
*n
= var
->next
;
30935 SWIGINTERN PyObject
*
30936 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30937 PyObject
*res
= NULL
;
30938 swig_globalvar
*var
= v
->vars
;
30940 if (strcmp(var
->name
,n
) == 0) {
30941 res
= (*var
->get_attr
)();
30946 if (res
== NULL
&& !PyErr_Occurred()) {
30947 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30953 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30955 swig_globalvar
*var
= v
->vars
;
30957 if (strcmp(var
->name
,n
) == 0) {
30958 res
= (*var
->set_attr
)(p
);
30963 if (res
== 1 && !PyErr_Occurred()) {
30964 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30969 SWIGINTERN PyTypeObject
*
30970 swig_varlink_type(void) {
30971 static char varlink__doc__
[] = "Swig var link object";
30972 static PyTypeObject varlink_type
;
30973 static int type_init
= 0;
30975 const PyTypeObject tmp
30977 PyObject_HEAD_INIT(NULL
)
30978 0, /* Number of items in variable part (ob_size) */
30979 (char *)"swigvarlink", /* Type name (tp_name) */
30980 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30981 0, /* Itemsize (tp_itemsize) */
30982 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
30983 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30984 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30985 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30986 0, /* tp_compare */
30987 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30988 0, /* tp_as_number */
30989 0, /* tp_as_sequence */
30990 0, /* tp_as_mapping */
30993 (reprfunc
)swig_varlink_str
, /* tp_str */
30994 0, /* tp_getattro */
30995 0, /* tp_setattro */
30996 0, /* tp_as_buffer */
30998 varlink__doc__
, /* tp_doc */
30999 0, /* tp_traverse */
31001 0, /* tp_richcompare */
31002 0, /* tp_weaklistoffset */
31003 #if PY_VERSION_HEX >= 0x02020000
31004 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
31006 #if PY_VERSION_HEX >= 0x02030000
31009 #ifdef COUNT_ALLOCS
31010 0,0,0,0 /* tp_alloc -> tp_next */
31013 varlink_type
= tmp
;
31014 varlink_type
.ob_type
= &PyType_Type
;
31017 return &varlink_type
;
31020 /* Create a variable linking object for use later */
31021 SWIGINTERN PyObject
*
31022 SWIG_Python_newvarlink(void) {
31023 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
31027 return ((PyObject
*) result
);
31031 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
31032 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
31033 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
31035 size_t size
= strlen(name
)+1;
31036 gv
->name
= (char *)malloc(size
);
31038 strncpy(gv
->name
,name
,size
);
31039 gv
->get_attr
= get_attr
;
31040 gv
->set_attr
= set_attr
;
31041 gv
->next
= v
->vars
;
31047 SWIGINTERN PyObject
*
31049 static PyObject
*_SWIG_globals
= 0;
31050 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
31051 return _SWIG_globals
;
31054 /* -----------------------------------------------------------------------------
31055 * constants/methods manipulation
31056 * ----------------------------------------------------------------------------- */
31058 /* Install Constants */
31060 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
31063 for (i
= 0; constants
[i
].type
; ++i
) {
31064 switch(constants
[i
].type
) {
31065 case SWIG_PY_POINTER
:
31066 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
31068 case SWIG_PY_BINARY
:
31069 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
31076 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
31082 /* -----------------------------------------------------------------------------*/
31083 /* Fix SwigMethods to carry the callback ptrs when needed */
31084 /* -----------------------------------------------------------------------------*/
31087 SWIG_Python_FixMethods(PyMethodDef
*methods
,
31088 swig_const_info
*const_table
,
31089 swig_type_info
**types
,
31090 swig_type_info
**types_initial
) {
31092 for (i
= 0; methods
[i
].ml_name
; ++i
) {
31093 const char *c
= methods
[i
].ml_doc
;
31094 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
31096 swig_const_info
*ci
= 0;
31097 const char *name
= c
+ 10;
31098 for (j
= 0; const_table
[j
].type
; ++j
) {
31099 if (strncmp(const_table
[j
].name
, name
,
31100 strlen(const_table
[j
].name
)) == 0) {
31101 ci
= &(const_table
[j
]);
31106 size_t shift
= (ci
->ptype
) - types
;
31107 swig_type_info
*ty
= types_initial
[shift
];
31108 size_t ldoc
= (c
- methods
[i
].ml_doc
);
31109 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
31110 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
31113 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
31115 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
31117 strncpy(buff
, "swig_ptr: ", 10);
31119 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
31120 methods
[i
].ml_doc
= ndoc
;
31132 /* -----------------------------------------------------------------------------*
31133 * Partial Init method
31134 * -----------------------------------------------------------------------------*/
31139 SWIGEXPORT
void SWIG_init(void) {
31142 /* Fix SwigMethods to carry the callback ptrs when needed */
31143 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
31145 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31146 d
= PyModule_GetDict(m
);
31148 SWIG_InitializeModule(0);
31149 SWIG_InstallConstants(d
,swig_const_table
);
31152 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
31153 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
31154 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
31155 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
31156 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
31157 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
31158 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
31159 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
31160 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
31161 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
31162 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
31163 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
31164 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
31165 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
31166 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
31167 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
31168 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
31169 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
31170 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
31171 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
31172 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
31173 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
31174 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
31175 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
31176 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
31177 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
31178 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
31179 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
31180 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
31181 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
31182 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
31183 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
31184 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
31185 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
31186 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
31187 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
31188 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
31189 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
31190 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
31191 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
31192 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
31193 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
31194 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
31195 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
31196 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
31197 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
31198 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
31199 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
31200 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
31201 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
31202 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
31203 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
31204 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
31205 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
31206 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
31207 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
31208 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
31209 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
31210 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
31211 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
31212 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
31213 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
31214 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
31215 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
31216 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
31217 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
31218 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
31219 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
31220 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
31221 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
31222 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
31223 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
31224 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
31225 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
31226 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
31227 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
31228 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
31229 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
31230 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
31231 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
31232 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
31233 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
31234 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
31235 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
31236 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
31237 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
31238 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
31239 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
31240 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
31241 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
31242 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
31243 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
31244 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
31245 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
31246 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
31247 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
31248 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
31249 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
31250 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
31251 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
31252 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
31253 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
31254 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
31255 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
31256 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
31257 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
31258 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
31259 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
31260 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
31261 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
31262 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
31263 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
31264 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
31265 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
31266 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
31267 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
31268 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
31269 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
31270 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
31271 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
31272 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
31273 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
31274 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
31275 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
31276 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
31277 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
31278 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
31279 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
31280 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
31281 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
31283 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
31285 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
31286 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
31287 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
31288 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
31289 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
31290 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
31291 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
31292 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
31293 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
31294 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
31295 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
31296 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
31297 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
31298 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
31299 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
31300 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
31301 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
31302 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
31303 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
31304 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
31305 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
31306 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
31307 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
31308 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
31309 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
31310 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
31311 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
31312 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
31313 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
31314 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
31315 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
31316 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
31317 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
31318 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
31319 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
31320 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
31321 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
31322 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
31323 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
31324 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
31325 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
31326 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
31327 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
31328 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
31329 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
31330 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
31331 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
31332 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
31333 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
31334 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
31335 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
31336 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
31337 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
31338 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
31339 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
31340 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
31341 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
31342 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
31343 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
31344 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
31345 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
31346 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
31347 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
31348 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
31349 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
31350 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
31351 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
31352 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
31353 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
31354 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
31355 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
31356 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
31357 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
31358 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
31359 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
31360 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
31361 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
31362 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
31363 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
31364 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
31365 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
31366 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
31367 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
31368 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
31369 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
31370 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
31371 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
31372 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
31373 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
31374 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
31375 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
31376 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
31377 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
31378 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
31379 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
31380 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
31381 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
31382 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
31383 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
31384 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
31385 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
31386 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
31387 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
31388 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
31389 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
31390 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
31391 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
31392 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
31393 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
31394 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
31395 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
31396 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
31397 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
31398 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
31399 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
31400 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
31401 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
31402 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
31403 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
31404 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
31405 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
31406 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
31407 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
31408 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
31409 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
31410 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
31411 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
31412 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
31413 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
31414 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
31415 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
31416 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
31417 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
31418 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
31419 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
31420 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
31421 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
31422 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
31423 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
31424 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
31425 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
31426 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
31427 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
31428 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
31429 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
31430 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
31431 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
31432 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
31433 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
31434 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
31435 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
31436 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
31437 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
31438 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
31439 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
31440 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
31441 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
31442 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
31443 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
31444 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
31445 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
31446 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
31447 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
31448 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
31449 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
31450 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
31451 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
31452 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
31453 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
31454 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
31455 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
31456 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
31457 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
31458 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
31459 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
31460 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
31461 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
31462 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
31463 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
31464 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
31465 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
31466 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
31467 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
31468 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
31469 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
31470 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
31471 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
31472 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
31473 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
31474 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
31475 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
31476 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
31477 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
31478 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
31479 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
31480 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
31481 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
31482 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
31483 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
31484 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
31485 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
31486 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
31487 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
31488 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
31489 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
31490 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
31491 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
31492 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
31493 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
31494 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
31495 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
31496 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
31497 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
31498 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
31499 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
31500 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
31501 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
31502 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
31503 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
31504 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
31505 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
31506 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
31507 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
31508 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
31509 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
31510 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
31511 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
31512 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
31513 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
31514 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
31515 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
31516 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
31517 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
31518 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
31519 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
31520 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
31521 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
31522 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
31523 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
31524 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
31525 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
31526 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
31527 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
31528 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
31529 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
31530 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
31531 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
31532 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
31533 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
31534 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
31535 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
31536 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
31537 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
31538 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
31539 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
31540 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
31541 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
31542 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
31543 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
31544 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
31545 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
31546 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
31547 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
31548 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
31549 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
31550 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
31551 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
31552 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
31553 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
31554 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
31555 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
31556 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
31557 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
31558 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
31559 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
31560 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
31561 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
31562 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
31563 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
31564 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
31565 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
31566 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
31567 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
31568 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
31569 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
31570 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
31571 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
31572 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
31573 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
31574 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
31575 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
31576 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
31577 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
31578 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
31579 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
31580 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
31581 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
31582 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
31583 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
31584 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
31585 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
31586 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
31587 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
31588 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
31589 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
31590 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
31591 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
31592 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
31593 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
31594 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
31595 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
31596 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
31597 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
31598 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
31600 // Work around a chicken/egg problem in drawlist.cpp
31601 wxPyDrawList_SetAPIPtr();