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_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxColourDatabase swig_types[27]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[28]
2495 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2496 #define SWIGTYPE_p_wxControl swig_types[30]
2497 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2498 #define SWIGTYPE_p_wxCursor swig_types[32]
2499 #define SWIGTYPE_p_wxDC swig_types[33]
2500 #define SWIGTYPE_p_wxDash swig_types[34]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[35]
2502 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36]
2503 #define SWIGTYPE_p_wxDropFilesEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDuplexMode swig_types[38]
2505 #define SWIGTYPE_p_wxEffects swig_types[39]
2506 #define SWIGTYPE_p_wxEncodingConverter swig_types[40]
2507 #define SWIGTYPE_p_wxEraseEvent swig_types[41]
2508 #define SWIGTYPE_p_wxEvent swig_types[42]
2509 #define SWIGTYPE_p_wxEvtHandler swig_types[43]
2510 #define SWIGTYPE_p_wxFSFile swig_types[44]
2511 #define SWIGTYPE_p_wxFileSystem swig_types[45]
2512 #define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513 #define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514 #define SWIGTYPE_p_wxFont swig_types[48]
2515 #define SWIGTYPE_p_wxFontList swig_types[49]
2516 #define SWIGTYPE_p_wxFontMapper swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGDIObjListBase swig_types[52]
2519 #define SWIGTYPE_p_wxGDIObject swig_types[53]
2520 #define SWIGTYPE_p_wxGIFHandler swig_types[54]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[55]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[56]
2523 #define SWIGTYPE_p_wxICOHandler swig_types[57]
2524 #define SWIGTYPE_p_wxIcon swig_types[58]
2525 #define SWIGTYPE_p_wxIconBundle swig_types[59]
2526 #define SWIGTYPE_p_wxIconLocation swig_types[60]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[61]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[62]
2529 #define SWIGTYPE_p_wxImage swig_types[63]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[64]
2531 #define SWIGTYPE_p_wxImageList swig_types[65]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[66]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[67]
2534 #define SWIGTYPE_p_wxJPEGHandler swig_types[68]
2535 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
2536 #define SWIGTYPE_p_wxLanguageInfo swig_types[70]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
2538 #define SWIGTYPE_p_wxLocale swig_types[72]
2539 #define SWIGTYPE_p_wxMask swig_types[73]
2540 #define SWIGTYPE_p_wxMaximizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMemoryDC swig_types[75]
2542 #define SWIGTYPE_p_wxMenu swig_types[76]
2543 #define SWIGTYPE_p_wxMenuBar swig_types[77]
2544 #define SWIGTYPE_p_wxMenuEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMenuItem swig_types[79]
2546 #define SWIGTYPE_p_wxMetaFile swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFileDC swig_types[81]
2548 #define SWIGTYPE_p_wxMirrorDC swig_types[82]
2549 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMoveEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[87]
2554 #define SWIGTYPE_p_wxNativeFontInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativePixelData swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[90]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[93]
2560 #define SWIGTYPE_p_wxObject swig_types[94]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[95]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPaintDC swig_types[98]
2565 #define SWIGTYPE_p_wxPaintEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPalette swig_types[100]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[102]
2569 #define SWIGTYPE_p_wxPen swig_types[103]
2570 #define SWIGTYPE_p_wxPenList swig_types[104]
2571 #define SWIGTYPE_p_wxPixelDataBase swig_types[105]
2572 #define SWIGTYPE_p_wxPoint swig_types[106]
2573 #define SWIGTYPE_p_wxPostScriptDC swig_types[107]
2574 #define SWIGTYPE_p_wxPrintData swig_types[108]
2575 #define SWIGTYPE_p_wxPrinterDC swig_types[109]
2576 #define SWIGTYPE_p_wxPseudoDC swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[114]
2581 #define SWIGTYPE_p_wxPyImageHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPyLocale swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119]
2586 #define SWIGTYPE_p_wxRect swig_types[120]
2587 #define SWIGTYPE_p_wxRegion swig_types[121]
2588 #define SWIGTYPE_p_wxRegionIterator swig_types[122]
2589 #define SWIGTYPE_p_wxRendererNative swig_types[123]
2590 #define SWIGTYPE_p_wxRendererVersion swig_types[124]
2591 #define SWIGTYPE_p_wxScreenDC swig_types[125]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[126]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSetCursorEvent swig_types[128]
2595 #define SWIGTYPE_p_wxShowEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSize swig_types[130]
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSizer swig_types[132]
2599 #define SWIGTYPE_p_wxSizerItem swig_types[133]
2600 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[134]
2601 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2602 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStockGDI swig_types[137]
2604 #define SWIGTYPE_p_wxString swig_types[138]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[139]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[140]
2607 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[141]
2608 #define SWIGTYPE_p_wxValidator swig_types[142]
2609 #define SWIGTYPE_p_wxWindow swig_types[143]
2610 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[144]
2611 #define SWIGTYPE_p_wxWindowDC swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[146]
2613 #define SWIGTYPE_p_wxXPMHandler swig_types[147]
2614 static swig_type_info
*swig_types
[149];
2615 static swig_module_info swig_module
= {swig_types
, 148, 0, 0, 0, 0};
2616 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2617 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2619 /* -------- TYPES TABLE (END) -------- */
2621 #if (PY_VERSION_HEX <= 0x02000000)
2622 # if !defined(SWIG_PYTHON_CLASSIC)
2623 # error "This python version requires to use swig with the '-classic' option"
2626 #if (PY_VERSION_HEX <= 0x02020000)
2627 # error "This python version requires to use swig with the '-nomodern' option"
2629 #if (PY_VERSION_HEX <= 0x02020000)
2630 # error "This python version requires to use swig with the '-nomodernargs' option"
2633 # error "This python version requires to use swig with the '-nofastunpack' option"
2636 /*-----------------------------------------------
2637 @(target):= _gdi_.so
2638 ------------------------------------------------*/
2639 #define SWIG_init init_gdi_
2641 #define SWIG_name "_gdi_"
2643 #define SWIGVERSION 0x010329
2646 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2647 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2650 #include <stdexcept>
2654 class PyObject_ptr
{
2659 PyObject_ptr() :_obj(0)
2663 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2668 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2670 if (initial_ref
) Py_XINCREF(_obj
);
2673 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2675 Py_XINCREF(item
._obj
);
2686 operator PyObject
*() const
2691 PyObject
*operator->() const
2700 struct PyObject_var
: PyObject_ptr
{
2701 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2703 PyObject_var
& operator = (PyObject
* obj
)
2713 #include "wx/wxPython/wxPython.h"
2714 #include "wx/wxPython/pyclasses.h"
2717 static const wxString
wxPyEmptyString(wxEmptyString
);
2719 #define SWIG_From_long PyInt_FromLong
2722 SWIGINTERNINLINE PyObject
*
2723 SWIG_From_int (int value
)
2725 return SWIG_From_long (value
);
2731 # define LLONG_MIN LONG_LONG_MIN
2734 # define LLONG_MAX LONG_LONG_MAX
2737 # define ULLONG_MAX ULONG_LONG_MAX
2742 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2744 if (PyNumber_Check(obj
)) {
2745 if (val
) *val
= PyInt_AsLong(obj
);
2748 return SWIG_TypeError
;
2753 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2756 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2757 return SWIG_TypeError
;
2760 *val
= (unsigned long)v
;
2766 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2769 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2770 if (SWIG_IsOK(res
)) {
2771 if ((v
> UCHAR_MAX
)) {
2772 return SWIG_OverflowError
;
2774 if (val
) *val
= static_cast< unsigned char >(v
);
2781 SWIGINTERNINLINE PyObject
*
2782 SWIG_From_unsigned_SS_long (unsigned long value
)
2784 return (value
> LONG_MAX
) ?
2785 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_char (unsigned char value
)
2792 return SWIG_From_unsigned_SS_long (value
);
2795 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2796 wxColour temp
, *obj
= &temp
;
2797 if ( other
== Py_None
) return false;
2798 if ( ! wxColour_helper(other
, &obj
) ) {
2802 return self
->operator==(*obj
);
2804 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2805 wxColour temp
, *obj
= &temp
;
2806 if ( other
== Py_None
) return true;
2807 if ( ! wxColour_helper(other
, &obj
)) {
2811 return self
->operator!=(*obj
);
2815 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2817 if (obj
== Py_True
) {
2818 if (val
) *val
= true;
2820 } else if (obj
== Py_False
) {
2821 if (val
) *val
= false;
2825 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2826 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2831 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2832 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2836 int alpha
= wxALPHA_OPAQUE
;
2839 green
= self
->Green();
2840 blue
= self
->Blue();
2841 alpha
= self
->Alpha();
2843 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2844 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2845 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2847 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2850 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2851 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2855 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2858 int res
= SWIG_AsVal_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< int >(v
);
2869 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2871 int count
= self
->GetDashes(&dashes
);
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2873 PyObject
* retval
= PyList_New(0);
2874 for (int x
=0; x
<count
; x
++) {
2875 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2876 PyList_Append(retval
, pyint
);
2879 wxPyEndBlockThreads(blocked
);
2882 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2884 int size
= PyList_Size(pyDashes
);
2885 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2887 // black magic warning! The array of wxDashes needs to exist as
2888 // long as the pen does because wxPen does not copy the array. So
2889 // stick a copy in a Python string object and attach it to _self,
2890 // and then call SetDashes with a pointer to that array. Then
2891 // when the Python pen object is destroyed the array will be
2893 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2894 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2896 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2898 Py_DECREF(strDashes
);
2899 wxPyEndBlockThreads(blocked
);
2901 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2902 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2904 #include <wx/rawbmp.h>
2907 #include <wx/image.h>
2909 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2910 char** cArray
= NULL
;
2913 if (!PyList_Check(listOfStrings
)) {
2914 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2917 count
= PyList_Size(listOfStrings
);
2918 cArray
= new char*[count
];
2920 for(int x
=0; x
<count
; x
++) {
2921 // TODO: Need some validation and error checking here
2922 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2928 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2929 char** cArray
= NULL
;
2932 cArray
= ConvertListOfStrings(listOfStrings
);
2935 bmp
= new wxBitmap(cArray
);
2939 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2942 PyString_AsStringAndSize(bits
, &buf
, &length
);
2943 return new wxBitmap(buf
, width
, height
, depth
);
2945 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2946 wxSize
size(self
->GetWidth(), self
->GetHeight());
2949 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2950 wxMask
*mask
= new wxMask(*self
, colour
);
2951 self
->SetMask(mask
);
2953 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2954 self
->SetWidth(size
.x
);
2955 self
->SetHeight(size
.y
);
2957 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2958 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2960 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2961 // appears to me that the other platforms are already doing it, so I'll just
2962 // automatically do it for wxMSW here.
2964 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2965 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2967 #define wxPy_premultiply(p, a) (p)
2968 #define wxPy_unpremultiply(p, a) (p)
2972 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2973 buffer data
, int DATASIZE
,
2974 buffer alpha
, int ALPHASIZE
)
2976 if (DATASIZE
!= width
*height
*3) {
2977 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2981 if (ALPHASIZE
!= width
*height
) {
2982 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2986 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2987 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2989 // raise an exception...
2990 wxPyErr_SetString(PyExc_RuntimeError
,
2991 "Failed to gain raw access to bitmap data.");
2996 wxAlphaPixelData::Iterator
p(pixData
);
2997 for (int y
=0; y
<height
; y
++) {
2998 wxAlphaPixelData::Iterator rowStart
= p
;
2999 for (int x
=0; x
<width
; x
++) {
3000 byte a
= *(alpha
++);
3001 p
.Red() = wxPy_premultiply(*(data
++), a
);
3002 p
.Green() = wxPy_premultiply(*(data
++), a
);
3003 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3008 p
.OffsetY(pixData
, 1);
3013 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3015 if (DATASIZE
!= width
*height
*3) {
3016 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3020 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3021 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3023 // raise an exception...
3024 wxPyErr_SetString(PyExc_RuntimeError
,
3025 "Failed to gain raw access to bitmap data.");
3029 wxNativePixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxNativePixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 p
.Red() = *(data
++);
3034 p
.Green() = *(data
++);
3035 p
.Blue() = *(data
++);
3039 p
.OffsetY(pixData
, 1);
3045 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3047 if (DATASIZE
!= width
*height
*4) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3052 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3053 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3055 // raise an exception...
3056 wxPyErr_SetString(PyExc_RuntimeError
,
3057 "Failed to gain raw access to bitmap data.");
3062 wxAlphaPixelData::Iterator
p(pixData
);
3063 for (int y
=0; y
<height
; y
++) {
3064 wxAlphaPixelData::Iterator rowStart
= p
;
3065 for (int x
=0; x
<width
; x
++) {
3067 p
.Red() = wxPy_premultiply(*(data
++), a
);
3068 p
.Green() = wxPy_premultiply(*(data
++), a
);
3069 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3070 p
.Alpha() = a
; data
++;
3074 p
.OffsetY(pixData
, 1);
3080 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3082 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3083 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3084 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3086 self
->Green() = green
;
3087 self
->Blue() = blue
;
3089 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3090 PyObject
* rv
= PyTuple_New(3);
3091 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3092 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3093 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3097 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3099 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3100 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3101 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3102 self
->Red() = wxPy_premultiply(red
, alpha
);
3103 self
->Green() = wxPy_premultiply(green
, alpha
);
3104 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3105 self
->Alpha() = alpha
;
3107 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3108 PyObject
* rv
= PyTuple_New(4);
3109 int red
= self
->Red();
3110 int green
= self
->Green();
3111 int blue
= self
->Blue();
3112 int alpha
= self
->Alpha();
3114 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3115 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3116 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3117 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3120 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3122 return new wxMask(bitmap
, *wxBLACK
);
3124 return new wxMask(bitmap
, colour
);
3127 #include <wx/iconbndl.h>
3129 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3130 wxIcon
* icon
= new wxIcon();
3131 icon
->CopyFromBitmap(bmp
);
3134 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3135 char** cArray
= NULL
;
3138 cArray
= ConvertListOfStrings(listOfStrings
);
3141 icon
= new wxIcon(cArray
);
3145 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3149 return new wxIconLocation(*filename
);
3152 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3159 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3166 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3168 wxImage
img(cursorName
, type
);
3169 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3170 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3171 return new wxCursor(img
);
3173 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3178 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3181 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3182 return self
->operator bool();
3185 #include <wx/fontutil.h>
3186 #include <wx/fontmap.h>
3187 #include <wx/fontenum.h>
3189 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3190 return self
->ToString();
3193 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3194 static wxNativeEncodingInfo info
;
3195 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3202 SWIGINTERNINLINE PyObject
*
3203 SWIG_From_size_t (size_t value
)
3205 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3209 SWIGINTERNINLINE
int
3210 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3213 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3214 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3218 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3219 wxFontEncoding alt_enc
;
3220 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3221 return PyInt_FromLong(alt_enc
);
3227 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3228 wxNativeFontInfo nfi
;
3229 nfi
.FromString(info
);
3230 return new wxFont(nfi
);
3232 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3233 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3235 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3236 return wxFontBase::New(pixelSize
, family
,
3237 style
, weight
, underlined
,
3240 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3241 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3243 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3244 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3246 class wxPyFontEnumerator
: public wxFontEnumerator
{
3248 wxPyFontEnumerator() {}
3249 ~wxPyFontEnumerator() {}
3251 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3252 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3257 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3258 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3261 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3263 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3264 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3265 ret
= wxArrayString2PyList_helper(arr
);
3266 wxPyEndBlockThreads(blocked
);
3269 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3271 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3272 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3273 ret
= wxArrayString2PyList_helper(arr
);
3274 wxPyEndBlockThreads(blocked
);
3280 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3283 loc
= new wxLocale();
3285 loc
= new wxLocale(language
, flags
);
3286 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3287 // for the floating point conversions and such to work right.
3288 #if PY_VERSION_HEX < 0x02040000
3289 setlocale(LC_NUMERIC
, "C");
3293 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3294 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3295 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3296 // for the floating point conversions and such to work right.
3297 #if PY_VERSION_HEX < 0x02040000
3298 setlocale(LC_NUMERIC
, "C");
3302 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3303 bool rc
= self
->Init(language
, flags
);
3304 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3305 // for the floating point conversions and such to work right.
3306 #if PY_VERSION_HEX < 0x02040000
3307 setlocale(LC_NUMERIC
, "C");
3312 class wxPyLocale
: public wxLocale
3317 wxPyLocale(const wxChar
*szName
, // name (for messages)
3318 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3319 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3320 bool bLoadDefault
= true, // preload wxstd.mo?
3321 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3323 wxPyLocale(int language
, // wxLanguage id or custom language
3324 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3328 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3329 const wxChar
*szDomain
= NULL
) const;
3330 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3331 const wxChar
*szOrigString2
, size_t n
,
3332 const wxChar
*szDomain
= NULL
) const;
3334 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3335 const wxChar
*szDomain
= NULL
) const;
3336 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3337 const wxChar
*szOrigString2
, size_t n
,
3338 const wxChar
*szDomain
= NULL
) const;
3342 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3345 wxPyLocale::wxPyLocale() : wxLocale()
3349 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3350 const wxChar
*szShort
, // dir prefix (for msg files)
3351 const wxChar
*szLocale
, // locale (for setlocale)
3352 bool bLoadDefault
, // preload wxstd.mo?
3353 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3354 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3358 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3359 int flags
) : wxLocale(language
, flags
)
3363 wxPyLocale::~wxPyLocale()
3367 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3368 const wxChar
*szDomain
) const
3370 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3371 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3374 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3375 const wxChar
*szOrigString2
, size_t n
,
3376 const wxChar
*szDomain
) const
3378 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3379 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3382 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3383 const wxChar
*szDomain
) const
3386 static wxString str
;
3387 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3388 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3389 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3390 PyObject
* param1
= wx2PyString(szOrigString
);
3391 PyObject
* param2
= wx2PyString(szDomain
);
3392 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3396 str
= Py2wxString(ret
);
3400 wxPyEndBlockThreads(blocked
);
3401 return (found
? (wxChar
*)str
.c_str() : NULL
);
3404 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3405 const wxChar
*szOrigString2
, size_t n
,
3406 const wxChar
*szDomain
) const
3409 static wxString str
;
3410 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3411 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3412 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3413 PyObject
* param1
= wx2PyString(szOrigString
);
3414 PyObject
* param2
= wx2PyString(szOrigString2
);
3415 PyObject
* param4
= wx2PyString(szDomain
);
3416 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3421 str
= Py2wxString(ret
);
3425 wxPyEndBlockThreads(blocked
);
3426 return (found
? (wxChar
*)str
.c_str() : NULL
);
3429 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3432 loc
= new wxPyLocale();
3434 loc
= new wxPyLocale(language
, flags
);
3435 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3436 // for the floating point conversions and such to work right.
3437 #if PY_VERSION_HEX < 0x02040000
3438 setlocale(LC_NUMERIC
, "C");
3443 #include "wx/wxPython/pydrawxxx.h"
3445 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3447 self
->GetPixel(x
, y
, &col
);
3450 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3452 self
->GetPixel(pt
, &col
);
3457 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3459 if (PyNumber_Check(obj
)) {
3460 if (val
) *val
= PyFloat_AsDouble(obj
);
3463 return SWIG_TypeError
;
3466 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3468 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3471 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3473 self
->GetClippingBox(rect
);
3476 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3478 self
->GetPartialTextExtents(text
, widths
);
3482 #define SWIG_From_double PyFloat_FromDouble
3484 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3485 self
->SetLogicalOrigin(point
.x
, point
.y
);
3487 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3488 self
->SetDeviceOrigin(point
.x
, point
.y
);
3490 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3491 self
->CalcBoundingBox(point
.x
, point
.y
);
3493 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3494 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3496 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3497 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3499 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3500 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3502 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3503 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3505 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3506 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3508 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3509 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3512 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3520 #include <wx/dcbuffer.h>
3523 #include <wx/dcps.h>
3526 class wxMetaFile
: public wxObject
{
3528 wxMetaFile(const wxString
&)
3529 { wxPyRaiseNotImplemented(); }
3532 class wxMetaFileDC
: public wxClientDC
{
3534 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3535 { wxPyRaiseNotImplemented(); }
3540 class wxPrinterDC
: public wxClientDC
{
3542 wxPrinterDC(const wxPrintData
&)
3543 { wxPyRaiseNotImplemented(); }
3549 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3550 self
->AddColour(name
, wxColour(red
, green
, blue
));
3553 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3554 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3555 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3556 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3559 #include <wx/effects.h>
3562 #include "wx/renderer.h"
3565 SWIGINTERNINLINE PyObject
*
3566 SWIG_From_bool (bool value
)
3568 return PyBool_FromLong(value
? 1 : 0);
3572 #include "wx/wxPython/pseudodc.h"
3574 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3576 self
->GetIdBounds(id
, rect
);
3582 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3583 PyObject
*resultobj
= 0;
3584 wxGDIObject
*result
= 0 ;
3586 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3588 if (!wxPyCheckForApp()) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (wxGDIObject
*)new wxGDIObject();
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3601 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3602 PyObject
*resultobj
= 0;
3603 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3606 PyObject
*swig_obj
[1] ;
3608 if (!args
) SWIG_fail
;
3610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3611 if (!SWIG_IsOK(res1
)) {
3612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3614 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_Py_Void();
3629 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3630 PyObject
*resultobj
= 0;
3631 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3635 PyObject
*swig_obj
[1] ;
3637 if (!args
) SWIG_fail
;
3639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3640 if (!SWIG_IsOK(res1
)) {
3641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3643 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)(arg1
)->IsNull();
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3659 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3662 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3663 return SWIG_Py_Void();
3666 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3667 return SWIG_Python_InitShadowInstance(args
);
3670 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
= 0;
3672 byte arg1
= (byte
) 0 ;
3673 byte arg2
= (byte
) 0 ;
3674 byte arg3
= (byte
) 0 ;
3675 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3676 wxColour
*result
= 0 ;
3677 unsigned char val1
;
3679 unsigned char val2
;
3681 unsigned char val3
;
3683 unsigned char val4
;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3687 PyObject
* obj2
= 0 ;
3688 PyObject
* obj3
= 0 ;
3689 char * kwnames
[] = {
3690 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3695 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3696 if (!SWIG_IsOK(ecode1
)) {
3697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3699 arg1
= static_cast< byte
>(val1
);
3702 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3703 if (!SWIG_IsOK(ecode2
)) {
3704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3706 arg2
= static_cast< byte
>(val2
);
3709 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3710 if (!SWIG_IsOK(ecode3
)) {
3711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3713 arg3
= static_cast< byte
>(val3
);
3716 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3717 if (!SWIG_IsOK(ecode4
)) {
3718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3720 arg4
= static_cast< byte
>(val4
);
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3735 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
= 0;
3737 wxString
*arg1
= 0 ;
3738 wxColour
*result
= 0 ;
3739 bool temp1
= false ;
3740 PyObject
* obj0
= 0 ;
3741 char * kwnames
[] = {
3742 (char *) "colorName", NULL
3745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3747 arg1
= wxString_in_helper(obj0
);
3748 if (arg1
== NULL
) SWIG_fail
;
3752 if (!wxPyCheckForApp()) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3773 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
= 0;
3775 unsigned long arg1
;
3776 wxColour
*result
= 0 ;
3777 unsigned long val1
;
3779 PyObject
* obj0
= 0 ;
3780 char * kwnames
[] = {
3781 (char *) "colRGB", NULL
3784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3785 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3786 if (!SWIG_IsOK(ecode1
)) {
3787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3789 arg1
= static_cast< unsigned long >(val1
);
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (wxColour
*)new wxColour(arg1
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3803 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3804 PyObject
*resultobj
= 0;
3805 wxColour
*arg1
= (wxColour
*) 0 ;
3808 PyObject
*swig_obj
[1] ;
3810 if (!args
) SWIG_fail
;
3812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3813 if (!SWIG_IsOK(res1
)) {
3814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3816 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_Py_Void();
3831 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3832 PyObject
*resultobj
= 0;
3833 wxColour
*arg1
= (wxColour
*) 0 ;
3837 PyObject
*swig_obj
[1] ;
3839 if (!args
) SWIG_fail
;
3841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3842 if (!SWIG_IsOK(res1
)) {
3843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3845 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (byte
)(arg1
)->Red();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3859 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxColour
*arg1
= (wxColour
*) 0 ;
3865 PyObject
*swig_obj
[1] ;
3867 if (!args
) SWIG_fail
;
3869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3870 if (!SWIG_IsOK(res1
)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3873 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (byte
)(arg1
)->Green();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3887 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3888 PyObject
*resultobj
= 0;
3889 wxColour
*arg1
= (wxColour
*) 0 ;
3893 PyObject
*swig_obj
[1] ;
3895 if (!args
) SWIG_fail
;
3897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3898 if (!SWIG_IsOK(res1
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3901 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (byte
)(arg1
)->Blue();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3915 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3916 PyObject
*resultobj
= 0;
3917 wxColour
*arg1
= (wxColour
*) 0 ;
3921 PyObject
*swig_obj
[1] ;
3923 if (!args
) SWIG_fail
;
3925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3926 if (!SWIG_IsOK(res1
)) {
3927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3929 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (byte
)(arg1
)->Alpha();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3943 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3944 PyObject
*resultobj
= 0;
3945 wxColour
*arg1
= (wxColour
*) 0 ;
3949 PyObject
*swig_obj
[1] ;
3951 if (!args
) SWIG_fail
;
3953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3954 if (!SWIG_IsOK(res1
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3957 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (bool)(arg1
)->Ok();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3973 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
= 0;
3975 wxColour
*arg1
= (wxColour
*) 0 ;
3979 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3982 unsigned char val2
;
3984 unsigned char val3
;
3986 unsigned char val4
;
3988 unsigned char val5
;
3990 PyObject
* obj0
= 0 ;
3991 PyObject
* obj1
= 0 ;
3992 PyObject
* obj2
= 0 ;
3993 PyObject
* obj3
= 0 ;
3994 PyObject
* obj4
= 0 ;
3995 char * kwnames
[] = {
3996 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4001 if (!SWIG_IsOK(res1
)) {
4002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4004 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4005 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4006 if (!SWIG_IsOK(ecode2
)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4009 arg2
= static_cast< byte
>(val2
);
4010 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4011 if (!SWIG_IsOK(ecode3
)) {
4012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4014 arg3
= static_cast< byte
>(val3
);
4015 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4016 if (!SWIG_IsOK(ecode4
)) {
4017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4019 arg4
= static_cast< byte
>(val4
);
4021 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4022 if (!SWIG_IsOK(ecode5
)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4025 arg5
= static_cast< byte
>(val5
);
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_Py_Void();
4040 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
= 0;
4042 wxColour
*arg1
= (wxColour
*) 0 ;
4043 unsigned long arg2
;
4046 unsigned long val2
;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4050 char * kwnames
[] = {
4051 (char *) "self",(char *) "colRGB", NULL
4054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4059 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4060 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4061 if (!SWIG_IsOK(ecode2
)) {
4062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4064 arg2
= static_cast< unsigned long >(val2
);
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_Py_Void();
4078 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
= 0;
4080 wxColour
*arg1
= (wxColour
*) 0 ;
4081 wxString
*arg2
= 0 ;
4084 bool temp2
= false ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4087 char * kwnames
[] = {
4088 (char *) "self",(char *) "colourName", NULL
4091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4093 if (!SWIG_IsOK(res1
)) {
4094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4096 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4098 arg2
= wxString_in_helper(obj1
);
4099 if (arg2
== NULL
) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 (arg1
)->InitFromName((wxString
const &)*arg2
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= SWIG_Py_Void();
4123 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
= 0;
4125 wxColour
*arg1
= (wxColour
*) 0 ;
4126 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4134 char * kwnames
[] = {
4135 (char *) "self",(char *) "flags", NULL
4138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4140 if (!SWIG_IsOK(res1
)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4143 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4146 if (!SWIG_IsOK(ecode2
)) {
4147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4149 arg2
= static_cast< long >(val2
);
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4170 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4171 PyObject
*resultobj
= 0;
4172 wxColour
*arg1
= (wxColour
*) 0 ;
4176 PyObject
*swig_obj
[1] ;
4178 if (!args
) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4184 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_From_long(static_cast< long >(result
));
4198 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
= 0;
4200 wxColour
*arg1
= (wxColour
*) 0 ;
4201 PyObject
*arg2
= (PyObject
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4206 PyObject
* obj1
= 0 ;
4207 char * kwnames
[] = {
4208 (char *) "self",(char *) "other", NULL
4211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4213 if (!SWIG_IsOK(res1
)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4216 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4219 result
= (bool)wxColour___eq__(arg1
,arg2
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4231 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxColour
*arg1
= (wxColour
*) 0 ;
4234 PyObject
*arg2
= (PyObject
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4239 PyObject
* obj1
= 0 ;
4240 char * kwnames
[] = {
4241 (char *) "self",(char *) "other", NULL
4244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4246 if (!SWIG_IsOK(res1
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4249 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4252 result
= (bool)wxColour___ne__(arg1
,arg2
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4264 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
= 0;
4266 wxColour
*arg1
= (wxColour
*) 0 ;
4267 bool arg2
= (bool) false ;
4268 PyObject
*result
= 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 char * kwnames
[] = {
4276 (char *) "self",(char *) "includeAlpha", NULL
4279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4284 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4286 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4287 if (!SWIG_IsOK(ecode2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4290 arg2
= static_cast< bool >(val2
);
4293 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4303 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4304 PyObject
*resultobj
= 0;
4305 wxColour
*arg1
= (wxColour
*) 0 ;
4306 unsigned long result
;
4309 PyObject
*swig_obj
[1] ;
4311 if (!args
) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4317 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4319 result
= (unsigned long)wxColour_GetRGB(arg1
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4329 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4332 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4333 return SWIG_Py_Void();
4336 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 return SWIG_Python_InitShadowInstance(args
);
4340 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
= 0;
4343 unsigned char *arg2
= (unsigned char *) 0 ;
4344 unsigned char *arg3
= (unsigned char *) 0 ;
4345 unsigned char *arg4
= (unsigned char *) 0 ;
4346 wxPalette
*result
= 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4357 PyObject
* obj2
= 0 ;
4358 PyObject
* obj3
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4365 if (!SWIG_IsOK(ecode1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4368 arg1
= static_cast< int >(val1
);
4369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4370 if (!SWIG_IsOK(res2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4373 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4374 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4375 if (!SWIG_IsOK(res3
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4378 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4379 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4380 if (!SWIG_IsOK(res4
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4383 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4385 if (!wxPyCheckForApp()) SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4398 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4399 PyObject
*resultobj
= 0;
4400 wxPalette
*arg1
= (wxPalette
*) 0 ;
4403 PyObject
*swig_obj
[1] ;
4405 if (!args
) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4411 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= SWIG_Py_Void();
4426 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
= 0;
4428 wxPalette
*arg1
= (wxPalette
*) 0 ;
4435 unsigned char val2
;
4437 unsigned char val3
;
4439 unsigned char val4
;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj2
= 0 ;
4444 PyObject
* obj3
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4454 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4455 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4459 arg2
= static_cast< byte
>(val2
);
4460 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4464 arg3
= static_cast< byte
>(val3
);
4465 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4466 if (!SWIG_IsOK(ecode4
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4469 arg4
= static_cast< byte
>(val4
);
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_From_int(static_cast< int >(result
));
4483 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= 0;
4485 wxPalette
*arg1
= (wxPalette
*) 0 ;
4487 byte
*arg3
= (byte
*) 0 ;
4488 byte
*arg4
= (byte
*) 0 ;
4489 byte
*arg5
= (byte
*) 0 ;
4496 int res3
= SWIG_TMPOBJ
;
4498 int res4
= SWIG_TMPOBJ
;
4500 int res5
= SWIG_TMPOBJ
;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4503 char * kwnames
[] = {
4504 (char *) "self",(char *) "pixel", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4512 if (!SWIG_IsOK(res1
)) {
4513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4515 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4517 if (!SWIG_IsOK(ecode2
)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4520 arg2
= static_cast< int >(val2
);
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4530 if (SWIG_IsTmpObj(res3
)) {
4531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4533 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4536 if (SWIG_IsTmpObj(res4
)) {
4537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4539 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4542 if (SWIG_IsTmpObj(res5
)) {
4543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4545 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4554 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4555 PyObject
*resultobj
= 0;
4556 wxPalette
*arg1
= (wxPalette
*) 0 ;
4560 PyObject
*swig_obj
[1] ;
4562 if (!args
) SWIG_fail
;
4564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4565 if (!SWIG_IsOK(res1
)) {
4566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4568 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= SWIG_From_int(static_cast< int >(result
));
4582 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4583 PyObject
*resultobj
= 0;
4584 wxPalette
*arg1
= (wxPalette
*) 0 ;
4588 PyObject
*swig_obj
[1] ;
4590 if (!args
) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4596 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (bool)(arg1
)->Ok();
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4612 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4615 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4616 return SWIG_Py_Void();
4619 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 return SWIG_Python_InitShadowInstance(args
);
4623 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
= 0;
4625 wxColour
*arg1
= 0 ;
4626 int arg2
= (int) 1 ;
4627 int arg3
= (int) wxSOLID
;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4636 PyObject
* obj2
= 0 ;
4637 char * kwnames
[] = {
4638 (char *) "colour",(char *) "width",(char *) "style", NULL
4641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4644 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4648 if (!SWIG_IsOK(ecode2
)) {
4649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4651 arg2
= static_cast< int >(val2
);
4654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4655 if (!SWIG_IsOK(ecode3
)) {
4656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4658 arg3
= static_cast< int >(val3
);
4661 if (!wxPyCheckForApp()) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4674 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4675 PyObject
*resultobj
= 0;
4676 wxPen
*arg1
= (wxPen
*) 0 ;
4679 PyObject
*swig_obj
[1] ;
4681 if (!args
) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4687 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_Py_Void();
4702 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4703 PyObject
*resultobj
= 0;
4704 wxPen
*arg1
= (wxPen
*) 0 ;
4708 PyObject
*swig_obj
[1] ;
4710 if (!args
) SWIG_fail
;
4712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4713 if (!SWIG_IsOK(res1
)) {
4714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4716 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (int)(arg1
)->GetCap();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_From_int(static_cast< int >(result
));
4730 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4731 PyObject
*resultobj
= 0;
4732 wxPen
*arg1
= (wxPen
*) 0 ;
4736 PyObject
*swig_obj
[1] ;
4738 if (!args
) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4744 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (arg1
)->GetColour();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4758 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4759 PyObject
*resultobj
= 0;
4760 wxPen
*arg1
= (wxPen
*) 0 ;
4764 PyObject
*swig_obj
[1] ;
4766 if (!args
) SWIG_fail
;
4768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4769 if (!SWIG_IsOK(res1
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4772 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (int)(arg1
)->GetJoin();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_From_int(static_cast< int >(result
));
4786 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4787 PyObject
*resultobj
= 0;
4788 wxPen
*arg1
= (wxPen
*) 0 ;
4792 PyObject
*swig_obj
[1] ;
4794 if (!args
) SWIG_fail
;
4796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4797 if (!SWIG_IsOK(res1
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4800 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (int)(arg1
)->GetStyle();
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_From_int(static_cast< int >(result
));
4814 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4815 PyObject
*resultobj
= 0;
4816 wxPen
*arg1
= (wxPen
*) 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4828 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (int)(arg1
)->GetWidth();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_From_int(static_cast< int >(result
));
4842 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4843 PyObject
*resultobj
= 0;
4844 wxPen
*arg1
= (wxPen
*) 0 ;
4848 PyObject
*swig_obj
[1] ;
4850 if (!args
) SWIG_fail
;
4852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4853 if (!SWIG_IsOK(res1
)) {
4854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4856 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (bool)(arg1
)->Ok();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4872 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
= 0;
4874 wxPen
*arg1
= (wxPen
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 char * kwnames
[] = {
4883 (char *) "self",(char *) "cap_style", NULL
4886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4891 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4893 if (!SWIG_IsOK(ecode2
)) {
4894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4896 arg2
= static_cast< int >(val2
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 (arg1
)->SetCap(arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_Py_Void();
4910 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
= 0;
4912 wxPen
*arg1
= (wxPen
*) 0 ;
4913 wxColour
*arg2
= 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 char * kwnames
[] = {
4920 (char *) "self",(char *) "colour", NULL
4923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4925 if (!SWIG_IsOK(res1
)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4928 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 (arg1
)->SetColour(*arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_Py_Void();
4946 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
= 0;
4948 wxPen
*arg1
= (wxPen
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4956 char * kwnames
[] = {
4957 (char *) "self",(char *) "join_style", NULL
4960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4962 if (!SWIG_IsOK(res1
)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4965 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4967 if (!SWIG_IsOK(ecode2
)) {
4968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4970 arg2
= static_cast< int >(val2
);
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 (arg1
)->SetJoin(arg2
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= SWIG_Py_Void();
4984 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
= 0;
4986 wxPen
*arg1
= (wxPen
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4994 char * kwnames
[] = {
4995 (char *) "self",(char *) "style", NULL
4998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5003 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5005 if (!SWIG_IsOK(ecode2
)) {
5006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5008 arg2
= static_cast< int >(val2
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->SetStyle(arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
= 0;
5024 wxPen
*arg1
= (wxPen
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "width", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5041 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5043 if (!SWIG_IsOK(ecode2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5046 arg2
= static_cast< int >(val2
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->SetWidth(arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_Py_Void();
5060 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxPen
*arg1
= (wxPen
*) 0 ;
5064 wxDash
*arg3
= (wxDash
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 char * kwnames
[] = {
5070 (char *) "self",(char *) "dashes", NULL
5073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5078 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5080 arg2
= PyList_Size(obj1
);
5081 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5082 if (arg3
== NULL
) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetDashes(arg2
,arg3
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_Py_Void();
5092 if (arg3
) delete [] arg3
;
5097 if (arg3
) delete [] arg3
;
5103 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5104 PyObject
*resultobj
= 0;
5105 wxPen
*arg1
= (wxPen
*) 0 ;
5106 PyObject
*result
= 0 ;
5109 PyObject
*swig_obj
[1] ;
5111 if (!args
) SWIG_fail
;
5113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5114 if (!SWIG_IsOK(res1
)) {
5115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5117 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5131 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxPen
*arg1
= (wxPen
*) 0 ;
5134 PyObject
*arg2
= (PyObject
*) 0 ;
5135 PyObject
*arg3
= (PyObject
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 PyObject
* obj2
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5150 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 wxPen__SetDashes(arg1
,arg2
,arg3
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxPen
*arg1
= (wxPen
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5180 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_From_int(static_cast< int >(result
));
5194 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxPen
*arg1
= (wxPen
*) 0 ;
5197 wxPen
*arg2
= (wxPen
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 char * kwnames
[] = {
5206 (char *) "self",(char *) "other", NULL
5209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5211 if (!SWIG_IsOK(res1
)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5214 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5216 if (!SWIG_IsOK(res2
)) {
5217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5219 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5235 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= 0;
5237 wxPen
*arg1
= (wxPen
*) 0 ;
5238 wxPen
*arg2
= (wxPen
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5246 char * kwnames
[] = {
5247 (char *) "self",(char *) "other", NULL
5250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5252 if (!SWIG_IsOK(res1
)) {
5253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5255 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5257 if (!SWIG_IsOK(res2
)) {
5258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5260 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5279 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5280 return SWIG_Py_Void();
5283 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5284 return SWIG_Python_InitShadowInstance(args
);
5287 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
= 0;
5289 wxColour
*arg1
= 0 ;
5290 int arg2
= (int) wxSOLID
;
5291 wxBrush
*result
= 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 char * kwnames
[] = {
5298 (char *) "colour",(char *) "style", NULL
5301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5304 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5308 if (!SWIG_IsOK(ecode2
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5311 arg2
= static_cast< int >(val2
);
5314 if (!wxPyCheckForApp()) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5327 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
= 0;
5329 wxBitmap
*arg1
= 0 ;
5330 wxBrush
*result
= 0 ;
5333 PyObject
* obj0
= 0 ;
5334 char * kwnames
[] = {
5335 (char *) "stippleBitmap", NULL
5338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5339 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5340 if (!SWIG_IsOK(res1
)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5346 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5348 if (!wxPyCheckForApp()) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5361 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5362 PyObject
*resultobj
= 0;
5363 wxBrush
*arg1
= (wxBrush
*) 0 ;
5366 PyObject
*swig_obj
[1] ;
5368 if (!args
) SWIG_fail
;
5370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5371 if (!SWIG_IsOK(res1
)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5374 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_Py_Void();
5389 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
= 0;
5391 wxBrush
*arg1
= (wxBrush
*) 0 ;
5392 wxColour
*arg2
= 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "self",(char *) "col", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5407 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 (arg1
)->SetColour((wxColour
const &)*arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_Py_Void();
5425 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5427 wxBrush
*arg1
= (wxBrush
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "self",(char *) "style", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5441 if (!SWIG_IsOK(res1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5444 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5446 if (!SWIG_IsOK(ecode2
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5449 arg2
= static_cast< int >(val2
);
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->SetStyle(arg2
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_Py_Void();
5463 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
= 0;
5465 wxBrush
*arg1
= (wxBrush
*) 0 ;
5466 wxBitmap
*arg2
= 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5473 char * kwnames
[] = {
5474 (char *) "self",(char *) "stipple", NULL
5477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5479 if (!SWIG_IsOK(res1
)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5482 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5484 if (!SWIG_IsOK(res2
)) {
5485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5490 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_Py_Void();
5504 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 PyObject
*resultobj
= 0;
5506 wxBrush
*arg1
= (wxBrush
*) 0 ;
5510 PyObject
*swig_obj
[1] ;
5512 if (!args
) SWIG_fail
;
5514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5515 if (!SWIG_IsOK(res1
)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5518 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= ((wxBrush
const *)arg1
)->GetColour();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5532 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5533 PyObject
*resultobj
= 0;
5534 wxBrush
*arg1
= (wxBrush
*) 0 ;
5538 PyObject
*swig_obj
[1] ;
5540 if (!args
) SWIG_fail
;
5542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5543 if (!SWIG_IsOK(res1
)) {
5544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5546 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_From_int(static_cast< int >(result
));
5560 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5561 PyObject
*resultobj
= 0;
5562 wxBrush
*arg1
= (wxBrush
*) 0 ;
5563 wxBitmap
*result
= 0 ;
5566 PyObject
*swig_obj
[1] ;
5568 if (!args
) SWIG_fail
;
5570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5571 if (!SWIG_IsOK(res1
)) {
5572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5574 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5588 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5589 PyObject
*resultobj
= 0;
5590 wxBrush
*arg1
= (wxBrush
*) 0 ;
5594 PyObject
*swig_obj
[1] ;
5596 if (!args
) SWIG_fail
;
5598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5599 if (!SWIG_IsOK(res1
)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5602 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5618 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5619 PyObject
*resultobj
= 0;
5620 wxBrush
*arg1
= (wxBrush
*) 0 ;
5624 PyObject
*swig_obj
[1] ;
5626 if (!args
) SWIG_fail
;
5628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5629 if (!SWIG_IsOK(res1
)) {
5630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5632 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (bool)(arg1
)->Ok();
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5648 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5651 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5652 return SWIG_Py_Void();
5655 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 return SWIG_Python_InitShadowInstance(args
);
5659 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
= 0;
5661 wxString
*arg1
= 0 ;
5662 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5663 wxBitmap
*result
= 0 ;
5664 bool temp1
= false ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5669 char * kwnames
[] = {
5670 (char *) "name",(char *) "type", NULL
5673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5675 arg1
= wxString_in_helper(obj0
);
5676 if (arg1
== NULL
) SWIG_fail
;
5680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5681 if (!SWIG_IsOK(ecode2
)) {
5682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5684 arg2
= static_cast< wxBitmapType
>(val2
);
5687 if (!wxPyCheckForApp()) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5708 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5709 PyObject
*resultobj
= 0;
5710 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5721 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_Py_Void();
5734 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
= 0;
5738 int arg3
= (int) -1 ;
5739 wxBitmap
*result
= 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 PyObject
* obj2
= 0 ;
5749 char * kwnames
[] = {
5750 (char *) "width",(char *) "height",(char *) "depth", NULL
5753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5755 if (!SWIG_IsOK(ecode1
)) {
5756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5758 arg1
= static_cast< int >(val1
);
5759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5760 if (!SWIG_IsOK(ecode2
)) {
5761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5763 arg2
= static_cast< int >(val2
);
5765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5766 if (!SWIG_IsOK(ecode3
)) {
5767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5769 arg3
= static_cast< int >(val3
);
5772 if (!wxPyCheckForApp()) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5785 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
= 0;
5788 wxBitmap
*result
= 0 ;
5791 PyObject
* obj0
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "icon", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5797 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5798 if (!SWIG_IsOK(res1
)) {
5799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5804 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5806 if (!wxPyCheckForApp()) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5819 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
= 0;
5822 int arg2
= (int) -1 ;
5823 wxBitmap
*result
= 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5830 char * kwnames
[] = {
5831 (char *) "image",(char *) "depth", NULL
5834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5835 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5836 if (!SWIG_IsOK(res1
)) {
5837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5842 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5845 if (!SWIG_IsOK(ecode2
)) {
5846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5848 arg2
= static_cast< int >(val2
);
5851 if (!wxPyCheckForApp()) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5864 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
= 0;
5866 PyObject
*arg1
= (PyObject
*) 0 ;
5867 wxBitmap
*result
= 0 ;
5868 PyObject
* obj0
= 0 ;
5869 char * kwnames
[] = {
5870 (char *) "listOfStrings", NULL
5873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5876 if (!wxPyCheckForApp()) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5889 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
= 0;
5891 PyObject
*arg1
= (PyObject
*) 0 ;
5894 int arg4
= (int) 1 ;
5895 wxBitmap
*result
= 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5904 PyObject
* obj2
= 0 ;
5905 PyObject
* obj3
= 0 ;
5906 char * kwnames
[] = {
5907 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5913 if (!SWIG_IsOK(ecode2
)) {
5914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5916 arg2
= static_cast< int >(val2
);
5917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5918 if (!SWIG_IsOK(ecode3
)) {
5919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5921 arg3
= static_cast< int >(val3
);
5923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5924 if (!SWIG_IsOK(ecode4
)) {
5925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5927 arg4
= static_cast< int >(val4
);
5930 if (!wxPyCheckForApp()) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5943 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5944 PyObject
*resultobj
= 0;
5945 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5949 PyObject
*swig_obj
[1] ;
5951 if (!args
) SWIG_fail
;
5953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5954 if (!SWIG_IsOK(res1
)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5957 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5959 result
= (bool)(arg1
)->Ok();
5960 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5971 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5972 PyObject
*resultobj
= 0;
5973 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5977 PyObject
*swig_obj
[1] ;
5979 if (!args
) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5985 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5987 result
= (int)(arg1
)->GetWidth();
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_From_int(static_cast< int >(result
));
5997 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5998 PyObject
*resultobj
= 0;
5999 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6003 PyObject
*swig_obj
[1] ;
6005 if (!args
) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6011 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6013 result
= (int)(arg1
)->GetHeight();
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_From_int(static_cast< int >(result
));
6023 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6024 PyObject
*resultobj
= 0;
6025 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6029 PyObject
*swig_obj
[1] ;
6031 if (!args
) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6037 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6039 result
= (int)(arg1
)->GetDepth();
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_From_int(static_cast< int >(result
));
6049 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 PyObject
*resultobj
= 0;
6051 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6055 PyObject
*swig_obj
[1] ;
6057 if (!args
) SWIG_fail
;
6059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6060 if (!SWIG_IsOK(res1
)) {
6061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6063 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6065 result
= wxBitmap_GetSize(arg1
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6075 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6076 PyObject
*resultobj
= 0;
6077 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6078 SwigValueWrapper
<wxImage
> result
;
6081 PyObject
*swig_obj
[1] ;
6083 if (!args
) SWIG_fail
;
6085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6086 if (!SWIG_IsOK(res1
)) {
6087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6089 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6091 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6101 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6104 wxMask
*result
= 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6115 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6117 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6127 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
= 0;
6129 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6130 wxMask
*arg2
= (wxMask
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6136 char * kwnames
[] = {
6137 (char *) "self",(char *) "mask", NULL
6140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6142 if (!SWIG_IsOK(res1
)) {
6143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6145 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6146 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6147 if (!SWIG_IsOK(res2
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6151 (arg1
)->SetMask(arg2
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_Py_Void();
6161 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= 0;
6163 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6164 wxColour
*arg2
= 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 char * kwnames
[] = {
6171 (char *) "self",(char *) "colour", NULL
6174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6179 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6185 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6197 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6199 SwigValueWrapper
<wxBitmap
> result
;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 char * kwnames
[] = {
6206 (char *) "self",(char *) "rect", NULL
6209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6214 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6220 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6230 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
= 0;
6232 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6233 wxString
*arg2
= 0 ;
6235 wxPalette
*arg4
= (wxPalette
*) NULL
;
6239 bool temp2
= false ;
6244 PyObject
* obj0
= 0 ;
6245 PyObject
* obj1
= 0 ;
6246 PyObject
* obj2
= 0 ;
6247 PyObject
* obj3
= 0 ;
6248 char * kwnames
[] = {
6249 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6254 if (!SWIG_IsOK(res1
)) {
6255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 arg2
= wxString_in_helper(obj1
);
6260 if (arg2
== NULL
) SWIG_fail
;
6263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6264 if (!SWIG_IsOK(ecode3
)) {
6265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6267 arg3
= static_cast< wxBitmapType
>(val3
);
6269 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6270 if (!SWIG_IsOK(res4
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6273 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6276 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6296 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
= 0;
6298 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6299 wxString
*arg2
= 0 ;
6304 bool temp2
= false ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6309 PyObject
* obj2
= 0 ;
6310 char * kwnames
[] = {
6311 (char *) "self",(char *) "name",(char *) "type", NULL
6314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6316 if (!SWIG_IsOK(res1
)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6321 arg2
= wxString_in_helper(obj1
);
6322 if (arg2
== NULL
) SWIG_fail
;
6325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6326 if (!SWIG_IsOK(ecode3
)) {
6327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6329 arg3
= static_cast< wxBitmapType
>(val3
);
6331 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6351 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6352 PyObject
*resultobj
= 0;
6353 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6354 wxPalette
*result
= 0 ;
6357 PyObject
*swig_obj
[1] ;
6359 if (!args
) SWIG_fail
;
6361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6362 if (!SWIG_IsOK(res1
)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6365 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6367 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6377 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6388 char * kwnames
[] = {
6389 (char *) "self",(char *) "icon", NULL
6392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6394 if (!SWIG_IsOK(res1
)) {
6395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6397 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6399 if (!SWIG_IsOK(res2
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6405 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6407 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6429 char * kwnames
[] = {
6430 (char *) "self",(char *) "height", NULL
6433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6435 if (!SWIG_IsOK(res1
)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6438 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6440 if (!SWIG_IsOK(ecode2
)) {
6441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6443 arg2
= static_cast< int >(val2
);
6445 (arg1
)->SetHeight(arg2
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_Py_Void();
6455 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "width", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6476 if (!SWIG_IsOK(ecode2
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6479 arg2
= static_cast< int >(val2
);
6481 (arg1
)->SetWidth(arg2
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
= 0;
6493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 char * kwnames
[] = {
6502 (char *) "self",(char *) "depth", NULL
6505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6510 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6512 if (!SWIG_IsOK(ecode2
)) {
6513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6515 arg2
= static_cast< int >(val2
);
6517 (arg1
)->SetDepth(arg2
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
= 0;
6529 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6535 PyObject
* obj1
= 0 ;
6536 char * kwnames
[] = {
6537 (char *) "self",(char *) "size", NULL
6540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6542 if (!SWIG_IsOK(res1
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6545 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6551 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= 0;
6563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6564 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "other", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6583 if (!SWIG_IsOK(res2
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6586 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6588 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6600 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= 0;
6602 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6603 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 char * kwnames
[] = {
6612 (char *) "self",(char *) "other", NULL
6615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6617 if (!SWIG_IsOK(res1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6620 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6622 if (!SWIG_IsOK(res2
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6625 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6627 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6639 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6642 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6643 return SWIG_Py_Void();
6646 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6647 return SWIG_Python_InitShadowInstance(args
);
6650 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6658 wxBitmap
*result
= 0 ;
6665 PyObject
* obj0
= 0 ;
6666 PyObject
* obj1
= 0 ;
6667 PyObject
* obj2
= 0 ;
6668 PyObject
* obj3
= 0 ;
6669 char * kwnames
[] = {
6670 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6674 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6675 if (!SWIG_IsOK(ecode1
)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6678 arg1
= static_cast< int >(val1
);
6679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6680 if (!SWIG_IsOK(ecode2
)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6683 arg2
= static_cast< int >(val2
);
6685 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6689 if (obj3
!= Py_None
) {
6690 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6695 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6705 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
= 0;
6711 wxBitmap
*result
= 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6719 PyObject
* obj2
= 0 ;
6720 char * kwnames
[] = {
6721 (char *) "width",(char *) "height",(char *) "data", NULL
6724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6726 if (!SWIG_IsOK(ecode1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6729 arg1
= static_cast< int >(val1
);
6730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6731 if (!SWIG_IsOK(ecode2
)) {
6732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6734 arg2
= static_cast< int >(val2
);
6736 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6740 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6750 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
= 0;
6756 wxBitmap
*result
= 0 ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6764 PyObject
* obj2
= 0 ;
6765 char * kwnames
[] = {
6766 (char *) "width",(char *) "height",(char *) "data", NULL
6769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6771 if (!SWIG_IsOK(ecode1
)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6774 arg1
= static_cast< int >(val1
);
6775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6776 if (!SWIG_IsOK(ecode2
)) {
6777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6779 arg2
= static_cast< int >(val2
);
6781 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6785 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6795 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6796 PyObject
*resultobj
= 0;
6797 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6801 PyObject
*swig_obj
[1] ;
6803 if (!args
) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6809 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6811 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6821 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6822 PyObject
*resultobj
= 0;
6823 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6827 PyObject
*swig_obj
[1] ;
6829 if (!args
) SWIG_fail
;
6831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6832 if (!SWIG_IsOK(res1
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6835 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6837 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_From_int(static_cast< int >(result
));
6847 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6848 PyObject
*resultobj
= 0;
6849 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6853 PyObject
*swig_obj
[1] ;
6855 if (!args
) SWIG_fail
;
6857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6858 if (!SWIG_IsOK(res1
)) {
6859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6861 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6863 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= SWIG_From_int(static_cast< int >(result
));
6873 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6874 PyObject
*resultobj
= 0;
6875 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6879 PyObject
*swig_obj
[1] ;
6881 if (!args
) SWIG_fail
;
6883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6884 if (!SWIG_IsOK(res1
)) {
6885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6887 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6889 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6899 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6900 PyObject
*resultobj
= 0;
6901 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6905 PyObject
*swig_obj
[1] ;
6907 if (!args
) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6913 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6915 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_From_int(static_cast< int >(result
));
6925 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6928 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6929 return SWIG_Py_Void();
6932 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6933 PyObject
*resultobj
= 0;
6934 wxBitmap
*arg1
= 0 ;
6935 wxNativePixelData
*result
= 0 ;
6939 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6947 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6949 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6959 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6960 PyObject
*resultobj
= 0;
6961 wxBitmap
*arg1
= 0 ;
6963 wxNativePixelData
*result
= 0 ;
6968 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
6969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6970 if (!SWIG_IsOK(res1
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6976 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6979 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
6982 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6992 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6993 PyObject
*resultobj
= 0;
6994 wxBitmap
*arg1
= 0 ;
6997 wxNativePixelData
*result
= 0 ;
7003 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7011 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7014 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7018 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7021 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7031 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7035 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7038 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7041 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7044 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7048 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7053 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7054 PyObject
*resultobj
= 0;
7055 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7058 PyObject
*swig_obj
[1] ;
7060 if (!args
) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7066 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_Py_Void();
7079 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7080 PyObject
*resultobj
= 0;
7081 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7082 wxNativePixelData_Accessor result
;
7085 PyObject
*swig_obj
[1] ;
7087 if (!args
) SWIG_fail
;
7089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7090 if (!SWIG_IsOK(res1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7093 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7095 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7105 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7106 PyObject
*resultobj
= 0;
7107 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7110 PyObject
*swig_obj
[1] ;
7112 if (!args
) SWIG_fail
;
7114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7115 if (!SWIG_IsOK(res1
)) {
7116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7118 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_Py_Void();
7130 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7131 PyObject
*resultobj
= 0;
7132 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7136 PyObject
*swig_obj
[1] ;
7138 if (!args
) SWIG_fail
;
7140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7141 if (!SWIG_IsOK(res1
)) {
7142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7144 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7146 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7158 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7161 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7162 return SWIG_Py_Void();
7165 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7166 return SWIG_Python_InitShadowInstance(args
);
7169 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7170 PyObject
*resultobj
= 0;
7171 wxNativePixelData
*arg1
= 0 ;
7172 wxNativePixelData_Accessor
*result
= 0 ;
7176 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7184 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7186 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7196 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7197 PyObject
*resultobj
= 0;
7198 wxBitmap
*arg1
= 0 ;
7199 wxNativePixelData
*arg2
= 0 ;
7200 wxNativePixelData_Accessor
*result
= 0 ;
7206 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7208 if (!SWIG_IsOK(res1
)) {
7209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7214 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7215 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7216 if (!SWIG_IsOK(res2
)) {
7217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7222 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7224 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7234 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7235 PyObject
*resultobj
= 0;
7236 wxNativePixelData_Accessor
*result
= 0 ;
7238 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7240 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7250 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7254 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7257 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7260 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7263 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7267 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7272 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7273 PyObject
*resultobj
= 0;
7274 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7277 PyObject
*swig_obj
[1] ;
7279 if (!args
) SWIG_fail
;
7281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7282 if (!SWIG_IsOK(res1
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7285 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_Py_Void();
7298 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
= 0;
7300 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7301 wxNativePixelData
*arg2
= 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7308 char * kwnames
[] = {
7309 (char *) "self",(char *) "data", NULL
7312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7314 if (!SWIG_IsOK(res1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7317 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7319 if (!SWIG_IsOK(res2
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7325 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7327 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_Py_Void();
7337 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7338 PyObject
*resultobj
= 0;
7339 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7343 PyObject
*swig_obj
[1] ;
7345 if (!args
) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7351 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7353 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7354 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7365 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 PyObject
*resultobj
= 0;
7367 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7370 PyObject
*swig_obj
[1] ;
7372 if (!args
) SWIG_fail
;
7374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7375 if (!SWIG_IsOK(res1
)) {
7376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7378 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7380 wxNativePixelData_Accessor_nextPixel(arg1
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_Py_Void();
7390 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
= 0;
7392 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7393 wxNativePixelData
*arg2
= 0 ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 PyObject
* obj3
= 0 ;
7408 char * kwnames
[] = {
7409 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7417 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7419 if (!SWIG_IsOK(res2
)) {
7420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7425 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7427 if (!SWIG_IsOK(ecode3
)) {
7428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7430 arg3
= static_cast< int >(val3
);
7431 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7432 if (!SWIG_IsOK(ecode4
)) {
7433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7435 arg4
= static_cast< int >(val4
);
7437 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_Py_Void();
7447 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
= 0;
7449 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7450 wxNativePixelData
*arg2
= 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7460 PyObject
* obj2
= 0 ;
7461 char * kwnames
[] = {
7462 (char *) "self",(char *) "data",(char *) "x", NULL
7465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7467 if (!SWIG_IsOK(res1
)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7470 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7472 if (!SWIG_IsOK(res2
)) {
7473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7478 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7480 if (!SWIG_IsOK(ecode3
)) {
7481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7483 arg3
= static_cast< int >(val3
);
7485 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_Py_Void();
7495 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
= 0;
7497 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7498 wxNativePixelData
*arg2
= 0 ;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7508 PyObject
* obj2
= 0 ;
7509 char * kwnames
[] = {
7510 (char *) "self",(char *) "data",(char *) "y", NULL
7513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7518 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7520 if (!SWIG_IsOK(res2
)) {
7521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7526 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7528 if (!SWIG_IsOK(ecode3
)) {
7529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7531 arg3
= static_cast< int >(val3
);
7533 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_Py_Void();
7543 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
= 0;
7545 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7546 wxNativePixelData
*arg2
= 0 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7559 PyObject
* obj2
= 0 ;
7560 PyObject
* obj3
= 0 ;
7561 char * kwnames
[] = {
7562 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7570 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7572 if (!SWIG_IsOK(res2
)) {
7573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7578 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7580 if (!SWIG_IsOK(ecode3
)) {
7581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7583 arg3
= static_cast< int >(val3
);
7584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7585 if (!SWIG_IsOK(ecode4
)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7588 arg4
= static_cast< int >(val4
);
7590 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= SWIG_Py_Void();
7600 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
= 0;
7602 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7608 unsigned char val2
;
7610 unsigned char val3
;
7612 unsigned char val4
;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7617 PyObject
* obj3
= 0 ;
7618 char * kwnames
[] = {
7619 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7624 if (!SWIG_IsOK(res1
)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7627 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7628 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7629 if (!SWIG_IsOK(ecode2
)) {
7630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7632 arg2
= static_cast< byte
>(val2
);
7633 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7634 if (!SWIG_IsOK(ecode3
)) {
7635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7637 arg3
= static_cast< byte
>(val3
);
7638 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7639 if (!SWIG_IsOK(ecode4
)) {
7640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7642 arg4
= static_cast< byte
>(val4
);
7644 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_Py_Void();
7654 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7655 PyObject
*resultobj
= 0;
7656 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7657 PyObject
*result
= 0 ;
7660 PyObject
*swig_obj
[1] ;
7662 if (!args
) SWIG_fail
;
7664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7665 if (!SWIG_IsOK(res1
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7668 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7670 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7680 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7683 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7684 return SWIG_Py_Void();
7687 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7688 return SWIG_Python_InitShadowInstance(args
);
7691 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7692 PyObject
*resultobj
= 0;
7693 wxBitmap
*arg1
= 0 ;
7694 wxAlphaPixelData
*result
= 0 ;
7698 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7700 if (!SWIG_IsOK(res1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7706 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7708 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7718 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7719 PyObject
*resultobj
= 0;
7720 wxBitmap
*arg1
= 0 ;
7722 wxAlphaPixelData
*result
= 0 ;
7727 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7729 if (!SWIG_IsOK(res1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7735 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7738 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7741 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7751 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7752 PyObject
*resultobj
= 0;
7753 wxBitmap
*arg1
= 0 ;
7756 wxAlphaPixelData
*result
= 0 ;
7762 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7770 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7773 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7777 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7780 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7790 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7794 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7797 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7800 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7803 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7807 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7812 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7813 PyObject
*resultobj
= 0;
7814 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7817 PyObject
*swig_obj
[1] ;
7819 if (!args
) SWIG_fail
;
7821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7822 if (!SWIG_IsOK(res1
)) {
7823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7825 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_Py_Void();
7838 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7841 wxAlphaPixelData_Accessor result
;
7844 PyObject
*swig_obj
[1] ;
7846 if (!args
) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7852 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7854 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7864 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 PyObject
*resultobj
= 0;
7866 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7869 PyObject
*swig_obj
[1] ;
7871 if (!args
) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7877 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= SWIG_Py_Void();
7889 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7890 PyObject
*resultobj
= 0;
7891 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7895 PyObject
*swig_obj
[1] ;
7897 if (!args
) SWIG_fail
;
7899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7900 if (!SWIG_IsOK(res1
)) {
7901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7903 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7905 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7917 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7920 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7921 return SWIG_Py_Void();
7924 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7925 return SWIG_Python_InitShadowInstance(args
);
7928 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7929 PyObject
*resultobj
= 0;
7930 wxAlphaPixelData
*arg1
= 0 ;
7931 wxAlphaPixelData_Accessor
*result
= 0 ;
7935 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7937 if (!SWIG_IsOK(res1
)) {
7938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7943 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7945 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7955 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7956 PyObject
*resultobj
= 0;
7957 wxBitmap
*arg1
= 0 ;
7958 wxAlphaPixelData
*arg2
= 0 ;
7959 wxAlphaPixelData_Accessor
*result
= 0 ;
7965 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7967 if (!SWIG_IsOK(res1
)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7973 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7974 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7975 if (!SWIG_IsOK(res2
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7981 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
7983 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7993 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7994 PyObject
*resultobj
= 0;
7995 wxAlphaPixelData_Accessor
*result
= 0 ;
7997 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7999 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8009 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8013 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8016 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8019 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8022 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8026 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8031 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 PyObject
*resultobj
= 0;
8033 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8036 PyObject
*swig_obj
[1] ;
8038 if (!args
) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8044 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_Py_Void();
8057 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
= 0;
8059 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8060 wxAlphaPixelData
*arg2
= 0 ;
8065 PyObject
* obj0
= 0 ;
8066 PyObject
* obj1
= 0 ;
8067 char * kwnames
[] = {
8068 (char *) "self",(char *) "data", NULL
8071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8076 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8078 if (!SWIG_IsOK(res2
)) {
8079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8084 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8086 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= SWIG_Py_Void();
8096 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8097 PyObject
*resultobj
= 0;
8098 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8102 PyObject
*swig_obj
[1] ;
8104 if (!args
) SWIG_fail
;
8106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8107 if (!SWIG_IsOK(res1
)) {
8108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8110 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8112 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8113 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8124 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8125 PyObject
*resultobj
= 0;
8126 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8129 PyObject
*swig_obj
[1] ;
8131 if (!args
) SWIG_fail
;
8133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8134 if (!SWIG_IsOK(res1
)) {
8135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8137 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8139 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_Py_Void();
8149 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
= 0;
8151 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8152 wxAlphaPixelData
*arg2
= 0 ;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8165 PyObject
* obj2
= 0 ;
8166 PyObject
* obj3
= 0 ;
8167 char * kwnames
[] = {
8168 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8173 if (!SWIG_IsOK(res1
)) {
8174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8176 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8178 if (!SWIG_IsOK(res2
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8184 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8186 if (!SWIG_IsOK(ecode3
)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8189 arg3
= static_cast< int >(val3
);
8190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8191 if (!SWIG_IsOK(ecode4
)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8194 arg4
= static_cast< int >(val4
);
8196 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_Py_Void();
8206 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
= 0;
8208 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8209 wxAlphaPixelData
*arg2
= 0 ;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8219 PyObject
* obj2
= 0 ;
8220 char * kwnames
[] = {
8221 (char *) "self",(char *) "data",(char *) "x", NULL
8224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8226 if (!SWIG_IsOK(res1
)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8229 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8231 if (!SWIG_IsOK(res2
)) {
8232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8237 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8239 if (!SWIG_IsOK(ecode3
)) {
8240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8242 arg3
= static_cast< int >(val3
);
8244 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_Py_Void();
8254 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
= 0;
8256 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8257 wxAlphaPixelData
*arg2
= 0 ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8267 PyObject
* obj2
= 0 ;
8268 char * kwnames
[] = {
8269 (char *) "self",(char *) "data",(char *) "y", NULL
8272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8274 if (!SWIG_IsOK(res1
)) {
8275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8277 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8279 if (!SWIG_IsOK(res2
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8285 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8287 if (!SWIG_IsOK(ecode3
)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8290 arg3
= static_cast< int >(val3
);
8292 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_Py_Void();
8302 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
= 0;
8304 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8305 wxAlphaPixelData
*arg2
= 0 ;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8318 PyObject
* obj2
= 0 ;
8319 PyObject
* obj3
= 0 ;
8320 char * kwnames
[] = {
8321 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8329 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8331 if (!SWIG_IsOK(res2
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8337 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8339 if (!SWIG_IsOK(ecode3
)) {
8340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8342 arg3
= static_cast< int >(val3
);
8343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8344 if (!SWIG_IsOK(ecode4
)) {
8345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8347 arg4
= static_cast< int >(val4
);
8349 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_Py_Void();
8359 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
= 0;
8361 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8368 unsigned char val2
;
8370 unsigned char val3
;
8372 unsigned char val4
;
8374 unsigned char val5
;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8378 PyObject
* obj2
= 0 ;
8379 PyObject
* obj3
= 0 ;
8380 PyObject
* obj4
= 0 ;
8381 char * kwnames
[] = {
8382 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8387 if (!SWIG_IsOK(res1
)) {
8388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8390 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8391 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8392 if (!SWIG_IsOK(ecode2
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8395 arg2
= static_cast< byte
>(val2
);
8396 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8397 if (!SWIG_IsOK(ecode3
)) {
8398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8400 arg3
= static_cast< byte
>(val3
);
8401 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8402 if (!SWIG_IsOK(ecode4
)) {
8403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8405 arg4
= static_cast< byte
>(val4
);
8406 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8407 if (!SWIG_IsOK(ecode5
)) {
8408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8410 arg5
= static_cast< byte
>(val5
);
8412 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_Py_Void();
8422 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8423 PyObject
*resultobj
= 0;
8424 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8425 PyObject
*result
= 0 ;
8428 PyObject
*swig_obj
[1] ;
8430 if (!args
) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8436 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8438 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8448 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8451 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8452 return SWIG_Py_Void();
8455 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 return SWIG_Python_InitShadowInstance(args
);
8459 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
= 0;
8461 wxBitmap
*arg1
= 0 ;
8462 wxColour
const &arg2_defvalue
= wxNullColour
;
8463 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8464 wxMask
*result
= 0 ;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 char * kwnames
[] = {
8471 (char *) "bitmap",(char *) "colour", NULL
8474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8490 if (!wxPyCheckForApp()) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8503 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8504 PyObject
*resultobj
= 0;
8505 wxMask
*arg1
= (wxMask
*) 0 ;
8508 PyObject
*swig_obj
[1] ;
8510 if (!args
) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8516 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= SWIG_Py_Void();
8529 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8532 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8533 return SWIG_Py_Void();
8536 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8537 return SWIG_Python_InitShadowInstance(args
);
8540 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
= 0;
8542 wxString
*arg1
= 0 ;
8544 int arg3
= (int) -1 ;
8545 int arg4
= (int) -1 ;
8546 wxIcon
*result
= 0 ;
8547 bool temp1
= false ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8557 PyObject
* obj3
= 0 ;
8558 char * kwnames
[] = {
8559 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8564 arg1
= wxString_in_helper(obj0
);
8565 if (arg1
== NULL
) SWIG_fail
;
8568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8569 if (!SWIG_IsOK(ecode2
)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8572 arg2
= static_cast< wxBitmapType
>(val2
);
8574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8575 if (!SWIG_IsOK(ecode3
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8578 arg3
= static_cast< int >(val3
);
8581 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8582 if (!SWIG_IsOK(ecode4
)) {
8583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8585 arg4
= static_cast< int >(val4
);
8588 if (!wxPyCheckForApp()) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8609 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8610 PyObject
*resultobj
= 0;
8611 wxIcon
*arg1
= (wxIcon
*) 0 ;
8614 PyObject
*swig_obj
[1] ;
8616 if (!args
) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8622 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_Py_Void();
8637 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 PyObject
*resultobj
= 0;
8639 wxIcon
*result
= 0 ;
8641 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8643 if (!wxPyCheckForApp()) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= (wxIcon
*)new wxIcon();
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8656 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
= 0;
8658 wxIconLocation
*arg1
= 0 ;
8659 wxIcon
*result
= 0 ;
8662 PyObject
* obj0
= 0 ;
8663 char * kwnames
[] = {
8664 (char *) "loc", NULL
8667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8668 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8669 if (!SWIG_IsOK(res1
)) {
8670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8675 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8677 if (!wxPyCheckForApp()) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8690 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= 0;
8692 wxBitmap
*arg1
= 0 ;
8693 wxIcon
*result
= 0 ;
8696 PyObject
* obj0
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "bmp", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8709 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8711 if (!wxPyCheckForApp()) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8724 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= 0;
8726 PyObject
*arg1
= (PyObject
*) 0 ;
8727 wxIcon
*result
= 0 ;
8728 PyObject
* obj0
= 0 ;
8729 char * kwnames
[] = {
8730 (char *) "listOfStrings", NULL
8733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8736 if (!wxPyCheckForApp()) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (wxIcon
*)new_wxIcon(arg1
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8749 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
= 0;
8751 wxIcon
*arg1
= (wxIcon
*) 0 ;
8752 wxString
*arg2
= 0 ;
8757 bool temp2
= false ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "name",(char *) "type", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8772 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8774 arg2
= wxString_in_helper(obj1
);
8775 if (arg2
== NULL
) SWIG_fail
;
8778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8779 if (!SWIG_IsOK(ecode3
)) {
8780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8782 arg3
= static_cast< wxBitmapType
>(val3
);
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8806 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8807 PyObject
*resultobj
= 0;
8808 wxIcon
*arg1
= (wxIcon
*) 0 ;
8812 PyObject
*swig_obj
[1] ;
8814 if (!args
) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8820 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (bool)(arg1
)->Ok();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8836 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8837 PyObject
*resultobj
= 0;
8838 wxIcon
*arg1
= (wxIcon
*) 0 ;
8842 PyObject
*swig_obj
[1] ;
8844 if (!args
) SWIG_fail
;
8846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8847 if (!SWIG_IsOK(res1
)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8850 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (int)(arg1
)->GetWidth();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_From_int(static_cast< int >(result
));
8864 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8865 PyObject
*resultobj
= 0;
8866 wxIcon
*arg1
= (wxIcon
*) 0 ;
8870 PyObject
*swig_obj
[1] ;
8872 if (!args
) SWIG_fail
;
8874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8875 if (!SWIG_IsOK(res1
)) {
8876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8878 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (int)(arg1
)->GetHeight();
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_From_int(static_cast< int >(result
));
8892 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8893 PyObject
*resultobj
= 0;
8894 wxIcon
*arg1
= (wxIcon
*) 0 ;
8898 PyObject
*swig_obj
[1] ;
8900 if (!args
) SWIG_fail
;
8902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8903 if (!SWIG_IsOK(res1
)) {
8904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8906 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (int)(arg1
)->GetDepth();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= SWIG_From_int(static_cast< int >(result
));
8920 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= 0;
8922 wxIcon
*arg1
= (wxIcon
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 char * kwnames
[] = {
8931 (char *) "self",(char *) "w", NULL
8934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8939 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8941 if (!SWIG_IsOK(ecode2
)) {
8942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8944 arg2
= static_cast< int >(val2
);
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 (arg1
)->SetWidth(arg2
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= SWIG_Py_Void();
8958 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
= 0;
8960 wxIcon
*arg1
= (wxIcon
*) 0 ;
8966 PyObject
* obj0
= 0 ;
8967 PyObject
* obj1
= 0 ;
8968 char * kwnames
[] = {
8969 (char *) "self",(char *) "h", NULL
8972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8974 if (!SWIG_IsOK(res1
)) {
8975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8977 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8979 if (!SWIG_IsOK(ecode2
)) {
8980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8982 arg2
= static_cast< int >(val2
);
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 (arg1
)->SetHeight(arg2
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= SWIG_Py_Void();
8996 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
= 0;
8998 wxIcon
*arg1
= (wxIcon
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9006 char * kwnames
[] = {
9007 (char *) "self",(char *) "d", NULL
9010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9012 if (!SWIG_IsOK(res1
)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9015 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9017 if (!SWIG_IsOK(ecode2
)) {
9018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9020 arg2
= static_cast< int >(val2
);
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 (arg1
)->SetDepth(arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_Py_Void();
9034 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
= 0;
9036 wxIcon
*arg1
= (wxIcon
*) 0 ;
9037 wxBitmap
*arg2
= 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9044 char * kwnames
[] = {
9045 (char *) "self",(char *) "bmp", NULL
9048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9050 if (!SWIG_IsOK(res1
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9053 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9055 if (!SWIG_IsOK(res2
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9061 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= SWIG_Py_Void();
9075 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9078 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9079 return SWIG_Py_Void();
9082 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9083 return SWIG_Python_InitShadowInstance(args
);
9086 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9089 int arg2
= (int) 0 ;
9090 wxIconLocation
*result
= 0 ;
9091 bool temp1
= false ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9096 char * kwnames
[] = {
9097 (char *) "filename",(char *) "num", NULL
9100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9103 arg1
= wxString_in_helper(obj0
);
9104 if (arg1
== NULL
) SWIG_fail
;
9109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9110 if (!SWIG_IsOK(ecode2
)) {
9111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9113 arg2
= static_cast< int >(val2
);
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9136 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 PyObject
*resultobj
= 0;
9138 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9141 PyObject
*swig_obj
[1] ;
9143 if (!args
) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9149 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9164 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9165 PyObject
*resultobj
= 0;
9166 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9170 PyObject
*swig_obj
[1] ;
9172 if (!args
) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9178 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9194 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= 0;
9196 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9197 wxString
*arg2
= 0 ;
9200 bool temp2
= false ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "self",(char *) "filename", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9212 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9214 arg2
= wxString_in_helper(obj1
);
9215 if (arg2
== NULL
) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 (arg1
)->SetFileName((wxString
const &)*arg2
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_Py_Void();
9239 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9240 PyObject
*resultobj
= 0;
9241 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9242 wxString
*result
= 0 ;
9245 PyObject
*swig_obj
[1] ;
9247 if (!args
) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9253 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9258 result
= (wxString
*) &_result_ref
;
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9267 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9276 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
= 0;
9278 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 char * kwnames
[] = {
9287 (char *) "self",(char *) "num", NULL
9290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9292 if (!SWIG_IsOK(res1
)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9295 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9297 if (!SWIG_IsOK(ecode2
)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9300 arg2
= static_cast< int >(val2
);
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 wxIconLocation_SetIndex(arg1
,arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_Py_Void();
9314 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9315 PyObject
*resultobj
= 0;
9316 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9320 PyObject
*swig_obj
[1] ;
9322 if (!args
) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9328 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (int)wxIconLocation_GetIndex(arg1
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_From_int(static_cast< int >(result
));
9342 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9345 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9346 return SWIG_Py_Void();
9349 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9350 return SWIG_Python_InitShadowInstance(args
);
9353 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 PyObject
*resultobj
= 0;
9355 wxIconBundle
*result
= 0 ;
9357 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (wxIconBundle
*)new wxIconBundle();
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9371 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
= 0;
9373 wxString
*arg1
= 0 ;
9375 wxIconBundle
*result
= 0 ;
9376 bool temp1
= false ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9381 char * kwnames
[] = {
9382 (char *) "file",(char *) "type", NULL
9385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9387 arg1
= wxString_in_helper(obj0
);
9388 if (arg1
== NULL
) SWIG_fail
;
9391 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9392 if (!SWIG_IsOK(ecode2
)) {
9393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9395 arg2
= static_cast< long >(val2
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9417 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
= 0;
9420 wxIconBundle
*result
= 0 ;
9423 PyObject
* obj0
= 0 ;
9424 char * kwnames
[] = {
9425 (char *) "icon", NULL
9428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9429 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9430 if (!SWIG_IsOK(res1
)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9436 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9450 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9451 PyObject
*resultobj
= 0;
9452 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9455 PyObject
*swig_obj
[1] ;
9457 if (!args
) SWIG_fail
;
9459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9460 if (!SWIG_IsOK(res1
)) {
9461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9463 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= SWIG_Py_Void();
9478 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
= 0;
9480 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9487 PyObject
* obj1
= 0 ;
9488 char * kwnames
[] = {
9489 (char *) "self",(char *) "icon", NULL
9492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9497 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9499 if (!SWIG_IsOK(res2
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9505 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_Py_Void();
9519 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
= 0;
9521 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9522 wxString
*arg2
= 0 ;
9526 bool temp2
= false ;
9529 PyObject
* obj0
= 0 ;
9530 PyObject
* obj1
= 0 ;
9531 PyObject
* obj2
= 0 ;
9532 char * kwnames
[] = {
9533 (char *) "self",(char *) "file",(char *) "type", NULL
9536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9541 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9543 arg2
= wxString_in_helper(obj1
);
9544 if (arg2
== NULL
) SWIG_fail
;
9547 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9548 if (!SWIG_IsOK(ecode3
)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9551 arg3
= static_cast< long >(val3
);
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_Py_Void();
9573 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
= 0;
9575 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9577 wxIcon
*result
= 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "self",(char *) "size", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9592 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9601 result
= (wxIcon
*) &_result_ref
;
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 wxIcon
* resultptr
= new wxIcon(*result
);
9608 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9616 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9619 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9620 return SWIG_Py_Void();
9623 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9624 return SWIG_Python_InitShadowInstance(args
);
9627 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
= 0;
9629 wxString
*arg1
= 0 ;
9631 int arg3
= (int) 0 ;
9632 int arg4
= (int) 0 ;
9633 wxCursor
*result
= 0 ;
9634 bool temp1
= false ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 PyObject
* obj2
= 0 ;
9644 PyObject
* obj3
= 0 ;
9645 char * kwnames
[] = {
9646 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9651 arg1
= wxString_in_helper(obj0
);
9652 if (arg1
== NULL
) SWIG_fail
;
9655 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9656 if (!SWIG_IsOK(ecode2
)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9659 arg2
= static_cast< long >(val2
);
9661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9662 if (!SWIG_IsOK(ecode3
)) {
9663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9665 arg3
= static_cast< int >(val3
);
9668 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9669 if (!SWIG_IsOK(ecode4
)) {
9670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9672 arg4
= static_cast< int >(val4
);
9675 if (!wxPyCheckForApp()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9696 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9697 PyObject
*resultobj
= 0;
9698 wxCursor
*arg1
= (wxCursor
*) 0 ;
9701 PyObject
*swig_obj
[1] ;
9703 if (!args
) SWIG_fail
;
9705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9706 if (!SWIG_IsOK(res1
)) {
9707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9709 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_Py_Void();
9724 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
= 0;
9727 wxCursor
*result
= 0 ;
9730 PyObject
* obj0
= 0 ;
9731 char * kwnames
[] = {
9735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9737 if (!SWIG_IsOK(ecode1
)) {
9738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9740 arg1
= static_cast< int >(val1
);
9742 if (!wxPyCheckForApp()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (wxCursor
*)new wxCursor(arg1
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9755 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
= 0;
9758 wxCursor
*result
= 0 ;
9761 PyObject
* obj0
= 0 ;
9762 char * kwnames
[] = {
9763 (char *) "image", NULL
9766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9767 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9768 if (!SWIG_IsOK(res1
)) {
9769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9774 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9776 if (!wxPyCheckForApp()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9789 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9790 PyObject
*resultobj
= 0;
9791 wxCursor
*arg1
= (wxCursor
*) 0 ;
9795 PyObject
*swig_obj
[1] ;
9797 if (!args
) SWIG_fail
;
9799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9800 if (!SWIG_IsOK(res1
)) {
9801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9803 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (bool)(arg1
)->Ok();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9819 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9822 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9823 return SWIG_Py_Void();
9826 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9827 return SWIG_Python_InitShadowInstance(args
);
9830 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
= 0;
9832 int arg1
= (int) 0 ;
9833 int arg2
= (int) 0 ;
9834 int arg3
= (int) 0 ;
9835 int arg4
= (int) 0 ;
9836 wxRegion
*result
= 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9848 PyObject
* obj3
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9856 if (!SWIG_IsOK(ecode1
)) {
9857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9859 arg1
= static_cast< int >(val1
);
9862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9863 if (!SWIG_IsOK(ecode2
)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9866 arg2
= static_cast< int >(val2
);
9869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9870 if (!SWIG_IsOK(ecode3
)) {
9871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9873 arg3
= static_cast< int >(val3
);
9876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9877 if (!SWIG_IsOK(ecode4
)) {
9878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9880 arg4
= static_cast< int >(val4
);
9883 if (!wxPyCheckForApp()) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9896 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
= 0;
9898 wxBitmap
*arg1
= 0 ;
9899 wxRegion
*result
= 0 ;
9902 PyObject
* obj0
= 0 ;
9903 char * kwnames
[] = {
9904 (char *) "bmp", NULL
9907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9908 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9909 if (!SWIG_IsOK(res1
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9915 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9917 if (!wxPyCheckForApp()) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9930 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
= 0;
9932 wxBitmap
*arg1
= 0 ;
9933 wxColour
*arg2
= 0 ;
9934 int arg3
= (int) 0 ;
9935 wxRegion
*result
= 0 ;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 PyObject
* obj2
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9949 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9950 if (!SWIG_IsOK(res1
)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9956 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9963 if (!SWIG_IsOK(ecode3
)) {
9964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9966 arg3
= static_cast< int >(val3
);
9969 if (!wxPyCheckForApp()) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9982 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
= 0;
9985 wxPoint
*arg2
= (wxPoint
*) 0 ;
9986 int arg3
= (int) wxWINDING_RULE
;
9987 wxRegion
*result
= 0 ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9992 char * kwnames
[] = {
9993 (char *) "points",(char *) "fillStyle", NULL
9996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9998 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
9999 if (arg2
== NULL
) SWIG_fail
;
10002 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10003 if (!SWIG_IsOK(ecode3
)) {
10004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10006 arg3
= static_cast< int >(val3
);
10009 if (!wxPyCheckForApp()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10017 if (arg2
) delete [] arg2
;
10022 if (arg2
) delete [] arg2
;
10028 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10029 PyObject
*resultobj
= 0;
10030 wxRegion
*arg1
= (wxRegion
*) 0 ;
10033 PyObject
*swig_obj
[1] ;
10035 if (!args
) SWIG_fail
;
10036 swig_obj
[0] = args
;
10037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10038 if (!SWIG_IsOK(res1
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10041 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_Py_Void();
10056 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10057 PyObject
*resultobj
= 0;
10058 wxRegion
*arg1
= (wxRegion
*) 0 ;
10061 PyObject
*swig_obj
[1] ;
10063 if (!args
) SWIG_fail
;
10064 swig_obj
[0] = args
;
10065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10066 if (!SWIG_IsOK(res1
)) {
10067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10069 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_Py_Void();
10083 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
= 0;
10085 wxRegion
*arg1
= (wxRegion
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 PyObject
* obj1
= 0 ;
10097 PyObject
* obj2
= 0 ;
10098 char * kwnames
[] = {
10099 (char *) "self",(char *) "x",(char *) "y", NULL
10102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10104 if (!SWIG_IsOK(res1
)) {
10105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10107 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10109 if (!SWIG_IsOK(ecode2
)) {
10110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10112 arg2
= static_cast< int >(val2
);
10113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10114 if (!SWIG_IsOK(ecode3
)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10117 arg3
= static_cast< int >(val3
);
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10133 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= 0;
10135 wxRegion
*arg1
= (wxRegion
*) 0 ;
10138 wxRegionContain result
;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 PyObject
* obj2
= 0 ;
10148 char * kwnames
[] = {
10149 (char *) "self",(char *) "x",(char *) "y", NULL
10152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10154 if (!SWIG_IsOK(res1
)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10157 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10159 if (!SWIG_IsOK(ecode2
)) {
10160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10162 arg2
= static_cast< int >(val2
);
10163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10164 if (!SWIG_IsOK(ecode3
)) {
10165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10167 arg3
= static_cast< int >(val3
);
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= SWIG_From_int(static_cast< int >(result
));
10181 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
= 0;
10183 wxRegion
*arg1
= (wxRegion
*) 0 ;
10184 wxPoint
*arg2
= 0 ;
10185 wxRegionContain result
;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 char * kwnames
[] = {
10192 (char *) "self",(char *) "pt", NULL
10195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10200 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_From_int(static_cast< int >(result
));
10218 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10220 wxRegion
*arg1
= (wxRegion
*) 0 ;
10222 wxRegionContain result
;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 char * kwnames
[] = {
10229 (char *) "self",(char *) "rect", NULL
10232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10234 if (!SWIG_IsOK(res1
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10237 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10240 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_From_int(static_cast< int >(result
));
10255 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
= 0;
10257 wxRegion
*arg1
= (wxRegion
*) 0 ;
10262 wxRegionContain result
;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 PyObject
* obj2
= 0 ;
10276 PyObject
* obj3
= 0 ;
10277 PyObject
* obj4
= 0 ;
10278 char * kwnames
[] = {
10279 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10284 if (!SWIG_IsOK(res1
)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10287 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10289 if (!SWIG_IsOK(ecode2
)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10292 arg2
= static_cast< int >(val2
);
10293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10294 if (!SWIG_IsOK(ecode3
)) {
10295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10297 arg3
= static_cast< int >(val3
);
10298 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10299 if (!SWIG_IsOK(ecode4
)) {
10300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10302 arg4
= static_cast< int >(val4
);
10303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10304 if (!SWIG_IsOK(ecode5
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10307 arg5
= static_cast< int >(val5
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_From_int(static_cast< int >(result
));
10321 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10322 PyObject
*resultobj
= 0;
10323 wxRegion
*arg1
= (wxRegion
*) 0 ;
10327 PyObject
*swig_obj
[1] ;
10329 if (!args
) SWIG_fail
;
10330 swig_obj
[0] = args
;
10331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10332 if (!SWIG_IsOK(res1
)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10335 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (arg1
)->GetBox();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10349 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxRegion
*arg1
= (wxRegion
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 PyObject
* obj2
= 0 ;
10370 PyObject
* obj3
= 0 ;
10371 PyObject
* obj4
= 0 ;
10372 char * kwnames
[] = {
10373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10378 if (!SWIG_IsOK(res1
)) {
10379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10381 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10383 if (!SWIG_IsOK(ecode2
)) {
10384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10386 arg2
= static_cast< int >(val2
);
10387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10388 if (!SWIG_IsOK(ecode3
)) {
10389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10391 arg3
= static_cast< int >(val3
);
10392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10393 if (!SWIG_IsOK(ecode4
)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10396 arg4
= static_cast< int >(val4
);
10397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10398 if (!SWIG_IsOK(ecode5
)) {
10399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10401 arg5
= static_cast< int >(val5
);
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10417 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
= 0;
10419 wxRegion
*arg1
= (wxRegion
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char * kwnames
[] = {
10428 (char *) "self",(char *) "rect", NULL
10431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10433 if (!SWIG_IsOK(res1
)) {
10434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10436 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10456 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
= 0;
10458 wxRegion
*arg1
= (wxRegion
*) 0 ;
10459 wxRegion
*arg2
= 0 ;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 char * kwnames
[] = {
10468 (char *) "self",(char *) "region", NULL
10471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10473 if (!SWIG_IsOK(res1
)) {
10474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10476 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10478 if (!SWIG_IsOK(res2
)) {
10479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10484 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10500 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10501 PyObject
*resultobj
= 0;
10502 wxRegion
*arg1
= (wxRegion
*) 0 ;
10506 PyObject
*swig_obj
[1] ;
10508 if (!args
) SWIG_fail
;
10509 swig_obj
[0] = args
;
10510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10511 if (!SWIG_IsOK(res1
)) {
10512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10514 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (bool)(arg1
)->IsEmpty();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10530 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
= 0;
10532 wxRegion
*arg1
= (wxRegion
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 PyObject
* obj2
= 0 ;
10551 PyObject
* obj3
= 0 ;
10552 PyObject
* obj4
= 0 ;
10553 char * kwnames
[] = {
10554 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10559 if (!SWIG_IsOK(res1
)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10562 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10564 if (!SWIG_IsOK(ecode2
)) {
10565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10567 arg2
= static_cast< int >(val2
);
10568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10569 if (!SWIG_IsOK(ecode3
)) {
10570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10572 arg3
= static_cast< int >(val3
);
10573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10574 if (!SWIG_IsOK(ecode4
)) {
10575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10577 arg4
= static_cast< int >(val4
);
10578 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10579 if (!SWIG_IsOK(ecode5
)) {
10580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10582 arg5
= static_cast< int >(val5
);
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10598 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 wxRegion
*arg1
= (wxRegion
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 char * kwnames
[] = {
10609 (char *) "self",(char *) "rect", NULL
10612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10614 if (!SWIG_IsOK(res1
)) {
10615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10617 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10637 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
= 0;
10639 wxRegion
*arg1
= (wxRegion
*) 0 ;
10640 wxRegion
*arg2
= 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char * kwnames
[] = {
10649 (char *) "self",(char *) "region", NULL
10652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10654 if (!SWIG_IsOK(res1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10657 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10659 if (!SWIG_IsOK(res2
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10665 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10681 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
= 0;
10683 wxRegion
*arg1
= (wxRegion
*) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 PyObject
* obj3
= 0 ;
10703 PyObject
* obj4
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10713 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10715 if (!SWIG_IsOK(ecode2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10718 arg2
= static_cast< int >(val2
);
10719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10720 if (!SWIG_IsOK(ecode3
)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10723 arg3
= static_cast< int >(val3
);
10724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10725 if (!SWIG_IsOK(ecode4
)) {
10726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10728 arg4
= static_cast< int >(val4
);
10729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10730 if (!SWIG_IsOK(ecode5
)) {
10731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10733 arg5
= static_cast< int >(val5
);
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10749 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
= 0;
10751 wxRegion
*arg1
= (wxRegion
*) 0 ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 char * kwnames
[] = {
10760 (char *) "self",(char *) "rect", NULL
10763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10768 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10771 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10788 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
= 0;
10790 wxRegion
*arg1
= (wxRegion
*) 0 ;
10791 wxRegion
*arg2
= 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char * kwnames
[] = {
10800 (char *) "self",(char *) "region", NULL
10803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10808 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10810 if (!SWIG_IsOK(res2
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10816 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10832 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
= 0;
10834 wxRegion
*arg1
= (wxRegion
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 PyObject
* obj2
= 0 ;
10853 PyObject
* obj3
= 0 ;
10854 PyObject
* obj4
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10864 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10869 arg2
= static_cast< int >(val2
);
10870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10871 if (!SWIG_IsOK(ecode3
)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10874 arg3
= static_cast< int >(val3
);
10875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10876 if (!SWIG_IsOK(ecode4
)) {
10877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10879 arg4
= static_cast< int >(val4
);
10880 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10881 if (!SWIG_IsOK(ecode5
)) {
10882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10884 arg5
= static_cast< int >(val5
);
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10900 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
= 0;
10902 wxRegion
*arg1
= (wxRegion
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 char * kwnames
[] = {
10911 (char *) "self",(char *) "rect", NULL
10914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10916 if (!SWIG_IsOK(res1
)) {
10917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10919 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10922 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10939 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
= 0;
10941 wxRegion
*arg1
= (wxRegion
*) 0 ;
10942 wxRegion
*arg2
= 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char * kwnames
[] = {
10951 (char *) "self",(char *) "region", NULL
10954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10956 if (!SWIG_IsOK(res1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10959 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10961 if (!SWIG_IsOK(res2
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10967 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10983 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10984 PyObject
*resultobj
= 0;
10985 wxRegion
*arg1
= (wxRegion
*) 0 ;
10986 SwigValueWrapper
<wxBitmap
> result
;
10989 PyObject
*swig_obj
[1] ;
10991 if (!args
) SWIG_fail
;
10992 swig_obj
[0] = args
;
10993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
10997 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (arg1
)->ConvertToBitmap();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11011 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
= 0;
11013 wxRegion
*arg1
= (wxRegion
*) 0 ;
11014 wxBitmap
*arg2
= 0 ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char * kwnames
[] = {
11023 (char *) "self",(char *) "bmp", NULL
11026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11028 if (!SWIG_IsOK(res1
)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11031 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11033 if (!SWIG_IsOK(res2
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11039 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11055 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
= 0;
11057 wxRegion
*arg1
= (wxRegion
*) 0 ;
11058 wxBitmap
*arg2
= 0 ;
11059 wxColour
*arg3
= 0 ;
11060 int arg4
= (int) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 PyObject
* obj2
= 0 ;
11072 PyObject
* obj3
= 0 ;
11073 char * kwnames
[] = {
11074 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11079 if (!SWIG_IsOK(res1
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11082 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11084 if (!SWIG_IsOK(res2
)) {
11085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11090 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11093 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11097 if (!SWIG_IsOK(ecode4
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11100 arg4
= static_cast< int >(val4
);
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11117 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11120 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11121 return SWIG_Py_Void();
11124 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11125 return SWIG_Python_InitShadowInstance(args
);
11128 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
= 0;
11130 wxRegion
*arg1
= 0 ;
11131 wxRegionIterator
*result
= 0 ;
11134 PyObject
* obj0
= 0 ;
11135 char * kwnames
[] = {
11136 (char *) "region", NULL
11139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11140 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11141 if (!SWIG_IsOK(res1
)) {
11142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11147 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11149 if (!wxPyCheckForApp()) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11162 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11163 PyObject
*resultobj
= 0;
11164 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11167 PyObject
*swig_obj
[1] ;
11169 if (!args
) SWIG_fail
;
11170 swig_obj
[0] = args
;
11171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11172 if (!SWIG_IsOK(res1
)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11175 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_Py_Void();
11190 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11191 PyObject
*resultobj
= 0;
11192 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11196 PyObject
*swig_obj
[1] ;
11198 if (!args
) SWIG_fail
;
11199 swig_obj
[0] = args
;
11200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11204 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (int)(arg1
)->GetX();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_From_int(static_cast< int >(result
));
11218 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11219 PyObject
*resultobj
= 0;
11220 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11224 PyObject
*swig_obj
[1] ;
11226 if (!args
) SWIG_fail
;
11227 swig_obj
[0] = args
;
11228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11229 if (!SWIG_IsOK(res1
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11232 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (int)(arg1
)->GetY();
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_From_int(static_cast< int >(result
));
11246 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11252 PyObject
*swig_obj
[1] ;
11254 if (!args
) SWIG_fail
;
11255 swig_obj
[0] = args
;
11256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11260 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (int)(arg1
)->GetW();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_From_int(static_cast< int >(result
));
11274 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11275 PyObject
*resultobj
= 0;
11276 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11280 PyObject
*swig_obj
[1] ;
11282 if (!args
) SWIG_fail
;
11283 swig_obj
[0] = args
;
11284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11285 if (!SWIG_IsOK(res1
)) {
11286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11288 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (int)(arg1
)->GetWidth();
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= SWIG_From_int(static_cast< int >(result
));
11302 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11303 PyObject
*resultobj
= 0;
11304 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11308 PyObject
*swig_obj
[1] ;
11310 if (!args
) SWIG_fail
;
11311 swig_obj
[0] = args
;
11312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11316 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (int)(arg1
)->GetH();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_From_int(static_cast< int >(result
));
11330 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11344 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (int)(arg1
)->GetHeight();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_int(static_cast< int >(result
));
11358 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11359 PyObject
*resultobj
= 0;
11360 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11364 PyObject
*swig_obj
[1] ;
11366 if (!args
) SWIG_fail
;
11367 swig_obj
[0] = args
;
11368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11372 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (arg1
)->GetRect();
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11386 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11387 PyObject
*resultobj
= 0;
11388 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11392 PyObject
*swig_obj
[1] ;
11394 if (!args
) SWIG_fail
;
11395 swig_obj
[0] = args
;
11396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11397 if (!SWIG_IsOK(res1
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11400 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (bool)(arg1
)->HaveRects();
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11416 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11417 PyObject
*resultobj
= 0;
11418 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11421 PyObject
*swig_obj
[1] ;
11423 if (!args
) SWIG_fail
;
11424 swig_obj
[0] = args
;
11425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11426 if (!SWIG_IsOK(res1
)) {
11427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11429 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= SWIG_Py_Void();
11443 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11444 PyObject
*resultobj
= 0;
11445 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11448 PyObject
*swig_obj
[1] ;
11450 if (!args
) SWIG_fail
;
11451 swig_obj
[0] = args
;
11452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11456 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 wxRegionIterator_Next(arg1
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_Py_Void();
11470 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11471 PyObject
*resultobj
= 0;
11472 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11476 PyObject
*swig_obj
[1] ;
11478 if (!args
) SWIG_fail
;
11479 swig_obj
[0] = args
;
11480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11484 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11503 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11504 return SWIG_Py_Void();
11507 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11508 return SWIG_Python_InitShadowInstance(args
);
11511 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11512 PyObject
*resultobj
= 0;
11513 wxNativeFontInfo
*result
= 0 ;
11515 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11529 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 PyObject
*resultobj
= 0;
11531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11534 PyObject
*swig_obj
[1] ;
11536 if (!args
) SWIG_fail
;
11537 swig_obj
[0] = args
;
11538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11539 if (!SWIG_IsOK(res1
)) {
11540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11542 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_Py_Void();
11557 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11558 PyObject
*resultobj
= 0;
11559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11562 PyObject
*swig_obj
[1] ;
11564 if (!args
) SWIG_fail
;
11565 swig_obj
[0] = args
;
11566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11570 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= SWIG_Py_Void();
11584 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
= 0;
11586 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11592 PyObject
* obj0
= 0 ;
11593 PyObject
* obj1
= 0 ;
11594 char * kwnames
[] = {
11595 (char *) "self",(char *) "font", NULL
11598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11600 if (!SWIG_IsOK(res1
)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11603 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11605 if (!SWIG_IsOK(res2
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11611 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_Py_Void();
11625 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11626 PyObject
*resultobj
= 0;
11627 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11631 PyObject
*swig_obj
[1] ;
11633 if (!args
) SWIG_fail
;
11634 swig_obj
[0] = args
;
11635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11636 if (!SWIG_IsOK(res1
)) {
11637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11639 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_From_int(static_cast< int >(result
));
11653 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11654 PyObject
*resultobj
= 0;
11655 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11656 wxFontStyle result
;
11659 PyObject
*swig_obj
[1] ;
11661 if (!args
) SWIG_fail
;
11662 swig_obj
[0] = args
;
11663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11664 if (!SWIG_IsOK(res1
)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11667 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_From_int(static_cast< int >(result
));
11681 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11684 wxFontWeight result
;
11687 PyObject
*swig_obj
[1] ;
11689 if (!args
) SWIG_fail
;
11690 swig_obj
[0] = args
;
11691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11692 if (!SWIG_IsOK(res1
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11695 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_From_int(static_cast< int >(result
));
11709 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 PyObject
*resultobj
= 0;
11711 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11715 PyObject
*swig_obj
[1] ;
11717 if (!args
) SWIG_fail
;
11718 swig_obj
[0] = args
;
11719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11723 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11739 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11740 PyObject
*resultobj
= 0;
11741 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11745 PyObject
*swig_obj
[1] ;
11747 if (!args
) SWIG_fail
;
11748 swig_obj
[0] = args
;
11749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11750 if (!SWIG_IsOK(res1
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11753 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11773 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11774 PyObject
*resultobj
= 0;
11775 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11776 wxFontFamily result
;
11779 PyObject
*swig_obj
[1] ;
11781 if (!args
) SWIG_fail
;
11782 swig_obj
[0] = args
;
11783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11784 if (!SWIG_IsOK(res1
)) {
11785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11787 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= SWIG_From_int(static_cast< int >(result
));
11801 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11802 PyObject
*resultobj
= 0;
11803 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11804 wxFontEncoding result
;
11807 PyObject
*swig_obj
[1] ;
11809 if (!args
) SWIG_fail
;
11810 swig_obj
[0] = args
;
11811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11815 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_From_int(static_cast< int >(result
));
11829 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
= 0;
11831 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 char * kwnames
[] = {
11840 (char *) "self",(char *) "pointsize", NULL
11843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11848 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11850 if (!SWIG_IsOK(ecode2
)) {
11851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11853 arg2
= static_cast< int >(val2
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 (arg1
)->SetPointSize(arg2
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_Py_Void();
11867 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 char * kwnames
[] = {
11878 (char *) "self",(char *) "style", NULL
11881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11886 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11888 if (!SWIG_IsOK(ecode2
)) {
11889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11891 arg2
= static_cast< wxFontStyle
>(val2
);
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetStyle(arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_Py_Void();
11905 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
= 0;
11907 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11908 wxFontWeight arg2
;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 char * kwnames
[] = {
11916 (char *) "self",(char *) "weight", NULL
11919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11921 if (!SWIG_IsOK(res1
)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11926 if (!SWIG_IsOK(ecode2
)) {
11927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11929 arg2
= static_cast< wxFontWeight
>(val2
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 (arg1
)->SetWeight(arg2
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_Py_Void();
11943 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
= 0;
11945 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char * kwnames
[] = {
11954 (char *) "self",(char *) "underlined", NULL
11957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11962 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11964 if (!SWIG_IsOK(ecode2
)) {
11965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11967 arg2
= static_cast< bool >(val2
);
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->SetUnderlined(arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_Py_Void();
11981 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
= 0;
11983 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 PyObject
* obj1
= 0 ;
11990 char * kwnames
[] = {
11991 (char *) "self",(char *) "facename", NULL
11994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11996 if (!SWIG_IsOK(res1
)) {
11997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11999 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12001 wxString
* sptr
= wxString_in_helper(obj1
);
12002 if (sptr
== NULL
) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (bool)(arg1
)->SetFaceName(arg2
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12021 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
= 0;
12023 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12024 wxFontFamily arg2
;
12029 PyObject
* obj0
= 0 ;
12030 PyObject
* obj1
= 0 ;
12031 char * kwnames
[] = {
12032 (char *) "self",(char *) "family", NULL
12035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12037 if (!SWIG_IsOK(res1
)) {
12038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12040 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12042 if (!SWIG_IsOK(ecode2
)) {
12043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12045 arg2
= static_cast< wxFontFamily
>(val2
);
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->SetFamily(arg2
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_Py_Void();
12059 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12062 wxFontEncoding arg2
;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 char * kwnames
[] = {
12070 (char *) "self",(char *) "encoding", NULL
12073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12078 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12080 if (!SWIG_IsOK(ecode2
)) {
12081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12083 arg2
= static_cast< wxFontEncoding
>(val2
);
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 (arg1
)->SetEncoding(arg2
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= SWIG_Py_Void();
12097 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
= 0;
12099 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12100 wxString
*arg2
= 0 ;
12104 bool temp2
= false ;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char * kwnames
[] = {
12108 (char *) "self",(char *) "s", NULL
12111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12116 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12118 arg2
= wxString_in_helper(obj1
);
12119 if (arg2
== NULL
) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 PyObject
*resultobj
= 0;
12147 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12151 PyObject
*swig_obj
[1] ;
12153 if (!args
) SWIG_fail
;
12154 swig_obj
[0] = args
;
12155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12159 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12179 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 PyObject
*resultobj
= 0;
12181 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12193 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= wxNativeFontInfo___str__(arg1
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12213 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
= 0;
12215 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12216 wxString
*arg2
= 0 ;
12220 bool temp2
= false ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char * kwnames
[] = {
12224 (char *) "self",(char *) "s", NULL
12227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12229 if (!SWIG_IsOK(res1
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12232 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12234 arg2
= wxString_in_helper(obj1
);
12235 if (arg2
== NULL
) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12261 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12262 PyObject
*resultobj
= 0;
12263 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12267 PyObject
*swig_obj
[1] ;
12269 if (!args
) SWIG_fail
;
12270 swig_obj
[0] = args
;
12271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12272 if (!SWIG_IsOK(res1
)) {
12273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12275 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12295 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12298 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12299 return SWIG_Py_Void();
12302 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12303 return SWIG_Python_InitShadowInstance(args
);
12306 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12309 wxString
*arg2
= (wxString
*) 0 ;
12312 bool temp2
= false ;
12313 PyObject
*swig_obj
[2] ;
12315 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12320 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12322 arg2
= wxString_in_helper(swig_obj
[1]);
12323 if (arg2
== NULL
) SWIG_fail
;
12326 if (arg1
) (arg1
)->facename
= *arg2
;
12328 resultobj
= SWIG_Py_Void();
12343 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12344 PyObject
*resultobj
= 0;
12345 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12346 wxString
*result
= 0 ;
12349 PyObject
*swig_obj
[1] ;
12351 if (!args
) SWIG_fail
;
12352 swig_obj
[0] = args
;
12353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12354 if (!SWIG_IsOK(res1
)) {
12355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12357 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12358 result
= (wxString
*)& ((arg1
)->facename
);
12361 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12363 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12372 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12373 PyObject
*resultobj
= 0;
12374 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12375 wxFontEncoding arg2
;
12380 PyObject
*swig_obj
[2] ;
12382 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12387 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12388 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12389 if (!SWIG_IsOK(ecode2
)) {
12390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12392 arg2
= static_cast< wxFontEncoding
>(val2
);
12393 if (arg1
) (arg1
)->encoding
= arg2
;
12395 resultobj
= SWIG_Py_Void();
12402 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 PyObject
*resultobj
= 0;
12404 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12405 wxFontEncoding result
;
12408 PyObject
*swig_obj
[1] ;
12410 if (!args
) SWIG_fail
;
12411 swig_obj
[0] = args
;
12412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12416 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12417 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12418 resultobj
= SWIG_From_int(static_cast< int >(result
));
12425 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12426 PyObject
*resultobj
= 0;
12427 wxNativeEncodingInfo
*result
= 0 ;
12429 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12443 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12444 PyObject
*resultobj
= 0;
12445 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12448 PyObject
*swig_obj
[1] ;
12450 if (!args
) SWIG_fail
;
12451 swig_obj
[0] = args
;
12452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12456 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_Py_Void();
12471 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
= 0;
12473 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12474 wxString
*arg2
= 0 ;
12478 bool temp2
= false ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 char * kwnames
[] = {
12482 (char *) "self",(char *) "s", NULL
12485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12487 if (!SWIG_IsOK(res1
)) {
12488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12490 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12492 arg2
= wxString_in_helper(obj1
);
12493 if (arg2
== NULL
) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12519 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12520 PyObject
*resultobj
= 0;
12521 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12525 PyObject
*swig_obj
[1] ;
12527 if (!args
) SWIG_fail
;
12528 swig_obj
[0] = args
;
12529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12533 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12553 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12556 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12557 return SWIG_Py_Void();
12560 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12561 return SWIG_Python_InitShadowInstance(args
);
12564 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
= 0;
12566 wxFontEncoding arg1
;
12567 wxNativeEncodingInfo
*result
= 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char * kwnames
[] = {
12572 (char *) "encoding", NULL
12575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12577 if (!SWIG_IsOK(ecode1
)) {
12578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12580 arg1
= static_cast< wxFontEncoding
>(val1
);
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12594 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
= 0;
12596 wxNativeEncodingInfo
*arg1
= 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "info", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12606 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12613 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12629 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12630 PyObject
*resultobj
= 0;
12631 wxFontMapper
*result
= 0 ;
12633 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= (wxFontMapper
*)new wxFontMapper();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12647 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12648 PyObject
*resultobj
= 0;
12649 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12652 PyObject
*swig_obj
[1] ;
12654 if (!args
) SWIG_fail
;
12655 swig_obj
[0] = args
;
12656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12657 if (!SWIG_IsOK(res1
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12660 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= SWIG_Py_Void();
12675 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12676 PyObject
*resultobj
= 0;
12677 wxFontMapper
*result
= 0 ;
12679 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (wxFontMapper
*)wxFontMapper::Get();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12693 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
= 0;
12695 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12696 wxFontMapper
*result
= 0 ;
12699 PyObject
* obj0
= 0 ;
12700 char * kwnames
[] = {
12701 (char *) "mapper", NULL
12704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12706 if (!SWIG_IsOK(res1
)) {
12707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12709 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12723 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12726 wxString
*arg2
= 0 ;
12727 bool arg3
= (bool) true ;
12728 wxFontEncoding result
;
12731 bool temp2
= false ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 PyObject
* obj2
= 0 ;
12737 char * kwnames
[] = {
12738 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12743 if (!SWIG_IsOK(res1
)) {
12744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12746 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12748 arg2
= wxString_in_helper(obj1
);
12749 if (arg2
== NULL
) SWIG_fail
;
12753 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12754 if (!SWIG_IsOK(ecode3
)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12757 arg3
= static_cast< bool >(val3
);
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= SWIG_From_int(static_cast< int >(result
));
12780 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12781 PyObject
*resultobj
= 0;
12784 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12798 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
= 0;
12801 wxFontEncoding result
;
12804 PyObject
* obj0
= 0 ;
12805 char * kwnames
[] = {
12809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12810 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12811 if (!SWIG_IsOK(ecode1
)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12814 arg1
= static_cast< size_t >(val1
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_From_int(static_cast< int >(result
));
12828 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12830 wxFontEncoding arg1
;
12834 PyObject
* obj0
= 0 ;
12835 char * kwnames
[] = {
12836 (char *) "encoding", NULL
12839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12840 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12841 if (!SWIG_IsOK(ecode1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12844 arg1
= static_cast< wxFontEncoding
>(val1
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= wxFontMapper::GetEncodingName(arg1
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12864 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxFontEncoding arg1
;
12870 PyObject
* obj0
= 0 ;
12871 char * kwnames
[] = {
12872 (char *) "encoding", NULL
12875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12876 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12877 if (!SWIG_IsOK(ecode1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12880 arg1
= static_cast< wxFontEncoding
>(val1
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= wxFontMapper::GetEncodingDescription(arg1
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12900 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
= 0;
12902 wxString
*arg1
= 0 ;
12903 wxFontEncoding result
;
12904 bool temp1
= false ;
12905 PyObject
* obj0
= 0 ;
12906 char * kwnames
[] = {
12907 (char *) "name", NULL
12910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12912 arg1
= wxString_in_helper(obj0
);
12913 if (arg1
== NULL
) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= SWIG_From_int(static_cast< int >(result
));
12937 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
= 0;
12939 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12940 wxString
*arg2
= 0 ;
12943 bool temp2
= false ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 char * kwnames
[] = {
12947 (char *) "self",(char *) "prefix", NULL
12950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12952 if (!SWIG_IsOK(res1
)) {
12953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12955 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12957 arg2
= wxString_in_helper(obj1
);
12958 if (arg2
== NULL
) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_Py_Void();
12982 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12983 PyObject
*resultobj
= 0;
12986 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= wxFontMapper::GetDefaultConfigPath();
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13006 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
= 0;
13008 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13009 wxFontEncoding arg2
;
13010 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13011 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13012 bool arg4
= (bool) true ;
13013 PyObject
*result
= 0 ;
13018 bool temp3
= false ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 PyObject
* obj2
= 0 ;
13024 PyObject
* obj3
= 0 ;
13025 char * kwnames
[] = {
13026 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13034 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13036 if (!SWIG_IsOK(ecode2
)) {
13037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13039 arg2
= static_cast< wxFontEncoding
>(val2
);
13042 arg3
= wxString_in_helper(obj2
);
13043 if (arg3
== NULL
) SWIG_fail
;
13048 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13049 if (!SWIG_IsOK(ecode4
)) {
13050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13052 arg4
= static_cast< bool >(val4
);
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
;
13075 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13078 wxFontEncoding arg2
;
13079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13086 bool temp3
= false ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 PyObject
* obj2
= 0 ;
13090 char * kwnames
[] = {
13091 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13096 if (!SWIG_IsOK(res1
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13099 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13101 if (!SWIG_IsOK(ecode2
)) {
13102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13104 arg2
= static_cast< wxFontEncoding
>(val2
);
13107 arg3
= wxString_in_helper(obj2
);
13108 if (arg3
== NULL
) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13135 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= 0;
13137 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13138 wxWindow
*arg2
= (wxWindow
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "self",(char *) "parent", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13154 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13156 if (!SWIG_IsOK(res2
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->SetDialogParent(arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_Py_Void();
13173 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
= 0;
13175 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13176 wxString
*arg2
= 0 ;
13179 bool temp2
= false ;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char * kwnames
[] = {
13183 (char *) "self",(char *) "title", NULL
13186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13188 if (!SWIG_IsOK(res1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13191 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13193 arg2
= wxString_in_helper(obj1
);
13194 if (arg2
== NULL
) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_Py_Void();
13218 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13221 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13222 return SWIG_Py_Void();
13225 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13226 return SWIG_Python_InitShadowInstance(args
);
13229 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
= 0;
13235 bool arg5
= (bool) false ;
13236 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13237 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13238 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13239 wxFont
*result
= 0 ;
13250 bool temp6
= false ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 PyObject
* obj3
= 0 ;
13257 PyObject
* obj4
= 0 ;
13258 PyObject
* obj5
= 0 ;
13259 PyObject
* obj6
= 0 ;
13260 char * kwnames
[] = {
13261 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13265 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13266 if (!SWIG_IsOK(ecode1
)) {
13267 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13269 arg1
= static_cast< int >(val1
);
13270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13271 if (!SWIG_IsOK(ecode2
)) {
13272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13274 arg2
= static_cast< int >(val2
);
13275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13276 if (!SWIG_IsOK(ecode3
)) {
13277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13279 arg3
= static_cast< int >(val3
);
13280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13281 if (!SWIG_IsOK(ecode4
)) {
13282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13284 arg4
= static_cast< int >(val4
);
13286 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13287 if (!SWIG_IsOK(ecode5
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13290 arg5
= static_cast< bool >(val5
);
13294 arg6
= wxString_in_helper(obj5
);
13295 if (arg6
== NULL
) SWIG_fail
;
13300 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13301 if (!SWIG_IsOK(ecode7
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13304 arg7
= static_cast< wxFontEncoding
>(val7
);
13307 if (!wxPyCheckForApp()) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13328 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13329 PyObject
*resultobj
= 0;
13330 wxFont
*arg1
= (wxFont
*) 0 ;
13333 PyObject
*swig_obj
[1] ;
13335 if (!args
) SWIG_fail
;
13336 swig_obj
[0] = args
;
13337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13338 if (!SWIG_IsOK(res1
)) {
13339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13341 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_Py_Void();
13356 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
= 0;
13358 wxNativeFontInfo
*arg1
= 0 ;
13359 wxFont
*result
= 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char * kwnames
[] = {
13364 (char *) "info", NULL
13367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13368 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13369 if (!SWIG_IsOK(res1
)) {
13370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13375 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13377 if (!wxPyCheckForApp()) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13390 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
= 0;
13392 wxString
*arg1
= 0 ;
13393 wxFont
*result
= 0 ;
13394 bool temp1
= false ;
13395 PyObject
* obj0
= 0 ;
13396 char * kwnames
[] = {
13397 (char *) "info", NULL
13400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13402 arg1
= wxString_in_helper(obj0
);
13403 if (arg1
== NULL
) SWIG_fail
;
13407 if (!wxPyCheckForApp()) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13428 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
= 0;
13431 wxFontFamily arg2
;
13432 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13433 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13434 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13435 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13436 wxFont
*result
= 0 ;
13443 bool temp4
= false ;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 PyObject
* obj2
= 0 ;
13449 PyObject
* obj3
= 0 ;
13450 PyObject
* obj4
= 0 ;
13451 char * kwnames
[] = {
13452 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13457 if (!SWIG_IsOK(ecode1
)) {
13458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13460 arg1
= static_cast< int >(val1
);
13461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13462 if (!SWIG_IsOK(ecode2
)) {
13463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13465 arg2
= static_cast< wxFontFamily
>(val2
);
13467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13468 if (!SWIG_IsOK(ecode3
)) {
13469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13471 arg3
= static_cast< int >(val3
);
13475 arg4
= wxString_in_helper(obj3
);
13476 if (arg4
== NULL
) SWIG_fail
;
13481 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13482 if (!SWIG_IsOK(ecode5
)) {
13483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13485 arg5
= static_cast< wxFontEncoding
>(val5
);
13488 if (!wxPyCheckForApp()) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13509 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
= 0;
13515 bool arg5
= (bool) false ;
13516 wxString
const &arg6_defvalue
= wxEmptyString
;
13517 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13518 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13519 wxFont
*result
= 0 ;
13529 bool temp6
= false ;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 PyObject
* obj2
= 0 ;
13535 PyObject
* obj3
= 0 ;
13536 PyObject
* obj4
= 0 ;
13537 PyObject
* obj5
= 0 ;
13538 PyObject
* obj6
= 0 ;
13539 char * kwnames
[] = {
13540 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13546 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13549 if (!SWIG_IsOK(ecode2
)) {
13550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13552 arg2
= static_cast< int >(val2
);
13553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13554 if (!SWIG_IsOK(ecode3
)) {
13555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13557 arg3
= static_cast< int >(val3
);
13558 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13559 if (!SWIG_IsOK(ecode4
)) {
13560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13562 arg4
= static_cast< int >(val4
);
13564 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13565 if (!SWIG_IsOK(ecode5
)) {
13566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13568 arg5
= static_cast< bool >(val5
);
13572 arg6
= wxString_in_helper(obj5
);
13573 if (arg6
== NULL
) SWIG_fail
;
13578 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13579 if (!SWIG_IsOK(ecode7
)) {
13580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13582 arg7
= static_cast< wxFontEncoding
>(val7
);
13585 if (!wxPyCheckForApp()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13606 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
= 0;
13609 wxFontFamily arg2
;
13610 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13611 wxString
const &arg4_defvalue
= wxEmptyString
;
13612 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13613 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13614 wxFont
*result
= 0 ;
13620 bool temp4
= false ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 PyObject
* obj3
= 0 ;
13627 PyObject
* obj4
= 0 ;
13628 char * kwnames
[] = {
13629 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13635 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13638 if (!SWIG_IsOK(ecode2
)) {
13639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13641 arg2
= static_cast< wxFontFamily
>(val2
);
13643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13644 if (!SWIG_IsOK(ecode3
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13647 arg3
= static_cast< int >(val3
);
13651 arg4
= wxString_in_helper(obj3
);
13652 if (arg4
== NULL
) SWIG_fail
;
13657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13658 if (!SWIG_IsOK(ecode5
)) {
13659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13661 arg5
= static_cast< wxFontEncoding
>(val5
);
13664 if (!wxPyCheckForApp()) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13685 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13686 PyObject
*resultobj
= 0;
13687 wxFont
*arg1
= (wxFont
*) 0 ;
13691 PyObject
*swig_obj
[1] ;
13693 if (!args
) SWIG_fail
;
13694 swig_obj
[0] = args
;
13695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13699 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (bool)((wxFont
const *)arg1
)->Ok();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13715 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
= 0;
13717 wxFont
*arg1
= (wxFont
*) 0 ;
13718 wxFont
*arg2
= (wxFont
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 char * kwnames
[] = {
13727 (char *) "self",(char *) "other", NULL
13730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13732 if (!SWIG_IsOK(res1
)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13735 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13737 if (!SWIG_IsOK(res2
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13740 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13756 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
= 0;
13758 wxFont
*arg1
= (wxFont
*) 0 ;
13759 wxFont
*arg2
= (wxFont
*) 0 ;
13765 PyObject
* obj0
= 0 ;
13766 PyObject
* obj1
= 0 ;
13767 char * kwnames
[] = {
13768 (char *) "self",(char *) "other", NULL
13771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13773 if (!SWIG_IsOK(res1
)) {
13774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13776 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13778 if (!SWIG_IsOK(res2
)) {
13779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13781 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13797 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13798 PyObject
*resultobj
= 0;
13799 wxFont
*arg1
= (wxFont
*) 0 ;
13803 PyObject
*swig_obj
[1] ;
13805 if (!args
) SWIG_fail
;
13806 swig_obj
[0] = args
;
13807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13808 if (!SWIG_IsOK(res1
)) {
13809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13811 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_From_int(static_cast< int >(result
));
13825 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13826 PyObject
*resultobj
= 0;
13827 wxFont
*arg1
= (wxFont
*) 0 ;
13831 PyObject
*swig_obj
[1] ;
13833 if (!args
) SWIG_fail
;
13834 swig_obj
[0] = args
;
13835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13836 if (!SWIG_IsOK(res1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13839 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13853 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13854 PyObject
*resultobj
= 0;
13855 wxFont
*arg1
= (wxFont
*) 0 ;
13859 PyObject
*swig_obj
[1] ;
13861 if (!args
) SWIG_fail
;
13862 swig_obj
[0] = args
;
13863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13864 if (!SWIG_IsOK(res1
)) {
13865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13867 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13883 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 PyObject
*resultobj
= 0;
13885 wxFont
*arg1
= (wxFont
*) 0 ;
13889 PyObject
*swig_obj
[1] ;
13891 if (!args
) SWIG_fail
;
13892 swig_obj
[0] = args
;
13893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13894 if (!SWIG_IsOK(res1
)) {
13895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13897 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= SWIG_From_int(static_cast< int >(result
));
13911 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13912 PyObject
*resultobj
= 0;
13913 wxFont
*arg1
= (wxFont
*) 0 ;
13917 PyObject
*swig_obj
[1] ;
13919 if (!args
) SWIG_fail
;
13920 swig_obj
[0] = args
;
13921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13922 if (!SWIG_IsOK(res1
)) {
13923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13925 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_From_int(static_cast< int >(result
));
13939 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13940 PyObject
*resultobj
= 0;
13941 wxFont
*arg1
= (wxFont
*) 0 ;
13945 PyObject
*swig_obj
[1] ;
13947 if (!args
) SWIG_fail
;
13948 swig_obj
[0] = args
;
13949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13950 if (!SWIG_IsOK(res1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13953 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_From_int(static_cast< int >(result
));
13967 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13968 PyObject
*resultobj
= 0;
13969 wxFont
*arg1
= (wxFont
*) 0 ;
13973 PyObject
*swig_obj
[1] ;
13975 if (!args
) SWIG_fail
;
13976 swig_obj
[0] = args
;
13977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13978 if (!SWIG_IsOK(res1
)) {
13979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
13981 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13997 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13998 PyObject
*resultobj
= 0;
13999 wxFont
*arg1
= (wxFont
*) 0 ;
14003 PyObject
*swig_obj
[1] ;
14005 if (!args
) SWIG_fail
;
14006 swig_obj
[0] = args
;
14007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14011 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= ((wxFont
const *)arg1
)->GetFaceName();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14031 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14032 PyObject
*resultobj
= 0;
14033 wxFont
*arg1
= (wxFont
*) 0 ;
14034 wxFontEncoding result
;
14037 PyObject
*swig_obj
[1] ;
14039 if (!args
) SWIG_fail
;
14040 swig_obj
[0] = args
;
14041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14042 if (!SWIG_IsOK(res1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14045 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_int(static_cast< int >(result
));
14059 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14060 PyObject
*resultobj
= 0;
14061 wxFont
*arg1
= (wxFont
*) 0 ;
14062 wxNativeFontInfo
*result
= 0 ;
14065 PyObject
*swig_obj
[1] ;
14067 if (!args
) SWIG_fail
;
14068 swig_obj
[0] = args
;
14069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14070 if (!SWIG_IsOK(res1
)) {
14071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14073 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14087 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14088 PyObject
*resultobj
= 0;
14089 wxFont
*arg1
= (wxFont
*) 0 ;
14093 PyObject
*swig_obj
[1] ;
14095 if (!args
) SWIG_fail
;
14096 swig_obj
[0] = args
;
14097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14098 if (!SWIG_IsOK(res1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14101 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14117 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14118 PyObject
*resultobj
= 0;
14119 wxFont
*arg1
= (wxFont
*) 0 ;
14123 PyObject
*swig_obj
[1] ;
14125 if (!args
) SWIG_fail
;
14126 swig_obj
[0] = args
;
14127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14128 if (!SWIG_IsOK(res1
)) {
14129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14131 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14151 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14152 PyObject
*resultobj
= 0;
14153 wxFont
*arg1
= (wxFont
*) 0 ;
14157 PyObject
*swig_obj
[1] ;
14159 if (!args
) SWIG_fail
;
14160 swig_obj
[0] = args
;
14161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14162 if (!SWIG_IsOK(res1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14165 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14185 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
= 0;
14187 wxFont
*arg1
= (wxFont
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj1
= 0 ;
14195 char * kwnames
[] = {
14196 (char *) "self",(char *) "pointSize", NULL
14199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14204 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14206 if (!SWIG_IsOK(ecode2
)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14209 arg2
= static_cast< int >(val2
);
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 (arg1
)->SetPointSize(arg2
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_Py_Void();
14223 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
= 0;
14225 wxFont
*arg1
= (wxFont
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 char * kwnames
[] = {
14233 (char *) "self",(char *) "pixelSize", NULL
14236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14238 if (!SWIG_IsOK(res1
)) {
14239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14241 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14244 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_Py_Void();
14259 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
= 0;
14261 wxFont
*arg1
= (wxFont
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char * kwnames
[] = {
14270 (char *) "self",(char *) "family", NULL
14273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14275 if (!SWIG_IsOK(res1
)) {
14276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14278 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14280 if (!SWIG_IsOK(ecode2
)) {
14281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14283 arg2
= static_cast< int >(val2
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 (arg1
)->SetFamily(arg2
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_Py_Void();
14297 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
= 0;
14299 wxFont
*arg1
= (wxFont
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 char * kwnames
[] = {
14308 (char *) "self",(char *) "style", NULL
14311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14316 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14318 if (!SWIG_IsOK(ecode2
)) {
14319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14321 arg2
= static_cast< int >(val2
);
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 (arg1
)->SetStyle(arg2
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_Py_Void();
14335 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
= 0;
14337 wxFont
*arg1
= (wxFont
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 char * kwnames
[] = {
14346 (char *) "self",(char *) "weight", NULL
14349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14351 if (!SWIG_IsOK(res1
)) {
14352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14354 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14356 if (!SWIG_IsOK(ecode2
)) {
14357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14359 arg2
= static_cast< int >(val2
);
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 (arg1
)->SetWeight(arg2
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_Py_Void();
14373 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
= 0;
14375 wxFont
*arg1
= (wxFont
*) 0 ;
14376 wxString
*arg2
= 0 ;
14380 bool temp2
= false ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char * kwnames
[] = {
14384 (char *) "self",(char *) "faceName", NULL
14387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14389 if (!SWIG_IsOK(res1
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14392 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14394 arg2
= wxString_in_helper(obj1
);
14395 if (arg2
== NULL
) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14421 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
= 0;
14423 wxFont
*arg1
= (wxFont
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 char * kwnames
[] = {
14432 (char *) "self",(char *) "underlined", NULL
14435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14437 if (!SWIG_IsOK(res1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14440 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14441 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14442 if (!SWIG_IsOK(ecode2
)) {
14443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14445 arg2
= static_cast< bool >(val2
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 (arg1
)->SetUnderlined(arg2
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_Py_Void();
14459 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
= 0;
14461 wxFont
*arg1
= (wxFont
*) 0 ;
14462 wxFontEncoding arg2
;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 char * kwnames
[] = {
14470 (char *) "self",(char *) "encoding", NULL
14473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14475 if (!SWIG_IsOK(res1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14478 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14480 if (!SWIG_IsOK(ecode2
)) {
14481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14483 arg2
= static_cast< wxFontEncoding
>(val2
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->SetEncoding(arg2
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_Py_Void();
14497 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
= 0;
14499 wxFont
*arg1
= (wxFont
*) 0 ;
14500 wxNativeFontInfo
*arg2
= 0 ;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 char * kwnames
[] = {
14508 (char *) "self",(char *) "info", NULL
14511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14516 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14518 if (!SWIG_IsOK(res2
)) {
14519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14524 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_Py_Void();
14538 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
= 0;
14540 wxFont
*arg1
= (wxFont
*) 0 ;
14541 wxString
*arg2
= 0 ;
14545 bool temp2
= false ;
14546 PyObject
* obj0
= 0 ;
14547 PyObject
* obj1
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "self",(char *) "info", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14557 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14559 arg2
= wxString_in_helper(obj1
);
14560 if (arg2
== NULL
) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14586 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
= 0;
14588 wxFont
*arg1
= (wxFont
*) 0 ;
14589 wxString
*arg2
= 0 ;
14593 bool temp2
= false ;
14594 PyObject
* obj0
= 0 ;
14595 PyObject
* obj1
= 0 ;
14596 char * kwnames
[] = {
14597 (char *) "self",(char *) "info", NULL
14600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14602 if (!SWIG_IsOK(res1
)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14605 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14607 arg2
= wxString_in_helper(obj1
);
14608 if (arg2
== NULL
) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14634 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14635 PyObject
*resultobj
= 0;
14636 wxFont
*arg1
= (wxFont
*) 0 ;
14640 PyObject
*swig_obj
[1] ;
14642 if (!args
) SWIG_fail
;
14643 swig_obj
[0] = args
;
14644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14648 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14668 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 PyObject
*resultobj
= 0;
14670 wxFont
*arg1
= (wxFont
*) 0 ;
14674 PyObject
*swig_obj
[1] ;
14676 if (!args
) SWIG_fail
;
14677 swig_obj
[0] = args
;
14678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14679 if (!SWIG_IsOK(res1
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14682 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= ((wxFont
const *)arg1
)->GetStyleString();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14702 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14703 PyObject
*resultobj
= 0;
14704 wxFont
*arg1
= (wxFont
*) 0 ;
14708 PyObject
*swig_obj
[1] ;
14710 if (!args
) SWIG_fail
;
14711 swig_obj
[0] = args
;
14712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14713 if (!SWIG_IsOK(res1
)) {
14714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14716 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= ((wxFont
const *)arg1
)->GetWeightString();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14736 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
= 0;
14738 wxFont
*arg1
= (wxFont
*) 0 ;
14739 bool arg2
= (bool) true ;
14744 PyObject
* obj0
= 0 ;
14745 PyObject
* obj1
= 0 ;
14746 char * kwnames
[] = {
14747 (char *) "self",(char *) "no", NULL
14750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14755 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14758 if (!SWIG_IsOK(ecode2
)) {
14759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14761 arg2
= static_cast< bool >(val2
);
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 (arg1
)->SetNoAntiAliasing(arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_Py_Void();
14776 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14777 PyObject
*resultobj
= 0;
14778 wxFont
*arg1
= (wxFont
*) 0 ;
14782 PyObject
*swig_obj
[1] ;
14784 if (!args
) SWIG_fail
;
14785 swig_obj
[0] = args
;
14786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14790 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14806 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14807 PyObject
*resultobj
= 0;
14808 wxFontEncoding result
;
14810 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14812 if (!wxPyCheckForApp()) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= SWIG_From_int(static_cast< int >(result
));
14825 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
= 0;
14827 wxFontEncoding arg1
;
14830 PyObject
* obj0
= 0 ;
14831 char * kwnames
[] = {
14832 (char *) "encoding", NULL
14835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14836 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14837 if (!SWIG_IsOK(ecode1
)) {
14838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14840 arg1
= static_cast< wxFontEncoding
>(val1
);
14842 if (!wxPyCheckForApp()) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 wxFont::SetDefaultEncoding(arg1
);
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= SWIG_Py_Void();
14855 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14858 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14859 return SWIG_Py_Void();
14862 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14863 return SWIG_Python_InitShadowInstance(args
);
14866 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14867 PyObject
*resultobj
= 0;
14868 wxPyFontEnumerator
*result
= 0 ;
14870 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14872 if (!wxPyCheckForApp()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14885 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14886 PyObject
*resultobj
= 0;
14887 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14890 PyObject
*swig_obj
[1] ;
14892 if (!args
) SWIG_fail
;
14893 swig_obj
[0] = args
;
14894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14895 if (!SWIG_IsOK(res1
)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14898 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_Py_Void();
14913 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
= 0;
14915 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14916 PyObject
*arg2
= (PyObject
*) 0 ;
14917 PyObject
*arg3
= (PyObject
*) 0 ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 PyObject
* obj2
= 0 ;
14926 PyObject
* obj3
= 0 ;
14927 char * kwnames
[] = {
14928 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14936 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14939 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14940 if (!SWIG_IsOK(ecode4
)) {
14941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14943 arg4
= static_cast< bool >(val4
);
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_Py_Void();
14957 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
= 0;
14959 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14960 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14961 bool arg3
= (bool) false ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 PyObject
* obj2
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14981 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14984 if (!SWIG_IsOK(ecode2
)) {
14985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14987 arg2
= static_cast< wxFontEncoding
>(val2
);
14990 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14991 if (!SWIG_IsOK(ecode3
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
14994 arg3
= static_cast< bool >(val3
);
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15011 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
= 0;
15013 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15014 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15015 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15019 bool temp2
= false ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 char * kwnames
[] = {
15023 (char *) "self",(char *) "facename", NULL
15026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15028 if (!SWIG_IsOK(res1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15031 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15034 arg2
= wxString_in_helper(obj1
);
15035 if (arg2
== NULL
) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15062 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15063 PyObject
*resultobj
= 0;
15064 PyObject
*result
= 0 ;
15066 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= result
;
15080 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15081 PyObject
*resultobj
= 0;
15082 PyObject
*result
= 0 ;
15084 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= result
;
15098 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxString
*arg1
= 0 ;
15102 bool temp1
= false ;
15103 PyObject
* obj0
= 0 ;
15104 char * kwnames
[] = {
15105 (char *) "str", NULL
15108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15110 arg1
= wxString_in_helper(obj0
);
15111 if (arg1
== NULL
) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15137 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15140 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15141 return SWIG_Py_Void();
15144 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15145 return SWIG_Python_InitShadowInstance(args
);
15148 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15149 PyObject
*resultobj
= 0;
15150 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15156 PyObject
*swig_obj
[2] ;
15158 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15160 if (!SWIG_IsOK(res1
)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15163 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15164 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15165 if (!SWIG_IsOK(ecode2
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15168 arg2
= static_cast< int >(val2
);
15169 if (arg1
) (arg1
)->Language
= arg2
;
15171 resultobj
= SWIG_Py_Void();
15178 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15179 PyObject
*resultobj
= 0;
15180 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15184 PyObject
*swig_obj
[1] ;
15186 if (!args
) SWIG_fail
;
15187 swig_obj
[0] = args
;
15188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15189 if (!SWIG_IsOK(res1
)) {
15190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15192 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15193 result
= (int) ((arg1
)->Language
);
15194 resultobj
= SWIG_From_int(static_cast< int >(result
));
15201 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15202 PyObject
*resultobj
= 0;
15203 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15204 wxString
*arg2
= (wxString
*) 0 ;
15207 bool temp2
= false ;
15208 PyObject
*swig_obj
[2] ;
15210 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15215 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15217 arg2
= wxString_in_helper(swig_obj
[1]);
15218 if (arg2
== NULL
) SWIG_fail
;
15221 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15223 resultobj
= SWIG_Py_Void();
15238 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15239 PyObject
*resultobj
= 0;
15240 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15241 wxString
*result
= 0 ;
15244 PyObject
*swig_obj
[1] ;
15246 if (!args
) SWIG_fail
;
15247 swig_obj
[0] = args
;
15248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15249 if (!SWIG_IsOK(res1
)) {
15250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15252 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15253 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15256 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15258 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15267 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15268 PyObject
*resultobj
= 0;
15269 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15270 wxString
*arg2
= (wxString
*) 0 ;
15273 bool temp2
= false ;
15274 PyObject
*swig_obj
[2] ;
15276 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15278 if (!SWIG_IsOK(res1
)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15281 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15283 arg2
= wxString_in_helper(swig_obj
[1]);
15284 if (arg2
== NULL
) SWIG_fail
;
15287 if (arg1
) (arg1
)->Description
= *arg2
;
15289 resultobj
= SWIG_Py_Void();
15304 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15305 PyObject
*resultobj
= 0;
15306 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15307 wxString
*result
= 0 ;
15310 PyObject
*swig_obj
[1] ;
15312 if (!args
) SWIG_fail
;
15313 swig_obj
[0] = args
;
15314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15318 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15319 result
= (wxString
*)& ((arg1
)->Description
);
15322 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15324 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15333 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15336 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15337 return SWIG_Py_Void();
15340 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
= 0;
15342 int arg1
= (int) -1 ;
15343 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15344 wxLocale
*result
= 0 ;
15349 PyObject
* obj0
= 0 ;
15350 PyObject
* obj1
= 0 ;
15351 char * kwnames
[] = {
15352 (char *) "language",(char *) "flags", NULL
15355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15358 if (!SWIG_IsOK(ecode1
)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15361 arg1
= static_cast< int >(val1
);
15364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15365 if (!SWIG_IsOK(ecode2
)) {
15366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15368 arg2
= static_cast< int >(val2
);
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15383 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15384 PyObject
*resultobj
= 0;
15385 wxLocale
*arg1
= (wxLocale
*) 0 ;
15388 PyObject
*swig_obj
[1] ;
15390 if (!args
) SWIG_fail
;
15391 swig_obj
[0] = args
;
15392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15393 if (!SWIG_IsOK(res1
)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15396 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_Py_Void();
15411 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxLocale
*arg1
= (wxLocale
*) 0 ;
15414 wxString
*arg2
= 0 ;
15415 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15416 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15417 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15418 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15419 bool arg5
= (bool) true ;
15420 bool arg6
= (bool) false ;
15424 bool temp2
= false ;
15425 bool temp3
= false ;
15426 bool temp4
= false ;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 PyObject
* obj2
= 0 ;
15434 PyObject
* obj3
= 0 ;
15435 PyObject
* obj4
= 0 ;
15436 PyObject
* obj5
= 0 ;
15437 char * kwnames
[] = {
15438 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15446 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15448 arg2
= wxString_in_helper(obj1
);
15449 if (arg2
== NULL
) SWIG_fail
;
15454 arg3
= wxString_in_helper(obj2
);
15455 if (arg3
== NULL
) SWIG_fail
;
15461 arg4
= wxString_in_helper(obj3
);
15462 if (arg4
== NULL
) SWIG_fail
;
15467 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15468 if (!SWIG_IsOK(ecode5
)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15471 arg5
= static_cast< bool >(val5
);
15474 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15475 if (!SWIG_IsOK(ecode6
)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15478 arg6
= static_cast< bool >(val6
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15519 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
= 0;
15521 wxLocale
*arg1
= (wxLocale
*) 0 ;
15522 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15523 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 PyObject
* obj2
= 0 ;
15534 char * kwnames
[] = {
15535 (char *) "self",(char *) "language",(char *) "flags", NULL
15538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15540 if (!SWIG_IsOK(res1
)) {
15541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15543 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15546 if (!SWIG_IsOK(ecode2
)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15549 arg2
= static_cast< int >(val2
);
15552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15553 if (!SWIG_IsOK(ecode3
)) {
15554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15556 arg3
= static_cast< int >(val3
);
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15573 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15574 PyObject
*resultobj
= 0;
15577 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (int)wxLocale::GetSystemLanguage();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_From_int(static_cast< int >(result
));
15591 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15592 PyObject
*resultobj
= 0;
15593 wxFontEncoding result
;
15595 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_From_int(static_cast< int >(result
));
15609 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15610 PyObject
*resultobj
= 0;
15613 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= wxLocale::GetSystemEncodingName();
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15633 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15634 PyObject
*resultobj
= 0;
15635 wxLocale
*arg1
= (wxLocale
*) 0 ;
15639 PyObject
*swig_obj
[1] ;
15641 if (!args
) SWIG_fail
;
15642 swig_obj
[0] = args
;
15643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15644 if (!SWIG_IsOK(res1
)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15647 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15663 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15664 PyObject
*resultobj
= 0;
15665 wxLocale
*arg1
= (wxLocale
*) 0 ;
15669 PyObject
*swig_obj
[1] ;
15671 if (!args
) SWIG_fail
;
15672 swig_obj
[0] = args
;
15673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15674 if (!SWIG_IsOK(res1
)) {
15675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15677 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= ((wxLocale
const *)arg1
)->GetLocale();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15697 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15698 PyObject
*resultobj
= 0;
15699 wxLocale
*arg1
= (wxLocale
*) 0 ;
15703 PyObject
*swig_obj
[1] ;
15705 if (!args
) SWIG_fail
;
15706 swig_obj
[0] = args
;
15707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15708 if (!SWIG_IsOK(res1
)) {
15709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15711 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= SWIG_From_int(static_cast< int >(result
));
15725 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 PyObject
*resultobj
= 0;
15727 wxLocale
*arg1
= (wxLocale
*) 0 ;
15731 PyObject
*swig_obj
[1] ;
15733 if (!args
) SWIG_fail
;
15734 swig_obj
[0] = args
;
15735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15739 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= ((wxLocale
const *)arg1
)->GetSysName();
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15759 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15760 PyObject
*resultobj
= 0;
15761 wxLocale
*arg1
= (wxLocale
*) 0 ;
15765 PyObject
*swig_obj
[1] ;
15767 if (!args
) SWIG_fail
;
15768 swig_obj
[0] = args
;
15769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15773 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15793 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
= 0;
15795 wxString
*arg1
= 0 ;
15796 bool temp1
= false ;
15797 PyObject
* obj0
= 0 ;
15798 char * kwnames
[] = {
15799 (char *) "prefix", NULL
15802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15804 arg1
= wxString_in_helper(obj0
);
15805 if (arg1
== NULL
) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_Py_Void();
15829 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
= 0;
15831 wxLocale
*arg1
= (wxLocale
*) 0 ;
15832 wxString
*arg2
= 0 ;
15836 bool temp2
= false ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 char * kwnames
[] = {
15840 (char *) "self",(char *) "szDomain", NULL
15843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15848 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15850 arg2
= wxString_in_helper(obj1
);
15851 if (arg2
== NULL
) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxLocale
*arg1
= (wxLocale
*) 0 ;
15880 wxString
*arg2
= 0 ;
15884 bool temp2
= false ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char * kwnames
[] = {
15888 (char *) "self",(char *) "szDomain", NULL
15891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15896 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15898 arg2
= wxString_in_helper(obj1
);
15899 if (arg2
== NULL
) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15925 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
= 0;
15928 wxLanguageInfo
*result
= 0 ;
15931 PyObject
* obj0
= 0 ;
15932 char * kwnames
[] = {
15933 (char *) "lang", NULL
15936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15937 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15938 if (!SWIG_IsOK(ecode1
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
15941 arg1
= static_cast< int >(val1
);
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15955 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
= 0;
15961 PyObject
* obj0
= 0 ;
15962 char * kwnames
[] = {
15963 (char *) "lang", NULL
15966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
15967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15968 if (!SWIG_IsOK(ecode1
)) {
15969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
15971 arg1
= static_cast< int >(val1
);
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 result
= wxLocale::GetLanguageName(arg1
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15991 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
= 0;
15993 wxString
*arg1
= 0 ;
15994 wxLanguageInfo
*result
= 0 ;
15995 bool temp1
= false ;
15996 PyObject
* obj0
= 0 ;
15997 char * kwnames
[] = {
15998 (char *) "locale", NULL
16001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16003 arg1
= wxString_in_helper(obj0
);
16004 if (arg1
== NULL
) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16028 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
= 0;
16030 wxLanguageInfo
*arg1
= 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char * kwnames
[] = {
16035 (char *) "info", NULL
16038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16039 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16040 if (!SWIG_IsOK(res1
)) {
16041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16046 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= SWIG_Py_Void();
16060 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
= 0;
16062 wxLocale
*arg1
= (wxLocale
*) 0 ;
16063 wxString
*arg2
= 0 ;
16064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16069 bool temp2
= false ;
16070 bool temp3
= false ;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 PyObject
* obj2
= 0 ;
16074 char * kwnames
[] = {
16075 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16080 if (!SWIG_IsOK(res1
)) {
16081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16083 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16085 arg2
= wxString_in_helper(obj1
);
16086 if (arg2
== NULL
) SWIG_fail
;
16091 arg3
= wxString_in_helper(obj2
);
16092 if (arg3
== NULL
) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16131 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16132 PyObject
*resultobj
= 0;
16133 wxLocale
*arg1
= (wxLocale
*) 0 ;
16134 wxString
*result
= 0 ;
16137 PyObject
*swig_obj
[1] ;
16139 if (!args
) SWIG_fail
;
16140 swig_obj
[0] = args
;
16141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16142 if (!SWIG_IsOK(res1
)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16145 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16150 result
= (wxString
*) &_result_ref
;
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16159 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16168 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16171 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16172 return SWIG_Py_Void();
16175 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16176 return SWIG_Python_InitShadowInstance(args
);
16179 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
= 0;
16181 int arg1
= (int) -1 ;
16182 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16183 wxPyLocale
*result
= 0 ;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 char * kwnames
[] = {
16191 (char *) "language",(char *) "flags", NULL
16194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16197 if (!SWIG_IsOK(ecode1
)) {
16198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16200 arg1
= static_cast< int >(val1
);
16203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16204 if (!SWIG_IsOK(ecode2
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16207 arg2
= static_cast< int >(val2
);
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16222 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16223 PyObject
*resultobj
= 0;
16224 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16227 PyObject
*swig_obj
[1] ;
16229 if (!args
) SWIG_fail
;
16230 swig_obj
[0] = args
;
16231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16232 if (!SWIG_IsOK(res1
)) {
16233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16235 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= SWIG_Py_Void();
16250 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
= 0;
16252 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16253 PyObject
*arg2
= (PyObject
*) 0 ;
16254 PyObject
*arg3
= (PyObject
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 PyObject
* obj2
= 0 ;
16260 char * kwnames
[] = {
16261 (char *) "self",(char *) "self",(char *) "_class", NULL
16264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16266 if (!SWIG_IsOK(res1
)) {
16267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16269 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_Py_Void();
16285 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
= 0;
16287 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16288 wxChar
*arg2
= (wxChar
*) 0 ;
16289 wxChar
*arg3
= (wxChar
*) NULL
;
16290 wxChar
*result
= 0 ;
16297 PyObject
* obj0
= 0 ;
16298 PyObject
* obj1
= 0 ;
16299 PyObject
* obj2
= 0 ;
16300 char * kwnames
[] = {
16301 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16306 if (!SWIG_IsOK(res1
)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16309 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16311 if (!SWIG_IsOK(res2
)) {
16312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16314 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16316 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16317 if (!SWIG_IsOK(res3
)) {
16318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16320 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16335 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
= 0;
16337 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16338 wxChar
*arg2
= (wxChar
*) 0 ;
16339 wxChar
*arg3
= (wxChar
*) 0 ;
16341 wxChar
*arg5
= (wxChar
*) NULL
;
16342 wxChar
*result
= 0 ;
16353 PyObject
* obj0
= 0 ;
16354 PyObject
* obj1
= 0 ;
16355 PyObject
* obj2
= 0 ;
16356 PyObject
* obj3
= 0 ;
16357 PyObject
* obj4
= 0 ;
16358 char * kwnames
[] = {
16359 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16364 if (!SWIG_IsOK(res1
)) {
16365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16367 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16369 if (!SWIG_IsOK(res2
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16372 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16373 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16374 if (!SWIG_IsOK(res3
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16377 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16378 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16379 if (!SWIG_IsOK(ecode4
)) {
16380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16382 arg4
= static_cast< size_t >(val4
);
16384 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16385 if (!SWIG_IsOK(res5
)) {
16386 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16388 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16403 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16406 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16407 return SWIG_Py_Void();
16410 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16411 return SWIG_Python_InitShadowInstance(args
);
16414 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16415 PyObject
*resultobj
= 0;
16416 wxLocale
*result
= 0 ;
16418 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (wxLocale
*)wxGetLocale();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16432 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16433 PyObject
*resultobj
= 0;
16434 wxString
*arg1
= 0 ;
16436 bool temp1
= false ;
16438 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16440 arg1
= wxString_in_helper(swig_obj
[0]);
16441 if (arg1
== NULL
) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= wxGetTranslation((wxString
const &)*arg1
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16471 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16472 PyObject
*resultobj
= 0;
16473 wxString
*arg1
= 0 ;
16474 wxString
*arg2
= 0 ;
16476 bool temp1
= false ;
16477 bool temp2
= false ;
16479 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16481 arg1
= wxString_in_helper(swig_obj
[0]);
16482 if (arg1
== NULL
) SWIG_fail
;
16486 arg2
= wxString_in_helper(swig_obj
[1]);
16487 if (arg2
== NULL
) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16525 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16526 PyObject
*resultobj
= 0;
16527 wxString
*arg1
= 0 ;
16528 wxString
*arg2
= 0 ;
16531 bool temp1
= false ;
16532 bool temp2
= false ;
16536 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16538 arg1
= wxString_in_helper(swig_obj
[0]);
16539 if (arg1
== NULL
) SWIG_fail
;
16543 arg2
= wxString_in_helper(swig_obj
[1]);
16544 if (arg2
== NULL
) SWIG_fail
;
16547 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16548 if (!SWIG_IsOK(ecode3
)) {
16549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16551 arg3
= static_cast< size_t >(val3
);
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16587 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16588 PyObject
*resultobj
= 0;
16589 wxString
*arg1
= 0 ;
16590 wxString
*arg2
= 0 ;
16592 wxString
*arg4
= 0 ;
16594 bool temp1
= false ;
16595 bool temp2
= false ;
16598 bool temp4
= false ;
16600 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16602 arg1
= wxString_in_helper(swig_obj
[0]);
16603 if (arg1
== NULL
) SWIG_fail
;
16607 arg2
= wxString_in_helper(swig_obj
[1]);
16608 if (arg2
== NULL
) SWIG_fail
;
16611 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16612 if (!SWIG_IsOK(ecode3
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16615 arg3
= static_cast< size_t >(val3
);
16617 arg4
= wxString_in_helper(swig_obj
[3]);
16618 if (arg4
== NULL
) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16664 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16668 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16671 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16674 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16677 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16680 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16684 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16689 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16690 PyObject
*resultobj
= 0;
16691 wxEncodingConverter
*result
= 0 ;
16693 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16707 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16708 PyObject
*resultobj
= 0;
16709 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16712 PyObject
*swig_obj
[1] ;
16714 if (!args
) SWIG_fail
;
16715 swig_obj
[0] = args
;
16716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16717 if (!SWIG_IsOK(res1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16720 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= SWIG_Py_Void();
16735 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
= 0;
16737 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16738 wxFontEncoding arg2
;
16739 wxFontEncoding arg3
;
16740 int arg4
= (int) wxCONVERT_STRICT
;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 PyObject
* obj3
= 0 ;
16754 char * kwnames
[] = {
16755 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16760 if (!SWIG_IsOK(res1
)) {
16761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16763 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16765 if (!SWIG_IsOK(ecode2
)) {
16766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16768 arg2
= static_cast< wxFontEncoding
>(val2
);
16769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16770 if (!SWIG_IsOK(ecode3
)) {
16771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16773 arg3
= static_cast< wxFontEncoding
>(val3
);
16775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16776 if (!SWIG_IsOK(ecode4
)) {
16777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16779 arg4
= static_cast< int >(val4
);
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16796 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
= 0;
16798 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16799 wxString
*arg2
= 0 ;
16803 bool temp2
= false ;
16804 PyObject
* obj0
= 0 ;
16805 PyObject
* obj1
= 0 ;
16806 char * kwnames
[] = {
16807 (char *) "self",(char *) "input", NULL
16810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16815 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16817 arg2
= wxString_in_helper(obj1
);
16818 if (arg2
== NULL
) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16848 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
= 0;
16850 wxFontEncoding arg1
;
16851 int arg2
= (int) wxPLATFORM_CURRENT
;
16852 wxFontEncodingArray result
;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 char * kwnames
[] = {
16860 (char *) "enc",(char *) "platform", NULL
16863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16864 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16865 if (!SWIG_IsOK(ecode1
)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16868 arg1
= static_cast< wxFontEncoding
>(val1
);
16870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16871 if (!SWIG_IsOK(ecode2
)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16874 arg2
= static_cast< int >(val2
);
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= PyList_New(0);
16884 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16885 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16886 PyList_Append(resultobj
, number
);
16896 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
= 0;
16898 wxFontEncoding arg1
;
16899 wxFontEncodingArray result
;
16902 PyObject
* obj0
= 0 ;
16903 char * kwnames
[] = {
16904 (char *) "enc", NULL
16907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16909 if (!SWIG_IsOK(ecode1
)) {
16910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16912 arg1
= static_cast< wxFontEncoding
>(val1
);
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= PyList_New(0);
16921 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16922 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16923 PyList_Append(resultobj
, number
);
16933 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
= 0;
16935 wxFontEncoding arg1
;
16936 wxFontEncoding arg2
;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char * kwnames
[] = {
16945 (char *) "encIn",(char *) "encOut", NULL
16948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16950 if (!SWIG_IsOK(ecode1
)) {
16951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16953 arg1
= static_cast< wxFontEncoding
>(val1
);
16954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16955 if (!SWIG_IsOK(ecode2
)) {
16956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16958 arg2
= static_cast< wxFontEncoding
>(val2
);
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16974 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16977 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
16978 return SWIG_Py_Void();
16981 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16982 return SWIG_Python_InitShadowInstance(args
);
16985 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16986 PyObject
*resultobj
= 0;
16987 wxDC
*arg1
= (wxDC
*) 0 ;
16990 PyObject
*swig_obj
[1] ;
16992 if (!args
) SWIG_fail
;
16993 swig_obj
[0] = args
;
16994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
16995 if (!SWIG_IsOK(res1
)) {
16996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
16998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_Py_Void();
17013 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
= 0;
17015 wxDC
*arg1
= (wxDC
*) 0 ;
17018 wxColour
*arg4
= 0 ;
17019 int arg5
= (int) wxFLOOD_SURFACE
;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 PyObject
* obj2
= 0 ;
17033 PyObject
* obj3
= 0 ;
17034 PyObject
* obj4
= 0 ;
17035 char * kwnames
[] = {
17036 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17041 if (!SWIG_IsOK(res1
)) {
17042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17046 if (!SWIG_IsOK(ecode2
)) {
17047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17049 arg2
= static_cast< int >(val2
);
17050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17051 if (!SWIG_IsOK(ecode3
)) {
17052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17054 arg3
= static_cast< int >(val3
);
17057 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17060 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17061 if (!SWIG_IsOK(ecode5
)) {
17062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17064 arg5
= static_cast< int >(val5
);
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17081 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
= 0;
17083 wxDC
*arg1
= (wxDC
*) 0 ;
17084 wxPoint
*arg2
= 0 ;
17085 wxColour
*arg3
= 0 ;
17086 int arg4
= (int) wxFLOOD_SURFACE
;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 PyObject
* obj2
= 0 ;
17097 PyObject
* obj3
= 0 ;
17098 char * kwnames
[] = {
17099 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17104 if (!SWIG_IsOK(res1
)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17107 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17114 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17118 if (!SWIG_IsOK(ecode4
)) {
17119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17121 arg4
= static_cast< int >(val4
);
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17138 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
= 0;
17140 wxDC
*arg1
= (wxDC
*) 0 ;
17142 wxColour
*arg3
= 0 ;
17143 wxColour
*arg4
= 0 ;
17144 wxPoint
*arg5
= 0 ;
17151 PyObject
* obj0
= 0 ;
17152 PyObject
* obj1
= 0 ;
17153 PyObject
* obj2
= 0 ;
17154 PyObject
* obj3
= 0 ;
17155 PyObject
* obj4
= 0 ;
17156 char * kwnames
[] = {
17157 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17172 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17176 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17180 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_Py_Void();
17195 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
= 0;
17197 wxDC
*arg1
= (wxDC
*) 0 ;
17199 wxColour
*arg3
= 0 ;
17200 wxColour
*arg4
= 0 ;
17201 wxDirection arg5
= (wxDirection
) wxEAST
;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 PyObject
* obj2
= 0 ;
17212 PyObject
* obj3
= 0 ;
17213 PyObject
* obj4
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17220 if (!SWIG_IsOK(res1
)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17226 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17230 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17234 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17238 if (!SWIG_IsOK(ecode5
)) {
17239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17241 arg5
= static_cast< wxDirection
>(val5
);
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= SWIG_Py_Void();
17256 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
= 0;
17258 wxDC
*arg1
= (wxDC
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 PyObject
* obj2
= 0 ;
17271 char * kwnames
[] = {
17272 (char *) "self",(char *) "x",(char *) "y", NULL
17275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17277 if (!SWIG_IsOK(res1
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17282 if (!SWIG_IsOK(ecode2
)) {
17283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17285 arg2
= static_cast< int >(val2
);
17286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17287 if (!SWIG_IsOK(ecode3
)) {
17288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17290 arg3
= static_cast< int >(val3
);
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17304 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
= 0;
17306 wxDC
*arg1
= (wxDC
*) 0 ;
17307 wxPoint
*arg2
= 0 ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 char * kwnames
[] = {
17315 (char *) "self",(char *) "pt", NULL
17318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17320 if (!SWIG_IsOK(res1
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17341 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= 0;
17343 wxDC
*arg1
= (wxDC
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 PyObject
* obj2
= 0 ;
17361 PyObject
* obj3
= 0 ;
17362 PyObject
* obj4
= 0 ;
17363 char * kwnames
[] = {
17364 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17369 if (!SWIG_IsOK(res1
)) {
17370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17374 if (!SWIG_IsOK(ecode2
)) {
17375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17377 arg2
= static_cast< int >(val2
);
17378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17379 if (!SWIG_IsOK(ecode3
)) {
17380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17382 arg3
= static_cast< int >(val3
);
17383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17384 if (!SWIG_IsOK(ecode4
)) {
17385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17387 arg4
= static_cast< int >(val4
);
17388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17389 if (!SWIG_IsOK(ecode5
)) {
17390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17392 arg5
= static_cast< int >(val5
);
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= SWIG_Py_Void();
17406 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
= 0;
17408 wxDC
*arg1
= (wxDC
*) 0 ;
17409 wxPoint
*arg2
= 0 ;
17410 wxPoint
*arg3
= 0 ;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 PyObject
* obj2
= 0 ;
17418 char * kwnames
[] = {
17419 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= SWIG_Py_Void();
17449 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
= 0;
17451 wxDC
*arg1
= (wxDC
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 PyObject
* obj2
= 0 ;
17463 char * kwnames
[] = {
17464 (char *) "self",(char *) "x",(char *) "y", NULL
17467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17469 if (!SWIG_IsOK(res1
)) {
17470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17474 if (!SWIG_IsOK(ecode2
)) {
17475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17477 arg2
= static_cast< int >(val2
);
17478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17479 if (!SWIG_IsOK(ecode3
)) {
17480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17482 arg3
= static_cast< int >(val3
);
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 (arg1
)->CrossHair(arg2
,arg3
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_Py_Void();
17496 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
= 0;
17498 wxDC
*arg1
= (wxDC
*) 0 ;
17499 wxPoint
*arg2
= 0 ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 char * kwnames
[] = {
17506 (char *) "self",(char *) "pt", NULL
17509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17511 if (!SWIG_IsOK(res1
)) {
17512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= SWIG_Py_Void();
17532 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
= 0;
17534 wxDC
*arg1
= (wxDC
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 PyObject
* obj2
= 0 ;
17558 PyObject
* obj3
= 0 ;
17559 PyObject
* obj4
= 0 ;
17560 PyObject
* obj5
= 0 ;
17561 PyObject
* obj6
= 0 ;
17562 char * kwnames
[] = {
17563 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17573 if (!SWIG_IsOK(ecode2
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17576 arg2
= static_cast< int >(val2
);
17577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17578 if (!SWIG_IsOK(ecode3
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17581 arg3
= static_cast< int >(val3
);
17582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17583 if (!SWIG_IsOK(ecode4
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17586 arg4
= static_cast< int >(val4
);
17587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17588 if (!SWIG_IsOK(ecode5
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17591 arg5
= static_cast< int >(val5
);
17592 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17593 if (!SWIG_IsOK(ecode6
)) {
17594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17596 arg6
= static_cast< int >(val6
);
17597 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17598 if (!SWIG_IsOK(ecode7
)) {
17599 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17601 arg7
= static_cast< int >(val7
);
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_Py_Void();
17615 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
= 0;
17617 wxDC
*arg1
= (wxDC
*) 0 ;
17618 wxPoint
*arg2
= 0 ;
17619 wxPoint
*arg3
= 0 ;
17620 wxPoint
*arg4
= 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 PyObject
* obj2
= 0 ;
17629 PyObject
* obj3
= 0 ;
17630 char * kwnames
[] = {
17631 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17636 if (!SWIG_IsOK(res1
)) {
17637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17650 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= SWIG_Py_Void();
17665 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
= 0;
17667 wxDC
*arg1
= (wxDC
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 PyObject
* obj3
= 0 ;
17686 PyObject
* obj4
= 0 ;
17687 char * kwnames
[] = {
17688 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17693 if (!SWIG_IsOK(res1
)) {
17694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17698 if (!SWIG_IsOK(ecode2
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17701 arg2
= static_cast< int >(val2
);
17702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17703 if (!SWIG_IsOK(ecode3
)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17706 arg3
= static_cast< int >(val3
);
17707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17708 if (!SWIG_IsOK(ecode4
)) {
17709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17711 arg4
= static_cast< int >(val4
);
17712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17713 if (!SWIG_IsOK(ecode5
)) {
17714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17716 arg5
= static_cast< int >(val5
);
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_Py_Void();
17730 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
= 0;
17732 wxDC
*arg1
= (wxDC
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char * kwnames
[] = {
17740 (char *) "self",(char *) "rect", NULL
17743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17751 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= SWIG_Py_Void();
17766 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
= 0;
17768 wxDC
*arg1
= (wxDC
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 PyObject
* obj2
= 0 ;
17792 PyObject
* obj3
= 0 ;
17793 PyObject
* obj4
= 0 ;
17794 PyObject
* obj5
= 0 ;
17795 PyObject
* obj6
= 0 ;
17796 char * kwnames
[] = {
17797 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17802 if (!SWIG_IsOK(res1
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17807 if (!SWIG_IsOK(ecode2
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17810 arg2
= static_cast< int >(val2
);
17811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17812 if (!SWIG_IsOK(ecode3
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17815 arg3
= static_cast< int >(val3
);
17816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17817 if (!SWIG_IsOK(ecode4
)) {
17818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17820 arg4
= static_cast< int >(val4
);
17821 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17822 if (!SWIG_IsOK(ecode5
)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17825 arg5
= static_cast< int >(val5
);
17826 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17827 if (!SWIG_IsOK(ecode6
)) {
17828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17830 arg6
= static_cast< double >(val6
);
17831 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17832 if (!SWIG_IsOK(ecode7
)) {
17833 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17835 arg7
= static_cast< double >(val7
);
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= SWIG_Py_Void();
17849 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
= 0;
17851 wxDC
*arg1
= (wxDC
*) 0 ;
17852 wxPoint
*arg2
= 0 ;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 PyObject
* obj2
= 0 ;
17867 PyObject
* obj3
= 0 ;
17868 PyObject
* obj4
= 0 ;
17869 char * kwnames
[] = {
17870 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17875 if (!SWIG_IsOK(res1
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17885 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17887 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17888 if (!SWIG_IsOK(ecode4
)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17891 arg4
= static_cast< double >(val4
);
17892 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17893 if (!SWIG_IsOK(ecode5
)) {
17894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17896 arg5
= static_cast< double >(val5
);
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_Py_Void();
17910 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
= 0;
17912 wxDC
*arg1
= (wxDC
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 PyObject
* obj2
= 0 ;
17924 char * kwnames
[] = {
17925 (char *) "self",(char *) "x",(char *) "y", NULL
17928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17930 if (!SWIG_IsOK(res1
)) {
17931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17935 if (!SWIG_IsOK(ecode2
)) {
17936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
17938 arg2
= static_cast< int >(val2
);
17939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17940 if (!SWIG_IsOK(ecode3
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
17943 arg3
= static_cast< int >(val3
);
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 (arg1
)->DrawPoint(arg2
,arg3
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= SWIG_Py_Void();
17957 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
= 0;
17959 wxDC
*arg1
= (wxDC
*) 0 ;
17960 wxPoint
*arg2
= 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char * kwnames
[] = {
17967 (char *) "self",(char *) "pt", NULL
17970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17972 if (!SWIG_IsOK(res1
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_Py_Void();
17993 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxDC
*arg1
= (wxDC
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 PyObject
* obj2
= 0 ;
18013 PyObject
* obj3
= 0 ;
18014 PyObject
* obj4
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18026 if (!SWIG_IsOK(ecode2
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18029 arg2
= static_cast< int >(val2
);
18030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18031 if (!SWIG_IsOK(ecode3
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18034 arg3
= static_cast< int >(val3
);
18035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18036 if (!SWIG_IsOK(ecode4
)) {
18037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18039 arg4
= static_cast< int >(val4
);
18040 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18041 if (!SWIG_IsOK(ecode5
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18044 arg5
= static_cast< int >(val5
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= SWIG_Py_Void();
18058 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
= 0;
18060 wxDC
*arg1
= (wxDC
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 char * kwnames
[] = {
18068 (char *) "self",(char *) "rect", NULL
18071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18079 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= SWIG_Py_Void();
18094 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
= 0;
18096 wxDC
*arg1
= (wxDC
*) 0 ;
18097 wxPoint
*arg2
= 0 ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 PyObject
* obj2
= 0 ;
18106 char * kwnames
[] = {
18107 (char *) "self",(char *) "pt",(char *) "sz", NULL
18110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18112 if (!SWIG_IsOK(res1
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18122 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_Py_Void();
18137 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
= 0;
18139 wxDC
*arg1
= (wxDC
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 PyObject
* obj2
= 0 ;
18160 PyObject
* obj3
= 0 ;
18161 PyObject
* obj4
= 0 ;
18162 PyObject
* obj5
= 0 ;
18163 char * kwnames
[] = {
18164 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18169 if (!SWIG_IsOK(res1
)) {
18170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18174 if (!SWIG_IsOK(ecode2
)) {
18175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18177 arg2
= static_cast< int >(val2
);
18178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18179 if (!SWIG_IsOK(ecode3
)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18182 arg3
= static_cast< int >(val3
);
18183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18184 if (!SWIG_IsOK(ecode4
)) {
18185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18187 arg4
= static_cast< int >(val4
);
18188 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18189 if (!SWIG_IsOK(ecode5
)) {
18190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18192 arg5
= static_cast< int >(val5
);
18193 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18194 if (!SWIG_IsOK(ecode6
)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18197 arg6
= static_cast< double >(val6
);
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_Py_Void();
18211 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
= 0;
18213 wxDC
*arg1
= (wxDC
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 PyObject
* obj2
= 0 ;
18224 char * kwnames
[] = {
18225 (char *) "self",(char *) "r",(char *) "radius", NULL
18228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18230 if (!SWIG_IsOK(res1
)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18238 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18239 if (!SWIG_IsOK(ecode3
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18242 arg3
= static_cast< double >(val3
);
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_Py_Void();
18256 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
= 0;
18258 wxDC
*arg1
= (wxDC
*) 0 ;
18259 wxPoint
*arg2
= 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 PyObject
* obj2
= 0 ;
18271 PyObject
* obj3
= 0 ;
18272 char * kwnames
[] = {
18273 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18288 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18290 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18291 if (!SWIG_IsOK(ecode4
)) {
18292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18294 arg4
= static_cast< double >(val4
);
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= SWIG_Py_Void();
18308 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
= 0;
18310 wxDC
*arg1
= (wxDC
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 PyObject
* obj2
= 0 ;
18325 PyObject
* obj3
= 0 ;
18326 char * kwnames
[] = {
18327 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18332 if (!SWIG_IsOK(res1
)) {
18333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18337 if (!SWIG_IsOK(ecode2
)) {
18338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18340 arg2
= static_cast< int >(val2
);
18341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18342 if (!SWIG_IsOK(ecode3
)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18345 arg3
= static_cast< int >(val3
);
18346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18347 if (!SWIG_IsOK(ecode4
)) {
18348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18350 arg4
= static_cast< int >(val4
);
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_Py_Void();
18364 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
= 0;
18366 wxDC
*arg1
= (wxDC
*) 0 ;
18367 wxPoint
*arg2
= 0 ;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 PyObject
* obj2
= 0 ;
18377 char * kwnames
[] = {
18378 (char *) "self",(char *) "pt",(char *) "radius", NULL
18381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18383 if (!SWIG_IsOK(res1
)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18392 if (!SWIG_IsOK(ecode3
)) {
18393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18395 arg3
= static_cast< int >(val3
);
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= SWIG_Py_Void();
18409 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
= 0;
18411 wxDC
*arg1
= (wxDC
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 PyObject
* obj3
= 0 ;
18430 PyObject
* obj4
= 0 ;
18431 char * kwnames
[] = {
18432 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18442 if (!SWIG_IsOK(ecode2
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18445 arg2
= static_cast< int >(val2
);
18446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18447 if (!SWIG_IsOK(ecode3
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18450 arg3
= static_cast< int >(val3
);
18451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18452 if (!SWIG_IsOK(ecode4
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18455 arg4
= static_cast< int >(val4
);
18456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18457 if (!SWIG_IsOK(ecode5
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18460 arg5
= static_cast< int >(val5
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_Py_Void();
18474 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
= 0;
18476 wxDC
*arg1
= (wxDC
*) 0 ;
18481 PyObject
* obj0
= 0 ;
18482 PyObject
* obj1
= 0 ;
18483 char * kwnames
[] = {
18484 (char *) "self",(char *) "rect", NULL
18487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18489 if (!SWIG_IsOK(res1
)) {
18490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18495 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_Py_Void();
18510 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
= 0;
18512 wxDC
*arg1
= (wxDC
*) 0 ;
18513 wxPoint
*arg2
= 0 ;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 PyObject
* obj2
= 0 ;
18522 char * kwnames
[] = {
18523 (char *) "self",(char *) "pt",(char *) "sz", NULL
18526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18528 if (!SWIG_IsOK(res1
)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18538 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_Py_Void();
18553 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
= 0;
18555 wxDC
*arg1
= (wxDC
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 PyObject
* obj2
= 0 ;
18570 PyObject
* obj3
= 0 ;
18571 char * kwnames
[] = {
18572 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18577 if (!SWIG_IsOK(res1
)) {
18578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18582 if (!SWIG_IsOK(res2
)) {
18583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18588 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18590 if (!SWIG_IsOK(ecode3
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18593 arg3
= static_cast< int >(val3
);
18594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18595 if (!SWIG_IsOK(ecode4
)) {
18596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18598 arg4
= static_cast< int >(val4
);
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_Py_Void();
18612 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
= 0;
18614 wxDC
*arg1
= (wxDC
*) 0 ;
18616 wxPoint
*arg3
= 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 PyObject
* obj2
= 0 ;
18625 char * kwnames
[] = {
18626 (char *) "self",(char *) "icon",(char *) "pt", NULL
18629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18631 if (!SWIG_IsOK(res1
)) {
18632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18636 if (!SWIG_IsOK(res2
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18642 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= SWIG_Py_Void();
18660 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
= 0;
18662 wxDC
*arg1
= (wxDC
*) 0 ;
18663 wxBitmap
*arg2
= 0 ;
18666 bool arg5
= (bool) false ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 PyObject
* obj2
= 0 ;
18680 PyObject
* obj3
= 0 ;
18681 PyObject
* obj4
= 0 ;
18682 char * kwnames
[] = {
18683 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18693 if (!SWIG_IsOK(res2
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18699 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18701 if (!SWIG_IsOK(ecode3
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18704 arg3
= static_cast< int >(val3
);
18705 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18706 if (!SWIG_IsOK(ecode4
)) {
18707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18709 arg4
= static_cast< int >(val4
);
18711 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18712 if (!SWIG_IsOK(ecode5
)) {
18713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18715 arg5
= static_cast< bool >(val5
);
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_Py_Void();
18730 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= 0;
18732 wxDC
*arg1
= (wxDC
*) 0 ;
18733 wxBitmap
*arg2
= 0 ;
18734 wxPoint
*arg3
= 0 ;
18735 bool arg4
= (bool) false ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 PyObject
* obj2
= 0 ;
18746 PyObject
* obj3
= 0 ;
18747 char * kwnames
[] = {
18748 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18758 if (!SWIG_IsOK(res2
)) {
18759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18764 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18767 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18770 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18771 if (!SWIG_IsOK(ecode4
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18774 arg4
= static_cast< bool >(val4
);
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_Py_Void();
18789 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
= 0;
18791 wxDC
*arg1
= (wxDC
*) 0 ;
18792 wxString
*arg2
= 0 ;
18797 bool temp2
= false ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 PyObject
* obj2
= 0 ;
18805 PyObject
* obj3
= 0 ;
18806 char * kwnames
[] = {
18807 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18817 arg2
= wxString_in_helper(obj1
);
18818 if (arg2
== NULL
) SWIG_fail
;
18821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18822 if (!SWIG_IsOK(ecode3
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18825 arg3
= static_cast< int >(val3
);
18826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18827 if (!SWIG_IsOK(ecode4
)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18830 arg4
= static_cast< int >(val4
);
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= SWIG_Py_Void();
18852 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= 0;
18854 wxDC
*arg1
= (wxDC
*) 0 ;
18855 wxString
*arg2
= 0 ;
18856 wxPoint
*arg3
= 0 ;
18859 bool temp2
= false ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 PyObject
* obj2
= 0 ;
18864 char * kwnames
[] = {
18865 (char *) "self",(char *) "text",(char *) "pt", NULL
18868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18870 if (!SWIG_IsOK(res1
)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18875 arg2
= wxString_in_helper(obj1
);
18876 if (arg2
== NULL
) SWIG_fail
;
18881 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_Py_Void();
18904 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= 0;
18906 wxDC
*arg1
= (wxDC
*) 0 ;
18907 wxString
*arg2
= 0 ;
18913 bool temp2
= false ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 PyObject
* obj2
= 0 ;
18923 PyObject
* obj3
= 0 ;
18924 PyObject
* obj4
= 0 ;
18925 char * kwnames
[] = {
18926 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18931 if (!SWIG_IsOK(res1
)) {
18932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18936 arg2
= wxString_in_helper(obj1
);
18937 if (arg2
== NULL
) SWIG_fail
;
18940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18941 if (!SWIG_IsOK(ecode3
)) {
18942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
18944 arg3
= static_cast< int >(val3
);
18945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18946 if (!SWIG_IsOK(ecode4
)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
18949 arg4
= static_cast< int >(val4
);
18950 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18951 if (!SWIG_IsOK(ecode5
)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
18954 arg5
= static_cast< double >(val5
);
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_Py_Void();
18976 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= 0;
18978 wxDC
*arg1
= (wxDC
*) 0 ;
18979 wxString
*arg2
= 0 ;
18980 wxPoint
*arg3
= 0 ;
18984 bool temp2
= false ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 PyObject
* obj2
= 0 ;
18991 PyObject
* obj3
= 0 ;
18992 char * kwnames
[] = {
18993 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
18996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19003 arg2
= wxString_in_helper(obj1
);
19004 if (arg2
== NULL
) SWIG_fail
;
19009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19011 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19012 if (!SWIG_IsOK(ecode4
)) {
19013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19015 arg4
= static_cast< double >(val4
);
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= SWIG_Py_Void();
19037 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
= 0;
19039 wxDC
*arg1
= (wxDC
*) 0 ;
19044 wxDC
*arg6
= (wxDC
*) 0 ;
19047 int arg9
= (int) wxCOPY
;
19048 bool arg10
= (bool) false ;
19049 int arg11
= (int) -1 ;
19050 int arg12
= (int) -1 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 PyObject
* obj2
= 0 ;
19079 PyObject
* obj3
= 0 ;
19080 PyObject
* obj4
= 0 ;
19081 PyObject
* obj5
= 0 ;
19082 PyObject
* obj6
= 0 ;
19083 PyObject
* obj7
= 0 ;
19084 PyObject
* obj8
= 0 ;
19085 PyObject
* obj9
= 0 ;
19086 PyObject
* obj10
= 0 ;
19087 PyObject
* obj11
= 0 ;
19088 char * kwnames
[] = {
19089 (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
19092 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
;
19093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19094 if (!SWIG_IsOK(res1
)) {
19095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19099 if (!SWIG_IsOK(ecode2
)) {
19100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19102 arg2
= static_cast< int >(val2
);
19103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19104 if (!SWIG_IsOK(ecode3
)) {
19105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19107 arg3
= static_cast< int >(val3
);
19108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19109 if (!SWIG_IsOK(ecode4
)) {
19110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19112 arg4
= static_cast< int >(val4
);
19113 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19114 if (!SWIG_IsOK(ecode5
)) {
19115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19117 arg5
= static_cast< int >(val5
);
19118 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19119 if (!SWIG_IsOK(res6
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19122 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19123 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19124 if (!SWIG_IsOK(ecode7
)) {
19125 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19127 arg7
= static_cast< int >(val7
);
19128 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19129 if (!SWIG_IsOK(ecode8
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19132 arg8
= static_cast< int >(val8
);
19134 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19135 if (!SWIG_IsOK(ecode9
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19138 arg9
= static_cast< int >(val9
);
19141 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19142 if (!SWIG_IsOK(ecode10
)) {
19143 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19145 arg10
= static_cast< bool >(val10
);
19148 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19149 if (!SWIG_IsOK(ecode11
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19152 arg11
= static_cast< int >(val11
);
19155 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19156 if (!SWIG_IsOK(ecode12
)) {
19157 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19159 arg12
= static_cast< int >(val12
);
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19176 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
= 0;
19178 wxDC
*arg1
= (wxDC
*) 0 ;
19179 wxPoint
*arg2
= 0 ;
19181 wxDC
*arg4
= (wxDC
*) 0 ;
19182 wxPoint
*arg5
= 0 ;
19183 int arg6
= (int) wxCOPY
;
19184 bool arg7
= (bool) false ;
19185 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19186 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 PyObject
* obj2
= 0 ;
19203 PyObject
* obj3
= 0 ;
19204 PyObject
* obj4
= 0 ;
19205 PyObject
* obj5
= 0 ;
19206 PyObject
* obj6
= 0 ;
19207 PyObject
* obj7
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19224 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19226 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19227 if (!SWIG_IsOK(res4
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19230 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19233 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19236 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19237 if (!SWIG_IsOK(ecode6
)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19240 arg6
= static_cast< int >(val6
);
19243 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19244 if (!SWIG_IsOK(ecode7
)) {
19245 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19247 arg7
= static_cast< bool >(val7
);
19252 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19270 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxDC
*arg1
= (wxDC
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 PyObject
* obj3
= 0 ;
19291 PyObject
* obj4
= 0 ;
19292 char * kwnames
[] = {
19293 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19298 if (!SWIG_IsOK(res1
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19303 if (!SWIG_IsOK(ecode2
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19306 arg2
= static_cast< int >(val2
);
19307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19308 if (!SWIG_IsOK(ecode3
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19311 arg3
= static_cast< int >(val3
);
19312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19313 if (!SWIG_IsOK(ecode4
)) {
19314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19316 arg4
= static_cast< int >(val4
);
19317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19318 if (!SWIG_IsOK(ecode5
)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19321 arg5
= static_cast< int >(val5
);
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_Py_Void();
19335 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
= 0;
19337 wxDC
*arg1
= (wxDC
*) 0 ;
19338 wxPoint
*arg2
= 0 ;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 PyObject
* obj2
= 0 ;
19347 char * kwnames
[] = {
19348 (char *) "self",(char *) "pt",(char *) "sz", NULL
19351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19353 if (!SWIG_IsOK(res1
)) {
19354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19363 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_Py_Void();
19378 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
= 0;
19380 wxDC
*arg1
= (wxDC
*) 0 ;
19381 wxRegion
*arg2
= 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "region", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19394 if (!SWIG_IsOK(res1
)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19399 if (!SWIG_IsOK(res2
)) {
19400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19405 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= SWIG_Py_Void();
19419 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
= 0;
19421 wxDC
*arg1
= (wxDC
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char * kwnames
[] = {
19429 (char *) "self",(char *) "rect", NULL
19432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_Py_Void();
19455 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxDC
*arg1
= (wxDC
*) 0 ;
19459 wxPoint
*arg3
= (wxPoint
*) 0 ;
19460 int arg4
= (int) 0 ;
19461 int arg5
= (int) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 PyObject
* obj2
= 0 ;
19471 PyObject
* obj3
= 0 ;
19472 char * kwnames
[] = {
19473 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19478 if (!SWIG_IsOK(res1
)) {
19479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19483 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19484 if (arg3
== NULL
) SWIG_fail
;
19487 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19488 if (!SWIG_IsOK(ecode4
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19491 arg4
= static_cast< int >(val4
);
19494 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19495 if (!SWIG_IsOK(ecode5
)) {
19496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19498 arg5
= static_cast< int >(val5
);
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_Py_Void();
19508 if (arg3
) delete [] arg3
;
19513 if (arg3
) delete [] arg3
;
19519 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
= 0;
19521 wxDC
*arg1
= (wxDC
*) 0 ;
19523 wxPoint
*arg3
= (wxPoint
*) 0 ;
19524 int arg4
= (int) 0 ;
19525 int arg5
= (int) 0 ;
19526 int arg6
= (int) wxODDEVEN_RULE
;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 PyObject
* obj2
= 0 ;
19538 PyObject
* obj3
= 0 ;
19539 PyObject
* obj4
= 0 ;
19540 char * kwnames
[] = {
19541 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19546 if (!SWIG_IsOK(res1
)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19551 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19552 if (arg3
== NULL
) SWIG_fail
;
19555 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19556 if (!SWIG_IsOK(ecode4
)) {
19557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19559 arg4
= static_cast< int >(val4
);
19562 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19563 if (!SWIG_IsOK(ecode5
)) {
19564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19566 arg5
= static_cast< int >(val5
);
19569 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19570 if (!SWIG_IsOK(ecode6
)) {
19571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19573 arg6
= static_cast< int >(val6
);
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_Py_Void();
19583 if (arg3
) delete [] arg3
;
19588 if (arg3
) delete [] arg3
;
19594 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
= 0;
19596 wxDC
*arg1
= (wxDC
*) 0 ;
19597 wxString
*arg2
= 0 ;
19599 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19600 int arg5
= (int) -1 ;
19603 bool temp2
= false ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 PyObject
* obj2
= 0 ;
19612 PyObject
* obj3
= 0 ;
19613 PyObject
* obj4
= 0 ;
19614 char * kwnames
[] = {
19615 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19620 if (!SWIG_IsOK(res1
)) {
19621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19625 arg2
= wxString_in_helper(obj1
);
19626 if (arg2
== NULL
) SWIG_fail
;
19631 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19635 if (!SWIG_IsOK(ecode4
)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19638 arg4
= static_cast< int >(val4
);
19641 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19642 if (!SWIG_IsOK(ecode5
)) {
19643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19645 arg5
= static_cast< int >(val5
);
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= SWIG_Py_Void();
19668 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
= 0;
19670 wxDC
*arg1
= (wxDC
*) 0 ;
19671 wxString
*arg2
= 0 ;
19672 wxBitmap
*arg3
= 0 ;
19674 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19675 int arg6
= (int) -1 ;
19679 bool temp2
= false ;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 PyObject
* obj2
= 0 ;
19690 PyObject
* obj3
= 0 ;
19691 PyObject
* obj4
= 0 ;
19692 PyObject
* obj5
= 0 ;
19693 char * kwnames
[] = {
19694 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19699 if (!SWIG_IsOK(res1
)) {
19700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19704 arg2
= wxString_in_helper(obj1
);
19705 if (arg2
== NULL
) SWIG_fail
;
19708 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19709 if (!SWIG_IsOK(res3
)) {
19710 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19715 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19718 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19722 if (!SWIG_IsOK(ecode5
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19725 arg5
= static_cast< int >(val5
);
19728 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19729 if (!SWIG_IsOK(ecode6
)) {
19730 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19732 arg6
= static_cast< int >(val6
);
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19755 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
= 0;
19757 wxDC
*arg1
= (wxDC
*) 0 ;
19759 wxPoint
*arg3
= (wxPoint
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "self",(char *) "points", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19775 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19776 if (arg3
== NULL
) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->DrawSpline(arg2
,arg3
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_Py_Void();
19786 if (arg3
) delete [] arg3
;
19791 if (arg3
) delete [] arg3
;
19797 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19798 PyObject
*resultobj
= 0;
19799 wxDC
*arg1
= (wxDC
*) 0 ;
19802 PyObject
*swig_obj
[1] ;
19804 if (!args
) SWIG_fail
;
19805 swig_obj
[0] = args
;
19806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19807 if (!SWIG_IsOK(res1
)) {
19808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= SWIG_Py_Void();
19824 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
= 0;
19826 wxDC
*arg1
= (wxDC
*) 0 ;
19827 wxString
*arg2
= 0 ;
19831 bool temp2
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "message", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19845 arg2
= wxString_in_helper(obj1
);
19846 if (arg2
== NULL
) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19872 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19873 PyObject
*resultobj
= 0;
19874 wxDC
*arg1
= (wxDC
*) 0 ;
19877 PyObject
*swig_obj
[1] ;
19879 if (!args
) SWIG_fail
;
19880 swig_obj
[0] = args
;
19881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19882 if (!SWIG_IsOK(res1
)) {
19883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= SWIG_Py_Void();
19899 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19900 PyObject
*resultobj
= 0;
19901 wxDC
*arg1
= (wxDC
*) 0 ;
19904 PyObject
*swig_obj
[1] ;
19906 if (!args
) SWIG_fail
;
19907 swig_obj
[0] = args
;
19908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19909 if (!SWIG_IsOK(res1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 (arg1
)->StartPage();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_Py_Void();
19926 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19927 PyObject
*resultobj
= 0;
19928 wxDC
*arg1
= (wxDC
*) 0 ;
19931 PyObject
*swig_obj
[1] ;
19933 if (!args
) SWIG_fail
;
19934 swig_obj
[0] = args
;
19935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19936 if (!SWIG_IsOK(res1
)) {
19937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
19939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= SWIG_Py_Void();
19953 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
= 0;
19955 wxDC
*arg1
= (wxDC
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "font", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
19972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19974 if (!SWIG_IsOK(res2
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19980 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 (arg1
)->SetFont((wxFont
const &)*arg2
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_Py_Void();
19994 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
= 0;
19996 wxDC
*arg1
= (wxDC
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 char * kwnames
[] = {
20005 (char *) "self",(char *) "pen", NULL
20008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20015 if (!SWIG_IsOK(res2
)) {
20016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20021 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 (arg1
)->SetPen((wxPen
const &)*arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_Py_Void();
20035 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxDC
*arg1
= (wxDC
*) 0 ;
20038 wxBrush
*arg2
= 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char * kwnames
[] = {
20046 (char *) "self",(char *) "brush", NULL
20049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20056 if (!SWIG_IsOK(res2
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20062 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_Py_Void();
20076 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
= 0;
20078 wxDC
*arg1
= (wxDC
*) 0 ;
20079 wxBrush
*arg2
= 0 ;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 char * kwnames
[] = {
20087 (char *) "self",(char *) "brush", NULL
20090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20092 if (!SWIG_IsOK(res1
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20097 if (!SWIG_IsOK(res2
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20103 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= SWIG_Py_Void();
20117 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
= 0;
20119 wxDC
*arg1
= (wxDC
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char * kwnames
[] = {
20128 (char *) "self",(char *) "mode", NULL
20131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20133 if (!SWIG_IsOK(res1
)) {
20134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20138 if (!SWIG_IsOK(ecode2
)) {
20139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20141 arg2
= static_cast< int >(val2
);
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 (arg1
)->SetBackgroundMode(arg2
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= SWIG_Py_Void();
20155 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
= 0;
20157 wxDC
*arg1
= (wxDC
*) 0 ;
20158 wxPalette
*arg2
= 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char * kwnames
[] = {
20166 (char *) "self",(char *) "palette", NULL
20169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20176 if (!SWIG_IsOK(res2
)) {
20177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20182 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= SWIG_Py_Void();
20196 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20197 PyObject
*resultobj
= 0;
20198 wxDC
*arg1
= (wxDC
*) 0 ;
20201 PyObject
*swig_obj
[1] ;
20203 if (!args
) SWIG_fail
;
20204 swig_obj
[0] = args
;
20205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20206 if (!SWIG_IsOK(res1
)) {
20207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 (arg1
)->DestroyClippingRegion();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_Py_Void();
20223 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20224 PyObject
*resultobj
= 0;
20225 wxDC
*arg1
= (wxDC
*) 0 ;
20226 int *arg2
= (int *) 0 ;
20227 int *arg3
= (int *) 0 ;
20228 int *arg4
= (int *) 0 ;
20229 int *arg5
= (int *) 0 ;
20233 int res2
= SWIG_TMPOBJ
;
20235 int res3
= SWIG_TMPOBJ
;
20237 int res4
= SWIG_TMPOBJ
;
20239 int res5
= SWIG_TMPOBJ
;
20240 PyObject
*swig_obj
[1] ;
20246 if (!args
) SWIG_fail
;
20247 swig_obj
[0] = args
;
20248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20249 if (!SWIG_IsOK(res1
)) {
20250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_Py_Void();
20260 if (SWIG_IsTmpObj(res2
)) {
20261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20263 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20266 if (SWIG_IsTmpObj(res3
)) {
20267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20269 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20272 if (SWIG_IsTmpObj(res4
)) {
20273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20275 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20278 if (SWIG_IsTmpObj(res5
)) {
20279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20281 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20290 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20291 PyObject
*resultobj
= 0;
20292 wxDC
*arg1
= (wxDC
*) 0 ;
20296 PyObject
*swig_obj
[1] ;
20298 if (!args
) SWIG_fail
;
20299 swig_obj
[0] = args
;
20300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20301 if (!SWIG_IsOK(res1
)) {
20302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 result
= wxDC_GetClippingRect(arg1
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20318 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20319 PyObject
*resultobj
= 0;
20320 wxDC
*arg1
= (wxDC
*) 0 ;
20324 PyObject
*swig_obj
[1] ;
20326 if (!args
) SWIG_fail
;
20327 swig_obj
[0] = args
;
20328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20329 if (!SWIG_IsOK(res1
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_From_int(static_cast< int >(result
));
20346 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20347 PyObject
*resultobj
= 0;
20348 wxDC
*arg1
= (wxDC
*) 0 ;
20352 PyObject
*swig_obj
[1] ;
20354 if (!args
) SWIG_fail
;
20355 swig_obj
[0] = args
;
20356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20357 if (!SWIG_IsOK(res1
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= SWIG_From_int(static_cast< int >(result
));
20374 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
= 0;
20376 wxDC
*arg1
= (wxDC
*) 0 ;
20377 wxString
*arg2
= 0 ;
20378 int *arg3
= (int *) 0 ;
20379 int *arg4
= (int *) 0 ;
20382 bool temp2
= false ;
20384 int res3
= SWIG_TMPOBJ
;
20386 int res4
= SWIG_TMPOBJ
;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char * kwnames
[] = {
20390 (char *) "self",(char *) "string", NULL
20395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20402 arg2
= wxString_in_helper(obj1
);
20403 if (arg2
== NULL
) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_Py_Void();
20413 if (SWIG_IsTmpObj(res3
)) {
20414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20416 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20419 if (SWIG_IsTmpObj(res4
)) {
20420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20422 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20439 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
= 0;
20441 wxDC
*arg1
= (wxDC
*) 0 ;
20442 wxString
*arg2
= 0 ;
20443 int *arg3
= (int *) 0 ;
20444 int *arg4
= (int *) 0 ;
20445 int *arg5
= (int *) 0 ;
20446 int *arg6
= (int *) 0 ;
20447 wxFont
*arg7
= (wxFont
*) NULL
;
20450 bool temp2
= false ;
20452 int res3
= SWIG_TMPOBJ
;
20454 int res4
= SWIG_TMPOBJ
;
20456 int res5
= SWIG_TMPOBJ
;
20458 int res6
= SWIG_TMPOBJ
;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 PyObject
* obj2
= 0 ;
20464 char * kwnames
[] = {
20465 (char *) "self",(char *) "string",(char *) "font", NULL
20472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20479 arg2
= wxString_in_helper(obj1
);
20480 if (arg2
== NULL
) SWIG_fail
;
20484 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20485 if (!SWIG_IsOK(res7
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20488 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= SWIG_Py_Void();
20497 if (SWIG_IsTmpObj(res3
)) {
20498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20500 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20503 if (SWIG_IsTmpObj(res4
)) {
20504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20506 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20509 if (SWIG_IsTmpObj(res5
)) {
20510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20512 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20515 if (SWIG_IsTmpObj(res6
)) {
20516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20518 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20535 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
= 0;
20537 wxDC
*arg1
= (wxDC
*) 0 ;
20538 wxString
*arg2
= 0 ;
20539 int *arg3
= (int *) 0 ;
20540 int *arg4
= (int *) 0 ;
20541 int *arg5
= (int *) 0 ;
20542 wxFont
*arg6
= (wxFont
*) NULL
;
20545 bool temp2
= false ;
20547 int res3
= SWIG_TMPOBJ
;
20549 int res4
= SWIG_TMPOBJ
;
20551 int res5
= SWIG_TMPOBJ
;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 PyObject
* obj2
= 0 ;
20557 char * kwnames
[] = {
20558 (char *) "self",(char *) "text",(char *) "font", NULL
20564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20571 arg2
= wxString_in_helper(obj1
);
20572 if (arg2
== NULL
) SWIG_fail
;
20576 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20577 if (!SWIG_IsOK(res6
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20580 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_Py_Void();
20589 if (SWIG_IsTmpObj(res3
)) {
20590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20592 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20595 if (SWIG_IsTmpObj(res4
)) {
20596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20598 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20601 if (SWIG_IsTmpObj(res5
)) {
20602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20604 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20621 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
= 0;
20623 wxDC
*arg1
= (wxDC
*) 0 ;
20624 wxString
*arg2
= 0 ;
20628 bool temp2
= false ;
20629 PyObject
* obj0
= 0 ;
20630 PyObject
* obj1
= 0 ;
20631 char * kwnames
[] = {
20632 (char *) "self",(char *) "text", NULL
20635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20637 if (!SWIG_IsOK(res1
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20642 arg2
= wxString_in_helper(obj1
);
20643 if (arg2
== NULL
) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= PyList_New(0);
20655 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20656 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20657 PyList_Append(resultobj
, val
);
20675 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20676 PyObject
*resultobj
= 0;
20677 wxDC
*arg1
= (wxDC
*) 0 ;
20681 PyObject
*swig_obj
[1] ;
20683 if (!args
) SWIG_fail
;
20684 swig_obj
[0] = args
;
20685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20686 if (!SWIG_IsOK(res1
)) {
20687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= (arg1
)->GetSize();
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20703 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20704 PyObject
*resultobj
= 0;
20705 wxDC
*arg1
= (wxDC
*) 0 ;
20706 int *arg2
= (int *) 0 ;
20707 int *arg3
= (int *) 0 ;
20711 int res2
= SWIG_TMPOBJ
;
20713 int res3
= SWIG_TMPOBJ
;
20714 PyObject
*swig_obj
[1] ;
20718 if (!args
) SWIG_fail
;
20719 swig_obj
[0] = args
;
20720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20721 if (!SWIG_IsOK(res1
)) {
20722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 (arg1
)->GetSize(arg2
,arg3
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_Py_Void();
20732 if (SWIG_IsTmpObj(res2
)) {
20733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20735 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20738 if (SWIG_IsTmpObj(res3
)) {
20739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20741 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20750 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20751 PyObject
*resultobj
= 0;
20752 wxDC
*arg1
= (wxDC
*) 0 ;
20756 PyObject
*swig_obj
[1] ;
20758 if (!args
) SWIG_fail
;
20759 swig_obj
[0] = args
;
20760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20778 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20779 PyObject
*resultobj
= 0;
20780 wxDC
*arg1
= (wxDC
*) 0 ;
20781 int *arg2
= (int *) 0 ;
20782 int *arg3
= (int *) 0 ;
20786 int res2
= SWIG_TMPOBJ
;
20788 int res3
= SWIG_TMPOBJ
;
20789 PyObject
*swig_obj
[1] ;
20793 if (!args
) SWIG_fail
;
20794 swig_obj
[0] = args
;
20795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_Py_Void();
20807 if (SWIG_IsTmpObj(res2
)) {
20808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20810 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20813 if (SWIG_IsTmpObj(res3
)) {
20814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20816 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20825 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= 0;
20827 wxDC
*arg1
= (wxDC
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 char * kwnames
[] = {
20837 (char *) "self",(char *) "x", NULL
20840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20842 if (!SWIG_IsOK(res1
)) {
20843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20847 if (!SWIG_IsOK(ecode2
)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20850 arg2
= static_cast< int >(val2
);
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= SWIG_From_int(static_cast< int >(result
));
20864 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
= 0;
20866 wxDC
*arg1
= (wxDC
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 PyObject
* obj1
= 0 ;
20875 char * kwnames
[] = {
20876 (char *) "self",(char *) "y", NULL
20879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20881 if (!SWIG_IsOK(res1
)) {
20882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20886 if (!SWIG_IsOK(ecode2
)) {
20887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20889 arg2
= static_cast< int >(val2
);
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_From_int(static_cast< int >(result
));
20903 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
= 0;
20905 wxDC
*arg1
= (wxDC
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char * kwnames
[] = {
20915 (char *) "self",(char *) "x", NULL
20918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20920 if (!SWIG_IsOK(res1
)) {
20921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20925 if (!SWIG_IsOK(ecode2
)) {
20926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20928 arg2
= static_cast< int >(val2
);
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= SWIG_From_int(static_cast< int >(result
));
20942 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
= 0;
20944 wxDC
*arg1
= (wxDC
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 PyObject
* obj1
= 0 ;
20953 char * kwnames
[] = {
20954 (char *) "self",(char *) "y", NULL
20957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20959 if (!SWIG_IsOK(res1
)) {
20960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20964 if (!SWIG_IsOK(ecode2
)) {
20965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
20967 arg2
= static_cast< int >(val2
);
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_From_int(static_cast< int >(result
));
20981 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
= 0;
20983 wxDC
*arg1
= (wxDC
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 char * kwnames
[] = {
20993 (char *) "self",(char *) "x", NULL
20996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20998 if (!SWIG_IsOK(res1
)) {
20999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21003 if (!SWIG_IsOK(ecode2
)) {
21004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21006 arg2
= static_cast< int >(val2
);
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_From_int(static_cast< int >(result
));
21020 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
= 0;
21022 wxDC
*arg1
= (wxDC
*) 0 ;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 char * kwnames
[] = {
21032 (char *) "self",(char *) "y", NULL
21035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21037 if (!SWIG_IsOK(res1
)) {
21038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21042 if (!SWIG_IsOK(ecode2
)) {
21043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21045 arg2
= static_cast< int >(val2
);
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= SWIG_From_int(static_cast< int >(result
));
21059 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
= 0;
21061 wxDC
*arg1
= (wxDC
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 char * kwnames
[] = {
21071 (char *) "self",(char *) "x", NULL
21074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21076 if (!SWIG_IsOK(res1
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21081 if (!SWIG_IsOK(ecode2
)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21084 arg2
= static_cast< int >(val2
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_From_int(static_cast< int >(result
));
21098 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= 0;
21100 wxDC
*arg1
= (wxDC
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 char * kwnames
[] = {
21110 (char *) "self",(char *) "y", NULL
21113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21115 if (!SWIG_IsOK(res1
)) {
21116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21120 if (!SWIG_IsOK(ecode2
)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21123 arg2
= static_cast< int >(val2
);
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 resultobj
= SWIG_From_int(static_cast< int >(result
));
21137 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21138 PyObject
*resultobj
= 0;
21139 wxDC
*arg1
= (wxDC
*) 0 ;
21143 PyObject
*swig_obj
[1] ;
21145 if (!args
) SWIG_fail
;
21146 swig_obj
[0] = args
;
21147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21167 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21168 PyObject
*resultobj
= 0;
21169 wxDC
*arg1
= (wxDC
*) 0 ;
21173 PyObject
*swig_obj
[1] ;
21175 if (!args
) SWIG_fail
;
21176 swig_obj
[0] = args
;
21177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21178 if (!SWIG_IsOK(res1
)) {
21179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21181 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21197 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21198 PyObject
*resultobj
= 0;
21199 wxDC
*arg1
= (wxDC
*) 0 ;
21203 PyObject
*swig_obj
[1] ;
21205 if (!args
) SWIG_fail
;
21206 swig_obj
[0] = args
;
21207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21208 if (!SWIG_IsOK(res1
)) {
21209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_From_int(static_cast< int >(result
));
21225 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21226 PyObject
*resultobj
= 0;
21227 wxDC
*arg1
= (wxDC
*) 0 ;
21231 PyObject
*swig_obj
[1] ;
21233 if (!args
) SWIG_fail
;
21234 swig_obj
[0] = args
;
21235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21236 if (!SWIG_IsOK(res1
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= ((wxDC
const *)arg1
)->GetPPI();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21253 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21254 PyObject
*resultobj
= 0;
21255 wxDC
*arg1
= (wxDC
*) 0 ;
21259 PyObject
*swig_obj
[1] ;
21261 if (!args
) SWIG_fail
;
21262 swig_obj
[0] = args
;
21263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21264 if (!SWIG_IsOK(res1
)) {
21265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (bool)((wxDC
const *)arg1
)->Ok();
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21283 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21284 PyObject
*resultobj
= 0;
21285 wxDC
*arg1
= (wxDC
*) 0 ;
21289 PyObject
*swig_obj
[1] ;
21291 if (!args
) SWIG_fail
;
21292 swig_obj
[0] = args
;
21293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21294 if (!SWIG_IsOK(res1
)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_From_int(static_cast< int >(result
));
21311 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 PyObject
*resultobj
= 0;
21313 wxDC
*arg1
= (wxDC
*) 0 ;
21314 wxBrush
*result
= 0 ;
21317 PyObject
*swig_obj
[1] ;
21319 if (!args
) SWIG_fail
;
21320 swig_obj
[0] = args
;
21321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21322 if (!SWIG_IsOK(res1
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21330 result
= (wxBrush
*) &_result_ref
;
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21336 wxBrush
* resultptr
= new wxBrush(*result
);
21337 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21345 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21346 PyObject
*resultobj
= 0;
21347 wxDC
*arg1
= (wxDC
*) 0 ;
21348 wxBrush
*result
= 0 ;
21351 PyObject
*swig_obj
[1] ;
21353 if (!args
) SWIG_fail
;
21354 swig_obj
[0] = args
;
21355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21356 if (!SWIG_IsOK(res1
)) {
21357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21364 result
= (wxBrush
*) &_result_ref
;
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 wxBrush
* resultptr
= new wxBrush(*result
);
21371 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21379 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21380 PyObject
*resultobj
= 0;
21381 wxDC
*arg1
= (wxDC
*) 0 ;
21382 wxFont
*result
= 0 ;
21385 PyObject
*swig_obj
[1] ;
21387 if (!args
) SWIG_fail
;
21388 swig_obj
[0] = args
;
21389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21390 if (!SWIG_IsOK(res1
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21398 result
= (wxFont
*) &_result_ref
;
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 wxFont
* resultptr
= new wxFont(*result
);
21405 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21413 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21414 PyObject
*resultobj
= 0;
21415 wxDC
*arg1
= (wxDC
*) 0 ;
21416 wxPen
*result
= 0 ;
21419 PyObject
*swig_obj
[1] ;
21421 if (!args
) SWIG_fail
;
21422 swig_obj
[0] = args
;
21423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21424 if (!SWIG_IsOK(res1
)) {
21425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21432 result
= (wxPen
*) &_result_ref
;
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 wxPen
* resultptr
= new wxPen(*result
);
21439 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21447 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21448 PyObject
*resultobj
= 0;
21449 wxDC
*arg1
= (wxDC
*) 0 ;
21450 wxColour
*result
= 0 ;
21453 PyObject
*swig_obj
[1] ;
21455 if (!args
) SWIG_fail
;
21456 swig_obj
[0] = args
;
21457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21458 if (!SWIG_IsOK(res1
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21466 result
= (wxColour
*) &_result_ref
;
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21478 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 PyObject
*resultobj
= 0;
21480 wxDC
*arg1
= (wxDC
*) 0 ;
21481 wxColour
*result
= 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_wxDC
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21497 result
= (wxColour
*) &_result_ref
;
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21509 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
= 0;
21511 wxDC
*arg1
= (wxDC
*) 0 ;
21512 wxColour
*arg2
= 0 ;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 char * kwnames
[] = {
21519 (char *) "self",(char *) "colour", NULL
21522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21524 if (!SWIG_IsOK(res1
)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21530 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= SWIG_Py_Void();
21545 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
= 0;
21547 wxDC
*arg1
= (wxDC
*) 0 ;
21548 wxColour
*arg2
= 0 ;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 char * kwnames
[] = {
21555 (char *) "self",(char *) "colour", NULL
21558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21560 if (!SWIG_IsOK(res1
)) {
21561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= SWIG_Py_Void();
21581 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21582 PyObject
*resultobj
= 0;
21583 wxDC
*arg1
= (wxDC
*) 0 ;
21587 PyObject
*swig_obj
[1] ;
21589 if (!args
) SWIG_fail
;
21590 swig_obj
[0] = args
;
21591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21592 if (!SWIG_IsOK(res1
)) {
21593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= SWIG_From_int(static_cast< int >(result
));
21609 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
= 0;
21611 wxDC
*arg1
= (wxDC
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char * kwnames
[] = {
21620 (char *) "self",(char *) "mode", NULL
21623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21630 if (!SWIG_IsOK(ecode2
)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21633 arg2
= static_cast< int >(val2
);
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 (arg1
)->SetMapMode(arg2
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= SWIG_Py_Void();
21647 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21648 PyObject
*resultobj
= 0;
21649 wxDC
*arg1
= (wxDC
*) 0 ;
21650 double *arg2
= (double *) 0 ;
21651 double *arg3
= (double *) 0 ;
21655 int res2
= SWIG_TMPOBJ
;
21657 int res3
= SWIG_TMPOBJ
;
21658 PyObject
*swig_obj
[1] ;
21662 if (!args
) SWIG_fail
;
21663 swig_obj
[0] = args
;
21664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21665 if (!SWIG_IsOK(res1
)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_Py_Void();
21676 if (SWIG_IsTmpObj(res2
)) {
21677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21679 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21682 if (SWIG_IsTmpObj(res3
)) {
21683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21685 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21694 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
= 0;
21696 wxDC
*arg1
= (wxDC
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 PyObject
* obj2
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "x",(char *) "y", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21718 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21719 if (!SWIG_IsOK(ecode2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21722 arg2
= static_cast< double >(val2
);
21723 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21724 if (!SWIG_IsOK(ecode3
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21727 arg3
= static_cast< double >(val3
);
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->SetUserScale(arg2
,arg3
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_Py_Void();
21741 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 PyObject
*resultobj
= 0;
21743 wxDC
*arg1
= (wxDC
*) 0 ;
21744 double *arg2
= (double *) 0 ;
21745 double *arg3
= (double *) 0 ;
21749 int res2
= SWIG_TMPOBJ
;
21751 int res3
= SWIG_TMPOBJ
;
21752 PyObject
*swig_obj
[1] ;
21756 if (!args
) SWIG_fail
;
21757 swig_obj
[0] = args
;
21758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21759 if (!SWIG_IsOK(res1
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->GetLogicalScale(arg2
,arg3
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= SWIG_Py_Void();
21770 if (SWIG_IsTmpObj(res2
)) {
21771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21773 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21776 if (SWIG_IsTmpObj(res3
)) {
21777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21779 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21788 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
= 0;
21790 wxDC
*arg1
= (wxDC
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 PyObject
* obj2
= 0 ;
21802 char * kwnames
[] = {
21803 (char *) "self",(char *) "x",(char *) "y", NULL
21806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21812 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21813 if (!SWIG_IsOK(ecode2
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21816 arg2
= static_cast< double >(val2
);
21817 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21818 if (!SWIG_IsOK(ecode3
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21821 arg3
= static_cast< double >(val3
);
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->SetLogicalScale(arg2
,arg3
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_Py_Void();
21835 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21836 PyObject
*resultobj
= 0;
21837 wxDC
*arg1
= (wxDC
*) 0 ;
21841 PyObject
*swig_obj
[1] ;
21843 if (!args
) SWIG_fail
;
21844 swig_obj
[0] = args
;
21845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21846 if (!SWIG_IsOK(res1
)) {
21847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21863 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21864 PyObject
*resultobj
= 0;
21865 wxDC
*arg1
= (wxDC
*) 0 ;
21866 int *arg2
= (int *) 0 ;
21867 int *arg3
= (int *) 0 ;
21871 int res2
= SWIG_TMPOBJ
;
21873 int res3
= SWIG_TMPOBJ
;
21874 PyObject
*swig_obj
[1] ;
21878 if (!args
) SWIG_fail
;
21879 swig_obj
[0] = args
;
21880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21881 if (!SWIG_IsOK(res1
)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_Py_Void();
21892 if (SWIG_IsTmpObj(res2
)) {
21893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21895 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21898 if (SWIG_IsTmpObj(res3
)) {
21899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21901 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21910 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
= 0;
21912 wxDC
*arg1
= (wxDC
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 char * kwnames
[] = {
21925 (char *) "self",(char *) "x",(char *) "y", NULL
21928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21930 if (!SWIG_IsOK(res1
)) {
21931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21935 if (!SWIG_IsOK(ecode2
)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
21938 arg2
= static_cast< int >(val2
);
21939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21940 if (!SWIG_IsOK(ecode3
)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
21943 arg3
= static_cast< int >(val3
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_Py_Void();
21957 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
= 0;
21959 wxDC
*arg1
= (wxDC
*) 0 ;
21960 wxPoint
*arg2
= 0 ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char * kwnames
[] = {
21967 (char *) "self",(char *) "point", NULL
21970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21972 if (!SWIG_IsOK(res1
)) {
21973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
21975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_Py_Void();
21993 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21994 PyObject
*resultobj
= 0;
21995 wxDC
*arg1
= (wxDC
*) 0 ;
21999 PyObject
*swig_obj
[1] ;
22001 if (!args
) SWIG_fail
;
22002 swig_obj
[0] = args
;
22003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22004 if (!SWIG_IsOK(res1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22021 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22022 PyObject
*resultobj
= 0;
22023 wxDC
*arg1
= (wxDC
*) 0 ;
22024 int *arg2
= (int *) 0 ;
22025 int *arg3
= (int *) 0 ;
22029 int res2
= SWIG_TMPOBJ
;
22031 int res3
= SWIG_TMPOBJ
;
22032 PyObject
*swig_obj
[1] ;
22036 if (!args
) SWIG_fail
;
22037 swig_obj
[0] = args
;
22038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22039 if (!SWIG_IsOK(res1
)) {
22040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_Py_Void();
22050 if (SWIG_IsTmpObj(res2
)) {
22051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22053 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22056 if (SWIG_IsTmpObj(res3
)) {
22057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22059 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22068 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
= 0;
22070 wxDC
*arg1
= (wxDC
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 PyObject
* obj2
= 0 ;
22082 char * kwnames
[] = {
22083 (char *) "self",(char *) "x",(char *) "y", NULL
22086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22088 if (!SWIG_IsOK(res1
)) {
22089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22093 if (!SWIG_IsOK(ecode2
)) {
22094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22096 arg2
= static_cast< int >(val2
);
22097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22098 if (!SWIG_IsOK(ecode3
)) {
22099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22101 arg3
= static_cast< int >(val3
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_Py_Void();
22115 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= 0;
22117 wxDC
*arg1
= (wxDC
*) 0 ;
22118 wxPoint
*arg2
= 0 ;
22122 PyObject
* obj0
= 0 ;
22123 PyObject
* obj1
= 0 ;
22124 char * kwnames
[] = {
22125 (char *) "self",(char *) "point", NULL
22128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22130 if (!SWIG_IsOK(res1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22136 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= SWIG_Py_Void();
22151 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22152 PyObject
*resultobj
= 0;
22153 wxDC
*arg1
= (wxDC
*) 0 ;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 char * kwnames
[] = {
22166 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22171 if (!SWIG_IsOK(res1
)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22175 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22176 if (!SWIG_IsOK(ecode2
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22179 arg2
= static_cast< bool >(val2
);
22180 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22181 if (!SWIG_IsOK(ecode3
)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22184 arg3
= static_cast< bool >(val3
);
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= SWIG_Py_Void();
22198 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22199 PyObject
*resultobj
= 0;
22200 wxDC
*arg1
= (wxDC
*) 0 ;
22204 PyObject
*swig_obj
[1] ;
22206 if (!args
) SWIG_fail
;
22207 swig_obj
[0] = args
;
22208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_From_int(static_cast< int >(result
));
22226 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
= 0;
22228 wxDC
*arg1
= (wxDC
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "self",(char *) "function", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22247 if (!SWIG_IsOK(ecode2
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22250 arg2
= static_cast< int >(val2
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 (arg1
)->SetLogicalFunction(arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_Py_Void();
22264 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22265 PyObject
*resultobj
= 0;
22266 wxDC
*arg1
= (wxDC
*) 0 ;
22269 PyObject
*swig_obj
[1] ;
22271 if (!args
) SWIG_fail
;
22272 swig_obj
[0] = args
;
22273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 (arg1
)->ComputeScaleAndOrigin();
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= SWIG_Py_Void();
22291 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
= 0;
22293 wxDC
*arg1
= (wxDC
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "self",(char *) "x",(char *) "y", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22316 if (!SWIG_IsOK(ecode2
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22319 arg2
= static_cast< int >(val2
);
22320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22321 if (!SWIG_IsOK(ecode3
)) {
22322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22324 arg3
= static_cast< int >(val3
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_Py_Void();
22338 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
= 0;
22340 wxDC
*arg1
= (wxDC
*) 0 ;
22341 wxPoint
*arg2
= 0 ;
22345 PyObject
* obj0
= 0 ;
22346 PyObject
* obj1
= 0 ;
22347 char * kwnames
[] = {
22348 (char *) "self",(char *) "point", NULL
22351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22353 if (!SWIG_IsOK(res1
)) {
22354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_Py_Void();
22374 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22375 PyObject
*resultobj
= 0;
22376 wxDC
*arg1
= (wxDC
*) 0 ;
22379 PyObject
*swig_obj
[1] ;
22381 if (!args
) SWIG_fail
;
22382 swig_obj
[0] = args
;
22383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22384 if (!SWIG_IsOK(res1
)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 (arg1
)->ResetBoundingBox();
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= SWIG_Py_Void();
22401 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 PyObject
*resultobj
= 0;
22403 wxDC
*arg1
= (wxDC
*) 0 ;
22407 PyObject
*swig_obj
[1] ;
22409 if (!args
) SWIG_fail
;
22410 swig_obj
[0] = args
;
22411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22412 if (!SWIG_IsOK(res1
)) {
22413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (int)((wxDC
const *)arg1
)->MinX();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= SWIG_From_int(static_cast< int >(result
));
22429 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22430 PyObject
*resultobj
= 0;
22431 wxDC
*arg1
= (wxDC
*) 0 ;
22435 PyObject
*swig_obj
[1] ;
22437 if (!args
) SWIG_fail
;
22438 swig_obj
[0] = args
;
22439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (int)((wxDC
const *)arg1
)->MaxX();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_From_int(static_cast< int >(result
));
22457 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22458 PyObject
*resultobj
= 0;
22459 wxDC
*arg1
= (wxDC
*) 0 ;
22463 PyObject
*swig_obj
[1] ;
22465 if (!args
) SWIG_fail
;
22466 swig_obj
[0] = args
;
22467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22468 if (!SWIG_IsOK(res1
)) {
22469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (int)((wxDC
const *)arg1
)->MinY();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= SWIG_From_int(static_cast< int >(result
));
22485 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22486 PyObject
*resultobj
= 0;
22487 wxDC
*arg1
= (wxDC
*) 0 ;
22491 PyObject
*swig_obj
[1] ;
22493 if (!args
) SWIG_fail
;
22494 swig_obj
[0] = args
;
22495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22496 if (!SWIG_IsOK(res1
)) {
22497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (int)((wxDC
const *)arg1
)->MaxY();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= SWIG_From_int(static_cast< int >(result
));
22513 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22514 PyObject
*resultobj
= 0;
22515 wxDC
*arg1
= (wxDC
*) 0 ;
22516 int *arg2
= (int *) 0 ;
22517 int *arg3
= (int *) 0 ;
22518 int *arg4
= (int *) 0 ;
22519 int *arg5
= (int *) 0 ;
22523 int res2
= SWIG_TMPOBJ
;
22525 int res3
= SWIG_TMPOBJ
;
22527 int res4
= SWIG_TMPOBJ
;
22529 int res5
= SWIG_TMPOBJ
;
22530 PyObject
*swig_obj
[1] ;
22536 if (!args
) SWIG_fail
;
22537 swig_obj
[0] = args
;
22538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22539 if (!SWIG_IsOK(res1
)) {
22540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_Py_Void();
22550 if (SWIG_IsTmpObj(res2
)) {
22551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22553 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22556 if (SWIG_IsTmpObj(res3
)) {
22557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22559 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22562 if (SWIG_IsTmpObj(res4
)) {
22563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22565 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22568 if (SWIG_IsTmpObj(res5
)) {
22569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22571 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22580 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
= 0;
22582 wxDC
*arg1
= (wxDC
*) 0 ;
22583 PyObject
*arg2
= (PyObject
*) 0 ;
22584 PyObject
*arg3
= (PyObject
*) 0 ;
22585 PyObject
*arg4
= (PyObject
*) 0 ;
22586 PyObject
*result
= 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 PyObject
* obj2
= 0 ;
22592 PyObject
* obj3
= 0 ;
22593 char * kwnames
[] = {
22594 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= result
;
22619 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
= 0;
22621 wxDC
*arg1
= (wxDC
*) 0 ;
22622 PyObject
*arg2
= (PyObject
*) 0 ;
22623 PyObject
*arg3
= (PyObject
*) 0 ;
22624 PyObject
*arg4
= (PyObject
*) 0 ;
22625 PyObject
*result
= 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 PyObject
* obj2
= 0 ;
22631 PyObject
* obj3
= 0 ;
22632 char * kwnames
[] = {
22633 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22638 if (!SWIG_IsOK(res1
)) {
22639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= result
;
22658 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
= 0;
22660 wxDC
*arg1
= (wxDC
*) 0 ;
22661 PyObject
*arg2
= (PyObject
*) 0 ;
22662 PyObject
*arg3
= (PyObject
*) 0 ;
22663 PyObject
*arg4
= (PyObject
*) 0 ;
22664 PyObject
*result
= 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 PyObject
* obj2
= 0 ;
22670 PyObject
* obj3
= 0 ;
22671 char * kwnames
[] = {
22672 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22677 if (!SWIG_IsOK(res1
)) {
22678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= result
;
22697 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= 0;
22699 wxDC
*arg1
= (wxDC
*) 0 ;
22700 PyObject
*arg2
= (PyObject
*) 0 ;
22701 PyObject
*arg3
= (PyObject
*) 0 ;
22702 PyObject
*arg4
= (PyObject
*) 0 ;
22703 PyObject
*result
= 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 PyObject
* obj2
= 0 ;
22709 PyObject
* obj3
= 0 ;
22710 char * kwnames
[] = {
22711 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22716 if (!SWIG_IsOK(res1
)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= result
;
22736 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
= 0;
22738 wxDC
*arg1
= (wxDC
*) 0 ;
22739 PyObject
*arg2
= (PyObject
*) 0 ;
22740 PyObject
*arg3
= (PyObject
*) 0 ;
22741 PyObject
*arg4
= (PyObject
*) 0 ;
22742 PyObject
*result
= 0 ;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 PyObject
* obj2
= 0 ;
22748 PyObject
* obj3
= 0 ;
22749 char * kwnames
[] = {
22750 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= result
;
22775 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
= 0;
22777 wxDC
*arg1
= (wxDC
*) 0 ;
22778 PyObject
*arg2
= (PyObject
*) 0 ;
22779 PyObject
*arg3
= (PyObject
*) 0 ;
22780 PyObject
*arg4
= (PyObject
*) 0 ;
22781 PyObject
*arg5
= (PyObject
*) 0 ;
22782 PyObject
*result
= 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 PyObject
* obj2
= 0 ;
22788 PyObject
* obj3
= 0 ;
22789 PyObject
* obj4
= 0 ;
22790 char * kwnames
[] = {
22791 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22796 if (!SWIG_IsOK(res1
)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= result
;
22817 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22820 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22821 return SWIG_Py_Void();
22824 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22825 PyObject
*resultobj
= 0;
22826 wxMemoryDC
*result
= 0 ;
22828 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22830 if (!wxPyCheckForApp()) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (wxMemoryDC
*)new wxMemoryDC();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22843 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxDC
*arg1
= (wxDC
*) 0 ;
22846 wxMemoryDC
*result
= 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char * kwnames
[] = {
22851 (char *) "oldDC", NULL
22854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22856 if (!SWIG_IsOK(res1
)) {
22857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22861 if (!wxPyCheckForApp()) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22874 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
= 0;
22876 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22877 wxBitmap
*arg2
= 0 ;
22882 PyObject
* obj0
= 0 ;
22883 PyObject
* obj1
= 0 ;
22884 char * kwnames
[] = {
22885 (char *) "self",(char *) "bitmap", NULL
22888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22890 if (!SWIG_IsOK(res1
)) {
22891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22893 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22895 if (!SWIG_IsOK(res2
)) {
22896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22901 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 resultobj
= SWIG_Py_Void();
22915 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22918 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22919 return SWIG_Py_Void();
22922 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 return SWIG_Python_InitShadowInstance(args
);
22926 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22927 PyObject
*resultobj
= 0;
22928 wxDC
*arg1
= (wxDC
*) 0 ;
22929 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22930 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22931 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22932 wxBufferedDC
*result
= 0 ;
22940 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
22941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22947 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22948 if (!SWIG_IsOK(res2
)) {
22949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22954 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22957 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22958 if (!SWIG_IsOK(ecode3
)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22961 arg3
= static_cast< int >(val3
);
22964 if (!wxPyCheckForApp()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
22977 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22978 PyObject
*resultobj
= 0;
22979 wxDC
*arg1
= (wxDC
*) 0 ;
22981 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22982 wxBufferedDC
*result
= 0 ;
22989 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
22990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22997 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23000 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23001 if (!SWIG_IsOK(ecode3
)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23004 arg3
= static_cast< int >(val3
);
23007 if (!wxPyCheckForApp()) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23020 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23024 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23026 if ((argc
>= 1) && (argc
<= 3)) {
23030 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23031 _v
= SWIG_CheckState(res
);
23033 if (!_v
) goto check_1
;
23035 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23039 if ((argc
>= 2) && (argc
<= 3)) {
23040 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23044 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23049 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23050 PyObject
*resultobj
= 0;
23051 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23054 PyObject
*swig_obj
[1] ;
23056 if (!args
) SWIG_fail
;
23057 swig_obj
[0] = args
;
23058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23062 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_Py_Void();
23077 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23078 PyObject
*resultobj
= 0;
23079 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23082 PyObject
*swig_obj
[1] ;
23084 if (!args
) SWIG_fail
;
23085 swig_obj
[0] = args
;
23086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23087 if (!SWIG_IsOK(res1
)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23090 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_Py_Void();
23104 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23107 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23108 return SWIG_Py_Void();
23111 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23112 return SWIG_Python_InitShadowInstance(args
);
23115 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
= 0;
23117 wxWindow
*arg1
= (wxWindow
*) 0 ;
23118 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23119 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23120 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23121 wxBufferedPaintDC
*result
= 0 ;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 PyObject
* obj2
= 0 ;
23131 char * kwnames
[] = {
23132 (char *) "window",(char *) "buffer",(char *) "style", NULL
23135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23137 if (!SWIG_IsOK(res1
)) {
23138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23143 if (!SWIG_IsOK(res2
)) {
23144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23149 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23153 if (!SWIG_IsOK(ecode3
)) {
23154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23156 arg3
= static_cast< int >(val3
);
23159 if (!wxPyCheckForApp()) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23172 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23175 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23176 return SWIG_Py_Void();
23179 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23180 return SWIG_Python_InitShadowInstance(args
);
23183 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23184 PyObject
*resultobj
= 0;
23185 wxScreenDC
*result
= 0 ;
23187 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23189 if (!wxPyCheckForApp()) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (wxScreenDC
*)new wxScreenDC();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23202 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
= 0;
23204 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23205 wxWindow
*arg2
= (wxWindow
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 PyObject
* obj1
= 0 ;
23213 char * kwnames
[] = {
23214 (char *) "self",(char *) "window", NULL
23217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23219 if (!SWIG_IsOK(res1
)) {
23220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23222 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23224 if (!SWIG_IsOK(res2
)) {
23225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23227 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23243 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
= 0;
23245 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23246 wxRect
*arg2
= (wxRect
*) NULL
;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char * kwnames
[] = {
23255 (char *) "self",(char *) "rect", NULL
23258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23260 if (!SWIG_IsOK(res1
)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23263 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23266 if (!SWIG_IsOK(res2
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23269 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23286 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23287 PyObject
*resultobj
= 0;
23288 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23292 PyObject
*swig_obj
[1] ;
23294 if (!args
) SWIG_fail
;
23295 swig_obj
[0] = args
;
23296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23297 if (!SWIG_IsOK(res1
)) {
23298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23300 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= (bool)(arg1
)->EndDrawingOnTop();
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23316 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23319 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23320 return SWIG_Py_Void();
23323 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23324 return SWIG_Python_InitShadowInstance(args
);
23327 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
= 0;
23329 wxWindow
*arg1
= (wxWindow
*) 0 ;
23330 wxClientDC
*result
= 0 ;
23333 PyObject
* obj0
= 0 ;
23334 char * kwnames
[] = {
23335 (char *) "win", NULL
23338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23345 if (!wxPyCheckForApp()) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (wxClientDC
*)new wxClientDC(arg1
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23358 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23361 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23362 return SWIG_Py_Void();
23365 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23366 return SWIG_Python_InitShadowInstance(args
);
23369 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
= 0;
23371 wxWindow
*arg1
= (wxWindow
*) 0 ;
23372 wxPaintDC
*result
= 0 ;
23375 PyObject
* obj0
= 0 ;
23376 char * kwnames
[] = {
23377 (char *) "win", NULL
23380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23382 if (!SWIG_IsOK(res1
)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23387 if (!wxPyCheckForApp()) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23400 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23403 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23404 return SWIG_Py_Void();
23407 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23408 return SWIG_Python_InitShadowInstance(args
);
23411 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
= 0;
23413 wxWindow
*arg1
= (wxWindow
*) 0 ;
23414 wxWindowDC
*result
= 0 ;
23417 PyObject
* obj0
= 0 ;
23418 char * kwnames
[] = {
23419 (char *) "win", NULL
23422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23424 if (!SWIG_IsOK(res1
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23429 if (!wxPyCheckForApp()) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23442 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23445 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23446 return SWIG_Py_Void();
23449 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23450 return SWIG_Python_InitShadowInstance(args
);
23453 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
= 0;
23457 wxMirrorDC
*result
= 0 ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 char * kwnames
[] = {
23465 (char *) "dc",(char *) "mirror", NULL
23468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23469 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23470 if (!SWIG_IsOK(res1
)) {
23471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23476 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23477 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23478 if (!SWIG_IsOK(ecode2
)) {
23479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23481 arg2
= static_cast< bool >(val2
);
23483 if (!wxPyCheckForApp()) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23496 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23499 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23500 return SWIG_Py_Void();
23503 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23504 return SWIG_Python_InitShadowInstance(args
);
23507 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
= 0;
23509 wxPrintData
*arg1
= 0 ;
23510 wxPostScriptDC
*result
= 0 ;
23513 PyObject
* obj0
= 0 ;
23514 char * kwnames
[] = {
23515 (char *) "printData", NULL
23518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23519 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23520 if (!SWIG_IsOK(res1
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23526 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23528 if (!wxPyCheckForApp()) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23541 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23542 PyObject
*resultobj
= 0;
23543 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23544 wxPrintData
*result
= 0 ;
23547 PyObject
*swig_obj
[1] ;
23549 if (!args
) SWIG_fail
;
23550 swig_obj
[0] = args
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23555 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23560 result
= (wxPrintData
*) &_result_ref
;
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23572 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
= 0;
23574 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23575 wxPrintData
*arg2
= 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "self",(char *) "data", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23591 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23593 if (!SWIG_IsOK(res2
)) {
23594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23599 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_Py_Void();
23613 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
= 0;
23618 PyObject
* obj0
= 0 ;
23619 char * kwnames
[] = {
23620 (char *) "ppi", NULL
23623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23624 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23625 if (!SWIG_IsOK(ecode1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23628 arg1
= static_cast< int >(val1
);
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 wxPostScriptDC::SetResolution(arg1
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_Py_Void();
23642 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23643 PyObject
*resultobj
= 0;
23646 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (int)wxPostScriptDC::GetResolution();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_From_int(static_cast< int >(result
));
23660 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23663 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23664 return SWIG_Py_Void();
23667 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23668 return SWIG_Python_InitShadowInstance(args
);
23671 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
= 0;
23673 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23674 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23675 wxMetaFile
*result
= 0 ;
23676 bool temp1
= false ;
23677 PyObject
* obj0
= 0 ;
23678 char * kwnames
[] = {
23679 (char *) "filename", NULL
23682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23685 arg1
= wxString_in_helper(obj0
);
23686 if (arg1
== NULL
) SWIG_fail
;
23691 if (!wxPyCheckForApp()) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23712 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23715 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23716 return SWIG_Py_Void();
23719 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23720 return SWIG_Python_InitShadowInstance(args
);
23723 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
= 0;
23725 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23726 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23727 int arg2
= (int) 0 ;
23728 int arg3
= (int) 0 ;
23729 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23731 wxMetaFileDC
*result
= 0 ;
23732 bool temp1
= false ;
23737 bool temp4
= false ;
23738 PyObject
* obj0
= 0 ;
23739 PyObject
* obj1
= 0 ;
23740 PyObject
* obj2
= 0 ;
23741 PyObject
* obj3
= 0 ;
23742 char * kwnames
[] = {
23743 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23749 arg1
= wxString_in_helper(obj0
);
23750 if (arg1
== NULL
) SWIG_fail
;
23755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23756 if (!SWIG_IsOK(ecode2
)) {
23757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23759 arg2
= static_cast< int >(val2
);
23762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23763 if (!SWIG_IsOK(ecode3
)) {
23764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23766 arg3
= static_cast< int >(val3
);
23770 arg4
= wxString_in_helper(obj3
);
23771 if (arg4
== NULL
) SWIG_fail
;
23776 if (!wxPyCheckForApp()) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
23805 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23808 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
23809 return SWIG_Py_Void();
23812 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23813 return SWIG_Python_InitShadowInstance(args
);
23816 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
= 0;
23818 wxPrintData
*arg1
= 0 ;
23819 wxPrinterDC
*result
= 0 ;
23822 PyObject
* obj0
= 0 ;
23823 char * kwnames
[] = {
23824 (char *) "printData", NULL
23827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
23828 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23835 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23837 if (!wxPyCheckForApp()) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
23850 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
23854 return SWIG_Py_Void();
23857 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23858 return SWIG_Python_InitShadowInstance(args
);
23861 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
= 0;
23865 int arg3
= (int) true ;
23866 int arg4
= (int) 1 ;
23867 wxImageList
*result
= 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 PyObject
* obj2
= 0 ;
23879 PyObject
* obj3
= 0 ;
23880 char * kwnames
[] = {
23881 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
23884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23885 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23886 if (!SWIG_IsOK(ecode1
)) {
23887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
23889 arg1
= static_cast< int >(val1
);
23890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23891 if (!SWIG_IsOK(ecode2
)) {
23892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
23894 arg2
= static_cast< int >(val2
);
23896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23897 if (!SWIG_IsOK(ecode3
)) {
23898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
23900 arg3
= static_cast< int >(val3
);
23903 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23904 if (!SWIG_IsOK(ecode4
)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
23907 arg4
= static_cast< int >(val4
);
23910 if (!wxPyCheckForApp()) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
23925 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23926 PyObject
*resultobj
= 0;
23927 wxImageList
*arg1
= (wxImageList
*) 0 ;
23930 PyObject
*swig_obj
[1] ;
23932 if (!args
) SWIG_fail
;
23933 swig_obj
[0] = args
;
23934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
23935 if (!SWIG_IsOK(res1
)) {
23936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
23938 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_Py_Void();
23953 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
= 0;
23955 wxImageList
*arg1
= (wxImageList
*) 0 ;
23956 wxBitmap
*arg2
= 0 ;
23957 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
23958 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 PyObject
* obj2
= 0 ;
23969 char * kwnames
[] = {
23970 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
23973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
23978 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
23979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23980 if (!SWIG_IsOK(res2
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23986 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23988 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23989 if (!SWIG_IsOK(res3
)) {
23990 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
23993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
23995 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_From_int(static_cast< int >(result
));
24010 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
= 0;
24012 wxImageList
*arg1
= (wxImageList
*) 0 ;
24013 wxBitmap
*arg2
= 0 ;
24014 wxColour
*arg3
= 0 ;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24023 PyObject
* obj2
= 0 ;
24024 char * kwnames
[] = {
24025 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24030 if (!SWIG_IsOK(res1
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24033 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24035 if (!SWIG_IsOK(res2
)) {
24036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24041 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24044 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= SWIG_From_int(static_cast< int >(result
));
24059 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
= 0;
24061 wxImageList
*arg1
= (wxImageList
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char * kwnames
[] = {
24071 (char *) "self",(char *) "icon", NULL
24074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24076 if (!SWIG_IsOK(res1
)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24079 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24081 if (!SWIG_IsOK(res2
)) {
24082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24087 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= SWIG_From_int(static_cast< int >(result
));
24101 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
= 0;
24103 wxImageList
*arg1
= (wxImageList
*) 0 ;
24105 SwigValueWrapper
<wxBitmap
> result
;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 char * kwnames
[] = {
24113 (char *) "self",(char *) "index", NULL
24116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24121 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24123 if (!SWIG_IsOK(ecode2
)) {
24124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24126 arg2
= static_cast< int >(val2
);
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24140 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
= 0;
24142 wxImageList
*arg1
= (wxImageList
*) 0 ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char * kwnames
[] = {
24152 (char *) "self",(char *) "index", NULL
24155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24157 if (!SWIG_IsOK(res1
)) {
24158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24160 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24162 if (!SWIG_IsOK(ecode2
)) {
24163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24165 arg2
= static_cast< int >(val2
);
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24179 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
= 0;
24181 wxImageList
*arg1
= (wxImageList
*) 0 ;
24183 wxBitmap
*arg3
= 0 ;
24184 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24185 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 PyObject
* obj2
= 0 ;
24198 PyObject
* obj3
= 0 ;
24199 char * kwnames
[] = {
24200 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24205 if (!SWIG_IsOK(res1
)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24208 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24210 if (!SWIG_IsOK(ecode2
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24213 arg2
= static_cast< int >(val2
);
24214 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24215 if (!SWIG_IsOK(res3
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24221 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24223 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24224 if (!SWIG_IsOK(res4
)) {
24225 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24230 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24247 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
= 0;
24249 wxImageList
*arg1
= (wxImageList
*) 0 ;
24254 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24255 bool arg7
= (bool) (bool)false ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 PyObject
* obj2
= 0 ;
24274 PyObject
* obj3
= 0 ;
24275 PyObject
* obj4
= 0 ;
24276 PyObject
* obj5
= 0 ;
24277 PyObject
* obj6
= 0 ;
24278 char * kwnames
[] = {
24279 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24287 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24289 if (!SWIG_IsOK(ecode2
)) {
24290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24292 arg2
= static_cast< int >(val2
);
24293 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24294 if (!SWIG_IsOK(res3
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24300 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24302 if (!SWIG_IsOK(ecode4
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24305 arg4
= static_cast< int >(val4
);
24306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24307 if (!SWIG_IsOK(ecode5
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24310 arg5
= static_cast< int >(val5
);
24312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24313 if (!SWIG_IsOK(ecode6
)) {
24314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24316 arg6
= static_cast< int >(val6
);
24319 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24320 if (!SWIG_IsOK(ecode7
)) {
24321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24323 arg7
= static_cast< bool >(val7
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24340 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24341 PyObject
*resultobj
= 0;
24342 wxImageList
*arg1
= (wxImageList
*) 0 ;
24346 PyObject
*swig_obj
[1] ;
24348 if (!args
) SWIG_fail
;
24349 swig_obj
[0] = args
;
24350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24351 if (!SWIG_IsOK(res1
)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24354 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (int)(arg1
)->GetImageCount();
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= SWIG_From_int(static_cast< int >(result
));
24368 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
= 0;
24370 wxImageList
*arg1
= (wxImageList
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 char * kwnames
[] = {
24380 (char *) "self",(char *) "index", NULL
24383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24385 if (!SWIG_IsOK(res1
)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24388 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24390 if (!SWIG_IsOK(ecode2
)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24393 arg2
= static_cast< int >(val2
);
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (bool)(arg1
)->Remove(arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24409 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24410 PyObject
*resultobj
= 0;
24411 wxImageList
*arg1
= (wxImageList
*) 0 ;
24415 PyObject
*swig_obj
[1] ;
24417 if (!args
) SWIG_fail
;
24418 swig_obj
[0] = args
;
24419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24423 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (bool)(arg1
)->RemoveAll();
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24439 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
= 0;
24441 wxImageList
*arg1
= (wxImageList
*) 0 ;
24450 int res3
= SWIG_TMPOBJ
;
24452 int res4
= SWIG_TMPOBJ
;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "index", NULL
24461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24463 if (!SWIG_IsOK(res1
)) {
24464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24466 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24468 if (!SWIG_IsOK(ecode2
)) {
24469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24471 arg2
= static_cast< int >(val2
);
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_Py_Void();
24479 if (SWIG_IsTmpObj(res3
)) {
24480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24482 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24485 if (SWIG_IsTmpObj(res4
)) {
24486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24488 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24497 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24500 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24501 return SWIG_Py_Void();
24504 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24505 return SWIG_Python_InitShadowInstance(args
);
24508 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24509 PyObject
*resultobj
= 0;
24510 wxStockGDI
*result
= 0 ;
24512 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (wxStockGDI
*)new wxStockGDI();
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24526 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24527 PyObject
*resultobj
= 0;
24528 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24531 PyObject
*swig_obj
[1] ;
24533 if (!args
) SWIG_fail
;
24534 swig_obj
[0] = args
;
24535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24539 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= SWIG_Py_Void();
24554 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24555 PyObject
*resultobj
= 0;
24557 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 wxStockGDI::DeleteAll();
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= SWIG_Py_Void();
24571 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24572 PyObject
*resultobj
= 0;
24573 wxStockGDI
*result
= 0 ;
24575 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24580 result
= (wxStockGDI
*) &_result_ref
;
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24592 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
= 0;
24594 wxStockGDI::Item arg1
;
24595 wxBrush
*result
= 0 ;
24598 PyObject
* obj0
= 0 ;
24599 char * kwnames
[] = {
24600 (char *) "item", NULL
24603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24604 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24605 if (!SWIG_IsOK(ecode1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24608 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24622 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
= 0;
24624 wxStockGDI::Item arg1
;
24625 wxColour
*result
= 0 ;
24628 PyObject
* obj0
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "item", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24634 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24635 if (!SWIG_IsOK(ecode1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24638 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24652 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
= 0;
24654 wxStockGDI::Item arg1
;
24655 wxCursor
*result
= 0 ;
24658 PyObject
* obj0
= 0 ;
24659 char * kwnames
[] = {
24660 (char *) "item", NULL
24663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24664 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24665 if (!SWIG_IsOK(ecode1
)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24668 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24682 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
= 0;
24684 wxStockGDI::Item arg1
;
24685 wxPen
*result
= 0 ;
24688 PyObject
* obj0
= 0 ;
24689 char * kwnames
[] = {
24690 (char *) "item", NULL
24693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24695 if (!SWIG_IsOK(ecode1
)) {
24696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24698 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24712 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
= 0;
24714 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24715 wxStockGDI::Item arg2
;
24716 wxFont
*result
= 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char * kwnames
[] = {
24724 (char *) "self",(char *) "item", NULL
24727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24732 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24734 if (!SWIG_IsOK(ecode2
)) {
24735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24737 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24751 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24754 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24755 return SWIG_Py_Void();
24758 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24759 return SWIG_Python_InitShadowInstance(args
);
24762 SWIGINTERN
int NullBitmap_set(PyObject
*) {
24763 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
24768 SWIGINTERN PyObject
*NullBitmap_get(void) {
24769 PyObject
*pyobj
= 0;
24771 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
24776 SWIGINTERN
int NullIcon_set(PyObject
*) {
24777 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
24782 SWIGINTERN PyObject
*NullIcon_get(void) {
24783 PyObject
*pyobj
= 0;
24785 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
24790 SWIGINTERN
int NullCursor_set(PyObject
*) {
24791 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
24796 SWIGINTERN PyObject
*NullCursor_get(void) {
24797 PyObject
*pyobj
= 0;
24799 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
24804 SWIGINTERN
int NullPen_set(PyObject
*) {
24805 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
24810 SWIGINTERN PyObject
*NullPen_get(void) {
24811 PyObject
*pyobj
= 0;
24813 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
24818 SWIGINTERN
int NullBrush_set(PyObject
*) {
24819 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
24824 SWIGINTERN PyObject
*NullBrush_get(void) {
24825 PyObject
*pyobj
= 0;
24827 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
24832 SWIGINTERN
int NullPalette_set(PyObject
*) {
24833 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
24838 SWIGINTERN PyObject
*NullPalette_get(void) {
24839 PyObject
*pyobj
= 0;
24841 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
24846 SWIGINTERN
int NullFont_set(PyObject
*) {
24847 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
24852 SWIGINTERN PyObject
*NullFont_get(void) {
24853 PyObject
*pyobj
= 0;
24855 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
24860 SWIGINTERN
int NullColour_set(PyObject
*) {
24861 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
24866 SWIGINTERN PyObject
*NullColour_get(void) {
24867 PyObject
*pyobj
= 0;
24869 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
24874 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24875 PyObject
*resultobj
= 0;
24876 wxGDIObjListBase
*result
= 0 ;
24878 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
24892 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24893 PyObject
*resultobj
= 0;
24894 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
24897 PyObject
*swig_obj
[1] ;
24899 if (!args
) SWIG_fail
;
24900 swig_obj
[0] = args
;
24901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
24902 if (!SWIG_IsOK(res1
)) {
24903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
24905 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= SWIG_Py_Void();
24920 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24923 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
24924 return SWIG_Py_Void();
24927 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24928 return SWIG_Python_InitShadowInstance(args
);
24931 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
= 0;
24933 wxPenList
*arg1
= (wxPenList
*) 0 ;
24934 wxColour
*arg2
= 0 ;
24937 wxPen
*result
= 0 ;
24945 PyObject
* obj0
= 0 ;
24946 PyObject
* obj1
= 0 ;
24947 PyObject
* obj2
= 0 ;
24948 PyObject
* obj3
= 0 ;
24949 char * kwnames
[] = {
24950 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
24953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
24955 if (!SWIG_IsOK(res1
)) {
24956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
24958 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
24961 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24964 if (!SWIG_IsOK(ecode3
)) {
24965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
24967 arg3
= static_cast< int >(val3
);
24968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24969 if (!SWIG_IsOK(ecode4
)) {
24970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
24972 arg4
= static_cast< int >(val4
);
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24986 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
= 0;
24988 wxPenList
*arg1
= (wxPenList
*) 0 ;
24989 wxPen
*arg2
= (wxPen
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 char * kwnames
[] = {
24997 (char *) "self",(char *) "pen", NULL
25000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25005 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25007 if (!SWIG_IsOK(res2
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25010 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->AddPen(arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_Py_Void();
25024 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= 0;
25026 wxPenList
*arg1
= (wxPenList
*) 0 ;
25027 wxPen
*arg2
= (wxPen
*) 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "pen", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25043 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25044 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25045 if (!SWIG_IsOK(res2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25048 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 (arg1
)->RemovePen(arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_Py_Void();
25062 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25065 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25066 return SWIG_Py_Void();
25069 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= 0;
25071 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25072 wxColour
*arg2
= 0 ;
25073 int arg3
= (int) wxSOLID
;
25074 wxBrush
*result
= 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 PyObject
* obj2
= 0 ;
25083 char * kwnames
[] = {
25084 (char *) "self",(char *) "colour",(char *) "style", NULL
25087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25089 if (!SWIG_IsOK(res1
)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25092 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25099 if (!SWIG_IsOK(ecode3
)) {
25100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25102 arg3
= static_cast< int >(val3
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25117 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
= 0;
25119 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25120 wxBrush
*arg2
= (wxBrush
*) 0 ;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 char * kwnames
[] = {
25128 (char *) "self",(char *) "brush", NULL
25131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25133 if (!SWIG_IsOK(res1
)) {
25134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25136 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25138 if (!SWIG_IsOK(res2
)) {
25139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25141 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 (arg1
)->AddBrush(arg2
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_Py_Void();
25155 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25158 wxBrush
*arg2
= (wxBrush
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 char * kwnames
[] = {
25166 (char *) "self",(char *) "brush", NULL
25169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25171 if (!SWIG_IsOK(res1
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25174 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25176 if (!SWIG_IsOK(res2
)) {
25177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25179 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 (arg1
)->RemoveBrush(arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_Py_Void();
25193 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25196 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25197 return SWIG_Py_Void();
25200 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
= 0;
25202 wxFontList
*arg1
= (wxFontList
*) 0 ;
25207 bool arg6
= (bool) false ;
25208 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25210 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25211 wxFont
*result
= 0 ;
25224 bool temp7
= false ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 PyObject
* obj2
= 0 ;
25230 PyObject
* obj3
= 0 ;
25231 PyObject
* obj4
= 0 ;
25232 PyObject
* obj5
= 0 ;
25233 PyObject
* obj6
= 0 ;
25234 PyObject
* obj7
= 0 ;
25235 char * kwnames
[] = {
25236 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25244 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25246 if (!SWIG_IsOK(ecode2
)) {
25247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25249 arg2
= static_cast< int >(val2
);
25250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25251 if (!SWIG_IsOK(ecode3
)) {
25252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25254 arg3
= static_cast< int >(val3
);
25255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25256 if (!SWIG_IsOK(ecode4
)) {
25257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25259 arg4
= static_cast< int >(val4
);
25260 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25261 if (!SWIG_IsOK(ecode5
)) {
25262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25264 arg5
= static_cast< int >(val5
);
25266 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25267 if (!SWIG_IsOK(ecode6
)) {
25268 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25270 arg6
= static_cast< bool >(val6
);
25274 arg7
= wxString_in_helper(obj6
);
25275 if (arg7
== NULL
) SWIG_fail
;
25280 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25281 if (!SWIG_IsOK(ecode8
)) {
25282 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25284 arg8
= static_cast< wxFontEncoding
>(val8
);
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25307 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
= 0;
25309 wxFontList
*arg1
= (wxFontList
*) 0 ;
25310 wxFont
*arg2
= (wxFont
*) 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char * kwnames
[] = {
25318 (char *) "self",(char *) "font", NULL
25321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25323 if (!SWIG_IsOK(res1
)) {
25324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25326 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25328 if (!SWIG_IsOK(res2
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25331 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->AddFont(arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= SWIG_Py_Void();
25345 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
= 0;
25347 wxFontList
*arg1
= (wxFontList
*) 0 ;
25348 wxFont
*arg2
= (wxFont
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 char * kwnames
[] = {
25356 (char *) "self",(char *) "font", NULL
25359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25364 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25366 if (!SWIG_IsOK(res2
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25369 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 (arg1
)->RemoveFont(arg2
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_Py_Void();
25383 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25386 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25387 return SWIG_Py_Void();
25390 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25391 PyObject
*resultobj
= 0;
25392 wxColourDatabase
*result
= 0 ;
25394 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25396 if (!wxPyCheckForApp()) SWIG_fail
;
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (wxColourDatabase
*)new wxColourDatabase();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25409 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25410 PyObject
*resultobj
= 0;
25411 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25414 PyObject
*swig_obj
[1] ;
25416 if (!args
) SWIG_fail
;
25417 swig_obj
[0] = args
;
25418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25419 if (!SWIG_IsOK(res1
)) {
25420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25422 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_Py_Void();
25437 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
= 0;
25439 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25440 wxString
*arg2
= 0 ;
25444 bool temp2
= false ;
25445 PyObject
* obj0
= 0 ;
25446 PyObject
* obj1
= 0 ;
25447 char * kwnames
[] = {
25448 (char *) "self",(char *) "name", NULL
25451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25453 if (!SWIG_IsOK(res1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25456 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25458 arg2
= wxString_in_helper(obj1
);
25459 if (arg2
== NULL
) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25483 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
= 0;
25485 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25486 wxColour
*arg2
= 0 ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char * kwnames
[] = {
25494 (char *) "self",(char *) "colour", NULL
25497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25499 if (!SWIG_IsOK(res1
)) {
25500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25502 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25505 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25526 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
= 0;
25528 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25529 wxString
*arg2
= 0 ;
25530 wxColour
*arg3
= 0 ;
25533 bool temp2
= false ;
25535 PyObject
* obj0
= 0 ;
25536 PyObject
* obj1
= 0 ;
25537 PyObject
* obj2
= 0 ;
25538 char * kwnames
[] = {
25539 (char *) "self",(char *) "name",(char *) "colour", NULL
25542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25544 if (!SWIG_IsOK(res1
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25547 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25549 arg2
= wxString_in_helper(obj1
);
25550 if (arg2
== NULL
) SWIG_fail
;
25555 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_Py_Void();
25578 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25579 PyObject
*resultobj
= 0;
25580 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25581 wxString
*arg2
= 0 ;
25587 bool temp2
= false ;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 PyObject
* obj2
= 0 ;
25597 PyObject
* obj3
= 0 ;
25598 PyObject
* obj4
= 0 ;
25599 char * kwnames
[] = {
25600 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25608 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25610 arg2
= wxString_in_helper(obj1
);
25611 if (arg2
== NULL
) SWIG_fail
;
25614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25615 if (!SWIG_IsOK(ecode3
)) {
25616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25618 arg3
= static_cast< int >(val3
);
25619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25620 if (!SWIG_IsOK(ecode4
)) {
25621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25623 arg4
= static_cast< int >(val4
);
25624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25625 if (!SWIG_IsOK(ecode5
)) {
25626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25628 arg5
= static_cast< int >(val5
);
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_Py_Void();
25650 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25653 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25654 return SWIG_Py_Void();
25657 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25658 return SWIG_Python_InitShadowInstance(args
);
25661 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25662 PyObject
*resultobj
= 0;
25663 wxFontList
*result
= 0 ;
25665 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (wxFontList
*)_wxPyInitTheFontList();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25679 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25680 PyObject
*resultobj
= 0;
25681 wxPenList
*result
= 0 ;
25683 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= (wxPenList
*)_wxPyInitThePenList();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25697 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25698 PyObject
*resultobj
= 0;
25699 wxBrushList
*result
= 0 ;
25701 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25715 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25716 PyObject
*resultobj
= 0;
25717 wxColourDatabase
*result
= 0 ;
25719 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25733 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxEffects
*result
= 0 ;
25737 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (wxEffects
*)new wxEffects();
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25751 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25752 PyObject
*resultobj
= 0;
25753 wxEffects
*arg1
= (wxEffects
*) 0 ;
25757 PyObject
*swig_obj
[1] ;
25759 if (!args
) SWIG_fail
;
25760 swig_obj
[0] = args
;
25761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25762 if (!SWIG_IsOK(res1
)) {
25763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25765 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25779 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25780 PyObject
*resultobj
= 0;
25781 wxEffects
*arg1
= (wxEffects
*) 0 ;
25785 PyObject
*swig_obj
[1] ;
25787 if (!args
) SWIG_fail
;
25788 swig_obj
[0] = args
;
25789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25790 if (!SWIG_IsOK(res1
)) {
25791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25793 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25807 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25808 PyObject
*resultobj
= 0;
25809 wxEffects
*arg1
= (wxEffects
*) 0 ;
25813 PyObject
*swig_obj
[1] ;
25815 if (!args
) SWIG_fail
;
25816 swig_obj
[0] = args
;
25817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25818 if (!SWIG_IsOK(res1
)) {
25819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25821 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25835 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25836 PyObject
*resultobj
= 0;
25837 wxEffects
*arg1
= (wxEffects
*) 0 ;
25841 PyObject
*swig_obj
[1] ;
25843 if (!args
) SWIG_fail
;
25844 swig_obj
[0] = args
;
25845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25849 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25863 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25864 PyObject
*resultobj
= 0;
25865 wxEffects
*arg1
= (wxEffects
*) 0 ;
25869 PyObject
*swig_obj
[1] ;
25871 if (!args
) SWIG_fail
;
25872 swig_obj
[0] = args
;
25873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25874 if (!SWIG_IsOK(res1
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25877 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25891 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
= 0;
25893 wxEffects
*arg1
= (wxEffects
*) 0 ;
25894 wxColour
*arg2
= 0 ;
25898 PyObject
* obj0
= 0 ;
25899 PyObject
* obj1
= 0 ;
25900 char * kwnames
[] = {
25901 (char *) "self",(char *) "c", NULL
25904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25906 if (!SWIG_IsOK(res1
)) {
25907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
25909 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25912 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_Py_Void();
25927 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= 0;
25929 wxEffects
*arg1
= (wxEffects
*) 0 ;
25930 wxColour
*arg2
= 0 ;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 char * kwnames
[] = {
25937 (char *) "self",(char *) "c", NULL
25940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25942 if (!SWIG_IsOK(res1
)) {
25943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
25945 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25948 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= SWIG_Py_Void();
25963 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
= 0;
25965 wxEffects
*arg1
= (wxEffects
*) 0 ;
25966 wxColour
*arg2
= 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 char * kwnames
[] = {
25973 (char *) "self",(char *) "c", NULL
25976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25978 if (!SWIG_IsOK(res1
)) {
25979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
25981 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25984 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_Py_Void();
25999 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
= 0;
26001 wxEffects
*arg1
= (wxEffects
*) 0 ;
26002 wxColour
*arg2
= 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 char * kwnames
[] = {
26009 (char *) "self",(char *) "c", NULL
26012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26014 if (!SWIG_IsOK(res1
)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26017 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= SWIG_Py_Void();
26035 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
= 0;
26037 wxEffects
*arg1
= (wxEffects
*) 0 ;
26038 wxColour
*arg2
= 0 ;
26042 PyObject
* obj0
= 0 ;
26043 PyObject
* obj1
= 0 ;
26044 char * kwnames
[] = {
26045 (char *) "self",(char *) "c", NULL
26048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26050 if (!SWIG_IsOK(res1
)) {
26051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26053 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26056 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_Py_Void();
26071 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= 0;
26073 wxEffects
*arg1
= (wxEffects
*) 0 ;
26074 wxColour
*arg2
= 0 ;
26075 wxColour
*arg3
= 0 ;
26076 wxColour
*arg4
= 0 ;
26077 wxColour
*arg5
= 0 ;
26078 wxColour
*arg6
= 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 PyObject
* obj2
= 0 ;
26089 PyObject
* obj3
= 0 ;
26090 PyObject
* obj4
= 0 ;
26091 PyObject
* obj5
= 0 ;
26092 char * kwnames
[] = {
26093 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26101 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26108 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26112 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26116 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26120 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= SWIG_Py_Void();
26135 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
= 0;
26137 wxEffects
*arg1
= (wxEffects
*) 0 ;
26140 int arg4
= (int) 1 ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 PyObject
* obj2
= 0 ;
26151 PyObject
* obj3
= 0 ;
26152 char * kwnames
[] = {
26153 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26161 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26163 if (!SWIG_IsOK(res2
)) {
26164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26169 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26172 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26176 if (!SWIG_IsOK(ecode4
)) {
26177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26179 arg4
= static_cast< int >(val4
);
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= SWIG_Py_Void();
26194 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
= 0;
26196 wxEffects
*arg1
= (wxEffects
*) 0 ;
26199 wxBitmap
*arg4
= 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 PyObject
* obj2
= 0 ;
26211 PyObject
* obj3
= 0 ;
26212 char * kwnames
[] = {
26213 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26218 if (!SWIG_IsOK(res1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26221 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26224 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26226 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26227 if (!SWIG_IsOK(res3
)) {
26228 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26233 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26234 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26235 if (!SWIG_IsOK(res4
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26241 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26257 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26260 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26261 return SWIG_Py_Void();
26264 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26265 return SWIG_Python_InitShadowInstance(args
);
26268 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
= 0;
26273 wxSplitterRenderParams
*result
= 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 PyObject
* obj2
= 0 ;
26283 char * kwnames
[] = {
26284 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26288 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26289 if (!SWIG_IsOK(ecode1
)) {
26290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26292 arg1
= static_cast< int >(val1
);
26293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26294 if (!SWIG_IsOK(ecode2
)) {
26295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26297 arg2
= static_cast< int >(val2
);
26298 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26299 if (!SWIG_IsOK(ecode3
)) {
26300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26302 arg3
= static_cast< bool >(val3
);
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26316 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26317 PyObject
*resultobj
= 0;
26318 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26321 PyObject
*swig_obj
[1] ;
26323 if (!args
) SWIG_fail
;
26324 swig_obj
[0] = args
;
26325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26329 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_Py_Void();
26344 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26345 PyObject
*resultobj
= 0;
26346 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26350 PyObject
*swig_obj
[1] ;
26352 if (!args
) SWIG_fail
;
26353 swig_obj
[0] = args
;
26354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26355 if (!SWIG_IsOK(res1
)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26358 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26359 result
= (int)(int) ((arg1
)->widthSash
);
26360 resultobj
= SWIG_From_int(static_cast< int >(result
));
26367 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26368 PyObject
*resultobj
= 0;
26369 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26373 PyObject
*swig_obj
[1] ;
26375 if (!args
) SWIG_fail
;
26376 swig_obj
[0] = args
;
26377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26378 if (!SWIG_IsOK(res1
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26381 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26382 result
= (int)(int) ((arg1
)->border
);
26383 resultobj
= SWIG_From_int(static_cast< int >(result
));
26390 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26391 PyObject
*resultobj
= 0;
26392 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26396 PyObject
*swig_obj
[1] ;
26398 if (!args
) SWIG_fail
;
26399 swig_obj
[0] = args
;
26400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26401 if (!SWIG_IsOK(res1
)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26404 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26405 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26406 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26413 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26416 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26417 return SWIG_Py_Void();
26420 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26421 return SWIG_Python_InitShadowInstance(args
);
26424 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
= 0;
26428 wxRendererVersion
*result
= 0 ;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 char * kwnames
[] = {
26436 (char *) "version_",(char *) "age_", NULL
26439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26441 if (!SWIG_IsOK(ecode1
)) {
26442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
26444 arg1
= static_cast< int >(val1
);
26445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26446 if (!SWIG_IsOK(ecode2
)) {
26447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
26449 arg2
= static_cast< int >(val2
);
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
26463 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26464 PyObject
*resultobj
= 0;
26465 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26468 PyObject
*swig_obj
[1] ;
26470 if (!args
) SWIG_fail
;
26471 swig_obj
[0] = args
;
26472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
26473 if (!SWIG_IsOK(res1
)) {
26474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26476 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
= 0;
26493 wxRendererVersion
*arg1
= 0 ;
26497 PyObject
* obj0
= 0 ;
26498 char * kwnames
[] = {
26499 (char *) "ver", NULL
26502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26510 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26526 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26527 PyObject
*resultobj
= 0;
26528 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26532 PyObject
*swig_obj
[1] ;
26534 if (!args
) SWIG_fail
;
26535 swig_obj
[0] = args
;
26536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26540 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26541 result
= (int)(int) ((arg1
)->version
);
26542 resultobj
= SWIG_From_int(static_cast< int >(result
));
26549 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26550 PyObject
*resultobj
= 0;
26551 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26555 PyObject
*swig_obj
[1] ;
26557 if (!args
) SWIG_fail
;
26558 swig_obj
[0] = args
;
26559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26560 if (!SWIG_IsOK(res1
)) {
26561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26563 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26564 result
= (int)(int) ((arg1
)->age
);
26565 resultobj
= SWIG_From_int(static_cast< int >(result
));
26572 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26575 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
26576 return SWIG_Py_Void();
26579 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26580 return SWIG_Python_InitShadowInstance(args
);
26583 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
= 0;
26585 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26586 wxWindow
*arg2
= (wxWindow
*) 0 ;
26589 int arg5
= (int) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 PyObject
* obj2
= 0 ;
26602 PyObject
* obj3
= 0 ;
26603 PyObject
* obj4
= 0 ;
26604 char * kwnames
[] = {
26605 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26613 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26615 if (!SWIG_IsOK(res2
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26619 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26620 if (!SWIG_IsOK(res3
)) {
26621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26626 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26629 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26632 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26633 if (!SWIG_IsOK(ecode5
)) {
26634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
26636 arg5
= static_cast< int >(val5
);
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_Py_Void();
26651 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
= 0;
26653 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26654 wxWindow
*arg2
= (wxWindow
*) 0 ;
26657 int arg5
= (int) 0 ;
26667 PyObject
* obj0
= 0 ;
26668 PyObject
* obj1
= 0 ;
26669 PyObject
* obj2
= 0 ;
26670 PyObject
* obj3
= 0 ;
26671 PyObject
* obj4
= 0 ;
26672 char * kwnames
[] = {
26673 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26678 if (!SWIG_IsOK(res1
)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26681 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26683 if (!SWIG_IsOK(res2
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26687 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26688 if (!SWIG_IsOK(res3
)) {
26689 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26694 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26697 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26701 if (!SWIG_IsOK(ecode5
)) {
26702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
26704 arg5
= static_cast< int >(val5
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_Py_Void();
26719 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
= 0;
26721 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26722 wxWindow
*arg2
= (wxWindow
*) 0 ;
26725 int arg5
= (int) 0 ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 PyObject
* obj2
= 0 ;
26738 PyObject
* obj3
= 0 ;
26739 PyObject
* obj4
= 0 ;
26740 char * kwnames
[] = {
26741 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26749 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26751 if (!SWIG_IsOK(res2
)) {
26752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
26754 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26755 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26756 if (!SWIG_IsOK(res3
)) {
26757 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26762 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26765 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26768 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26769 if (!SWIG_IsOK(ecode5
)) {
26770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
26772 arg5
= static_cast< int >(val5
);
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= SWIG_Py_Void();
26787 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= 0;
26789 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26790 wxWindow
*arg2
= (wxWindow
*) 0 ;
26794 wxOrientation arg6
;
26795 int arg7
= (int) 0 ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 PyObject
* obj2
= 0 ;
26812 PyObject
* obj3
= 0 ;
26813 PyObject
* obj4
= 0 ;
26814 PyObject
* obj5
= 0 ;
26815 PyObject
* obj6
= 0 ;
26816 char * kwnames
[] = {
26817 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
26820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26822 if (!SWIG_IsOK(res1
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26825 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26827 if (!SWIG_IsOK(res2
)) {
26828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
26830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26831 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26832 if (!SWIG_IsOK(res3
)) {
26833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
26836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
26838 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26841 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26844 if (!SWIG_IsOK(ecode5
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
26847 arg5
= static_cast< int >(val5
);
26848 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
26849 if (!SWIG_IsOK(ecode6
)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
26852 arg6
= static_cast< wxOrientation
>(val6
);
26854 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
26855 if (!SWIG_IsOK(ecode7
)) {
26856 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
26858 arg7
= static_cast< int >(val7
);
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= SWIG_Py_Void();
26873 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
= 0;
26875 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26876 wxWindow
*arg2
= (wxWindow
*) 0 ;
26879 int arg5
= (int) 0 ;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 PyObject
* obj2
= 0 ;
26892 PyObject
* obj3
= 0 ;
26893 PyObject
* obj4
= 0 ;
26894 char * kwnames
[] = {
26895 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26900 if (!SWIG_IsOK(res1
)) {
26901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26903 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26905 if (!SWIG_IsOK(res2
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26909 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26910 if (!SWIG_IsOK(res3
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
26914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
26916 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26919 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26923 if (!SWIG_IsOK(ecode5
)) {
26924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
26926 arg5
= static_cast< int >(val5
);
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_Py_Void();
26941 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
= 0;
26943 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26944 wxWindow
*arg2
= (wxWindow
*) 0 ;
26947 int arg5
= (int) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 PyObject
* obj1
= 0 ;
26959 PyObject
* obj2
= 0 ;
26960 PyObject
* obj3
= 0 ;
26961 PyObject
* obj4
= 0 ;
26962 char * kwnames
[] = {
26963 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26968 if (!SWIG_IsOK(res1
)) {
26969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26971 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26972 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26973 if (!SWIG_IsOK(res2
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
26976 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26977 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26978 if (!SWIG_IsOK(res3
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
26982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
26984 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26987 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26991 if (!SWIG_IsOK(ecode5
)) {
26992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
26994 arg5
= static_cast< int >(val5
);
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27012 wxWindow
*arg2
= (wxWindow
*) 0 ;
27015 int arg5
= (int) 0 ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 PyObject
* obj2
= 0 ;
27028 PyObject
* obj3
= 0 ;
27029 PyObject
* obj4
= 0 ;
27030 char * kwnames
[] = {
27031 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27036 if (!SWIG_IsOK(res1
)) {
27037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27039 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27041 if (!SWIG_IsOK(res2
)) {
27042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27044 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27045 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27046 if (!SWIG_IsOK(res3
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27052 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27055 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27058 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27059 if (!SWIG_IsOK(ecode5
)) {
27060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27062 arg5
= static_cast< int >(val5
);
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_Py_Void();
27077 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
= 0;
27079 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27080 wxWindow
*arg2
= (wxWindow
*) 0 ;
27083 int arg5
= (int) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 PyObject
* obj2
= 0 ;
27096 PyObject
* obj3
= 0 ;
27097 PyObject
* obj4
= 0 ;
27098 char * kwnames
[] = {
27099 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27107 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27109 if (!SWIG_IsOK(res2
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27112 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27113 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27114 if (!SWIG_IsOK(res3
)) {
27115 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27120 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27123 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27127 if (!SWIG_IsOK(ecode5
)) {
27128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27130 arg5
= static_cast< int >(val5
);
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_Py_Void();
27145 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
= 0;
27147 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27148 wxWindow
*arg2
= (wxWindow
*) 0 ;
27151 int arg5
= (int) 0 ;
27161 PyObject
* obj0
= 0 ;
27162 PyObject
* obj1
= 0 ;
27163 PyObject
* obj2
= 0 ;
27164 PyObject
* obj3
= 0 ;
27165 PyObject
* obj4
= 0 ;
27166 char * kwnames
[] = {
27167 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27172 if (!SWIG_IsOK(res1
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27175 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27177 if (!SWIG_IsOK(res2
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
27180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27181 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27182 if (!SWIG_IsOK(res3
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27188 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27191 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27194 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27195 if (!SWIG_IsOK(ecode5
)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
27198 arg5
= static_cast< int >(val5
);
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= SWIG_Py_Void();
27213 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27214 PyObject
*resultobj
= 0;
27215 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27216 wxWindow
*arg2
= (wxWindow
*) 0 ;
27217 SwigValueWrapper
<wxSplitterRenderParams
> result
;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char * kwnames
[] = {
27225 (char *) "self",(char *) "win", NULL
27228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27230 if (!SWIG_IsOK(res1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27233 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27235 if (!SWIG_IsOK(res2
)) {
27236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
27238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
27252 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27253 PyObject
*resultobj
= 0;
27254 wxRendererNative
*result
= 0 ;
27256 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
27258 if (!wxPyCheckForApp()) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 wxRendererNative
&_result_ref
= wxRendererNative::Get();
27262 result
= (wxRendererNative
*) &_result_ref
;
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27274 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27275 PyObject
*resultobj
= 0;
27276 wxRendererNative
*result
= 0 ;
27278 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
27280 if (!wxPyCheckForApp()) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
27284 result
= (wxRendererNative
*) &_result_ref
;
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27296 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 PyObject
*resultobj
= 0;
27298 wxRendererNative
*result
= 0 ;
27300 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
27302 if (!wxPyCheckForApp()) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
27306 result
= (wxRendererNative
*) &_result_ref
;
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27318 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
= 0;
27320 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27321 wxRendererNative
*result
= 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char * kwnames
[] = {
27326 (char *) "renderer", NULL
27329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
27330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27331 if (!SWIG_IsOK(res1
)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27334 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27336 if (!wxPyCheckForApp()) SWIG_fail
;
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27349 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27350 PyObject
*resultobj
= 0;
27351 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27352 SwigValueWrapper
<wxRendererVersion
> result
;
27355 PyObject
*swig_obj
[1] ;
27357 if (!args
) SWIG_fail
;
27358 swig_obj
[0] = args
;
27359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27360 if (!SWIG_IsOK(res1
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
27363 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27370 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
27377 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27380 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
27381 return SWIG_Py_Void();
27384 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27385 PyObject
*resultobj
= 0;
27386 wxPseudoDC
*result
= 0 ;
27388 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= (wxPseudoDC
*)new wxPseudoDC();
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
27402 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27403 PyObject
*resultobj
= 0;
27404 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27407 PyObject
*swig_obj
[1] ;
27409 if (!args
) SWIG_fail
;
27410 swig_obj
[0] = args
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 (arg1
)->BeginDrawing();
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_Py_Void();
27429 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27431 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27434 PyObject
*swig_obj
[1] ;
27436 if (!args
) SWIG_fail
;
27437 swig_obj
[0] = args
;
27438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27439 if (!SWIG_IsOK(res1
)) {
27440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 (arg1
)->EndDrawing();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_Py_Void();
27456 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27457 PyObject
*resultobj
= 0;
27458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27461 PyObject
*swig_obj
[1] ;
27463 if (!args
) SWIG_fail
;
27464 swig_obj
[0] = args
;
27465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
27466 if (!SWIG_IsOK(res1
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27469 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_Py_Void();
27484 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27485 PyObject
*resultobj
= 0;
27486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27489 PyObject
*swig_obj
[1] ;
27491 if (!args
) SWIG_fail
;
27492 swig_obj
[0] = args
;
27493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27494 if (!SWIG_IsOK(res1
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->RemoveAll();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_Py_Void();
27511 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27512 PyObject
*resultobj
= 0;
27513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27517 PyObject
*swig_obj
[1] ;
27519 if (!args
) SWIG_fail
;
27520 swig_obj
[0] = args
;
27521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27522 if (!SWIG_IsOK(res1
)) {
27523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 result
= (int)(arg1
)->GetLen();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= SWIG_From_int(static_cast< int >(result
));
27539 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
= 0;
27541 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27547 PyObject
* obj0
= 0 ;
27548 PyObject
* obj1
= 0 ;
27549 char * kwnames
[] = {
27550 (char *) "self",(char *) "id", NULL
27553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27555 if (!SWIG_IsOK(res1
)) {
27556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27558 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27560 if (!SWIG_IsOK(ecode2
)) {
27561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
27563 arg2
= static_cast< int >(val2
);
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 (arg1
)->SetId(arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= SWIG_Py_Void();
27577 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
= 0;
27579 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 char * kwnames
[] = {
27588 (char *) "self",(char *) "id", NULL
27591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27593 if (!SWIG_IsOK(res1
)) {
27594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27598 if (!SWIG_IsOK(ecode2
)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
27601 arg2
= static_cast< int >(val2
);
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 (arg1
)->ClearId(arg2
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_Py_Void();
27615 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
= 0;
27617 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 PyObject
* obj1
= 0 ;
27625 char * kwnames
[] = {
27626 (char *) "self",(char *) "id", NULL
27629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27631 if (!SWIG_IsOK(res1
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27634 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27636 if (!SWIG_IsOK(ecode2
)) {
27637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
27639 arg2
= static_cast< int >(val2
);
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 (arg1
)->RemoveId(arg2
);
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= SWIG_Py_Void();
27653 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
= 0;
27655 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27667 PyObject
* obj0
= 0 ;
27668 PyObject
* obj1
= 0 ;
27669 PyObject
* obj2
= 0 ;
27670 PyObject
* obj3
= 0 ;
27671 char * kwnames
[] = {
27672 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
27675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27677 if (!SWIG_IsOK(res1
)) {
27678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27682 if (!SWIG_IsOK(ecode2
)) {
27683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
27685 arg2
= static_cast< int >(val2
);
27686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27687 if (!SWIG_IsOK(ecode3
)) {
27688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
27690 arg3
= static_cast< int >(val3
);
27691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27692 if (!SWIG_IsOK(ecode4
)) {
27693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
27695 arg4
= static_cast< int >(val4
);
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= SWIG_Py_Void();
27709 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
= 0;
27711 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27713 wxDC
*arg3
= (wxDC
*) 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 PyObject
* obj2
= 0 ;
27723 char * kwnames
[] = {
27724 (char *) "self",(char *) "id",(char *) "dc", NULL
27727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27729 if (!SWIG_IsOK(res1
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27734 if (!SWIG_IsOK(ecode2
)) {
27735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
27737 arg2
= static_cast< int >(val2
);
27738 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
27739 if (!SWIG_IsOK(res3
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
27742 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 (arg1
)->DrawIdToDC(arg2
,arg3
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_Py_Void();
27756 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
= 0;
27758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 PyObject
* obj2
= 0 ;
27769 char * kwnames
[] = {
27770 (char *) "self",(char *) "id",(char *) "rect", NULL
27773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27775 if (!SWIG_IsOK(res1
)) {
27776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27778 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27780 if (!SWIG_IsOK(ecode2
)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
27783 arg2
= static_cast< int >(val2
);
27786 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 (arg1
)->SetIdBounds(arg2
,*arg3
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= SWIG_Py_Void();
27801 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
= 0;
27803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27812 char * kwnames
[] = {
27813 (char *) "self",(char *) "id", NULL
27816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27818 if (!SWIG_IsOK(res1
)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27821 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27823 if (!SWIG_IsOK(ecode2
)) {
27824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
27826 arg2
= static_cast< int >(val2
);
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
27840 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
= 0;
27842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27843 wxDC
*arg2
= (wxDC
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 PyObject
* obj2
= 0 ;
27853 char * kwnames
[] = {
27854 (char *) "self",(char *) "dc",(char *) "rect", NULL
27857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27859 if (!SWIG_IsOK(res1
)) {
27860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27864 if (!SWIG_IsOK(res2
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
27867 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27870 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= SWIG_Py_Void();
27885 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
= 0;
27887 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27888 wxDC
*arg2
= (wxDC
*) 0 ;
27889 wxRegion
*arg3
= 0 ;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 PyObject
* obj2
= 0 ;
27899 char * kwnames
[] = {
27900 (char *) "self",(char *) "dc",(char *) "region", NULL
27903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27905 if (!SWIG_IsOK(res1
)) {
27906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27908 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27910 if (!SWIG_IsOK(res2
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
27913 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27914 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
27915 if (!SWIG_IsOK(res3
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
27919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
27921 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
= 0;
27937 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27938 wxDC
*arg2
= (wxDC
*) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 char * kwnames
[] = {
27946 (char *) "self",(char *) "dc", NULL
27949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27951 if (!SWIG_IsOK(res1
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27954 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27956 if (!SWIG_IsOK(res2
)) {
27957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
27959 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 (arg1
)->DrawToDC(arg2
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= SWIG_Py_Void();
27973 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
= 0;
27975 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27978 wxColour
*arg4
= 0 ;
27979 int arg5
= (int) wxFLOOD_SURFACE
;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 PyObject
* obj2
= 0 ;
27992 PyObject
* obj3
= 0 ;
27993 PyObject
* obj4
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28005 if (!SWIG_IsOK(ecode2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28008 arg2
= static_cast< int >(val2
);
28009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28010 if (!SWIG_IsOK(ecode3
)) {
28011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28013 arg3
= static_cast< int >(val3
);
28016 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28019 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28020 if (!SWIG_IsOK(ecode5
)) {
28021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28023 arg5
= static_cast< int >(val5
);
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_Py_Void();
28038 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
= 0;
28040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28041 wxPoint
*arg2
= 0 ;
28042 wxColour
*arg3
= 0 ;
28043 int arg4
= (int) wxFLOOD_SURFACE
;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 PyObject
* obj2
= 0 ;
28053 PyObject
* obj3
= 0 ;
28054 char * kwnames
[] = {
28055 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28060 if (!SWIG_IsOK(res1
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28063 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28070 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28074 if (!SWIG_IsOK(ecode4
)) {
28075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28077 arg4
= static_cast< int >(val4
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_Py_Void();
28092 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
= 0;
28094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28109 PyObject
* obj0
= 0 ;
28110 PyObject
* obj1
= 0 ;
28111 PyObject
* obj2
= 0 ;
28112 PyObject
* obj3
= 0 ;
28113 PyObject
* obj4
= 0 ;
28114 char * kwnames
[] = {
28115 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28123 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28125 if (!SWIG_IsOK(ecode2
)) {
28126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28128 arg2
= static_cast< int >(val2
);
28129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28130 if (!SWIG_IsOK(ecode3
)) {
28131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28133 arg3
= static_cast< int >(val3
);
28134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28135 if (!SWIG_IsOK(ecode4
)) {
28136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28138 arg4
= static_cast< int >(val4
);
28139 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28140 if (!SWIG_IsOK(ecode5
)) {
28141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28143 arg5
= static_cast< int >(val5
);
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= SWIG_Py_Void();
28157 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
= 0;
28159 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28160 wxPoint
*arg2
= 0 ;
28161 wxPoint
*arg3
= 0 ;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 PyObject
* obj2
= 0 ;
28169 char * kwnames
[] = {
28170 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
28173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28178 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_Py_Void();
28200 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
= 0;
28202 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 PyObject
* obj1
= 0 ;
28213 PyObject
* obj2
= 0 ;
28214 char * kwnames
[] = {
28215 (char *) "self",(char *) "x",(char *) "y", NULL
28218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28220 if (!SWIG_IsOK(res1
)) {
28221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28223 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28225 if (!SWIG_IsOK(ecode2
)) {
28226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
28228 arg2
= static_cast< int >(val2
);
28229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28230 if (!SWIG_IsOK(ecode3
)) {
28231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
28233 arg3
= static_cast< int >(val3
);
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->CrossHair(arg2
,arg3
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= SWIG_Py_Void();
28247 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
= 0;
28249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28250 wxPoint
*arg2
= 0 ;
28254 PyObject
* obj0
= 0 ;
28255 PyObject
* obj1
= 0 ;
28256 char * kwnames
[] = {
28257 (char *) "self",(char *) "pt", NULL
28260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28262 if (!SWIG_IsOK(res1
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28265 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= SWIG_Py_Void();
28283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
= 0;
28285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 PyObject
* obj2
= 0 ;
28309 PyObject
* obj3
= 0 ;
28310 PyObject
* obj4
= 0 ;
28311 PyObject
* obj5
= 0 ;
28312 PyObject
* obj6
= 0 ;
28313 char * kwnames
[] = {
28314 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
28317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28322 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28324 if (!SWIG_IsOK(ecode2
)) {
28325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
28327 arg2
= static_cast< int >(val2
);
28328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28329 if (!SWIG_IsOK(ecode3
)) {
28330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
28332 arg3
= static_cast< int >(val3
);
28333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28334 if (!SWIG_IsOK(ecode4
)) {
28335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
28337 arg4
= static_cast< int >(val4
);
28338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28339 if (!SWIG_IsOK(ecode5
)) {
28340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
28342 arg5
= static_cast< int >(val5
);
28343 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28344 if (!SWIG_IsOK(ecode6
)) {
28345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
28347 arg6
= static_cast< int >(val6
);
28348 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28349 if (!SWIG_IsOK(ecode7
)) {
28350 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
28352 arg7
= static_cast< int >(val7
);
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= SWIG_Py_Void();
28366 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
= 0;
28368 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28369 wxPoint
*arg2
= 0 ;
28370 wxPoint
*arg3
= 0 ;
28371 wxPoint
*arg4
= 0 ;
28377 PyObject
* obj0
= 0 ;
28378 PyObject
* obj1
= 0 ;
28379 PyObject
* obj2
= 0 ;
28380 PyObject
* obj3
= 0 ;
28381 char * kwnames
[] = {
28382 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
28385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28387 if (!SWIG_IsOK(res1
)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28390 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_Py_Void();
28416 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
= 0;
28418 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 PyObject
* obj2
= 0 ;
28436 PyObject
* obj3
= 0 ;
28437 PyObject
* obj4
= 0 ;
28438 char * kwnames
[] = {
28439 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28444 if (!SWIG_IsOK(res1
)) {
28445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28447 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28449 if (!SWIG_IsOK(ecode2
)) {
28450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
28452 arg2
= static_cast< int >(val2
);
28453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28454 if (!SWIG_IsOK(ecode3
)) {
28455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
28457 arg3
= static_cast< int >(val3
);
28458 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28459 if (!SWIG_IsOK(ecode4
)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
28462 arg4
= static_cast< int >(val4
);
28463 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28464 if (!SWIG_IsOK(ecode5
)) {
28465 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
28467 arg5
= static_cast< int >(val5
);
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= SWIG_Py_Void();
28481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
= 0;
28483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char * kwnames
[] = {
28491 (char *) "self",(char *) "rect", NULL
28494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28496 if (!SWIG_IsOK(res1
)) {
28497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28502 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_Py_Void();
28517 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
= 0;
28519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28540 PyObject
* obj0
= 0 ;
28541 PyObject
* obj1
= 0 ;
28542 PyObject
* obj2
= 0 ;
28543 PyObject
* obj3
= 0 ;
28544 PyObject
* obj4
= 0 ;
28545 PyObject
* obj5
= 0 ;
28546 PyObject
* obj6
= 0 ;
28547 char * kwnames
[] = {
28548 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
28551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28556 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28558 if (!SWIG_IsOK(ecode2
)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
28561 arg2
= static_cast< int >(val2
);
28562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28563 if (!SWIG_IsOK(ecode3
)) {
28564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
28566 arg3
= static_cast< int >(val3
);
28567 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28568 if (!SWIG_IsOK(ecode4
)) {
28569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
28571 arg4
= static_cast< int >(val4
);
28572 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28573 if (!SWIG_IsOK(ecode5
)) {
28574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
28576 arg5
= static_cast< int >(val5
);
28577 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28578 if (!SWIG_IsOK(ecode6
)) {
28579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
28581 arg6
= static_cast< double >(val6
);
28582 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28583 if (!SWIG_IsOK(ecode7
)) {
28584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
28586 arg7
= static_cast< double >(val7
);
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= SWIG_Py_Void();
28600 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
= 0;
28602 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28603 wxPoint
*arg2
= 0 ;
28615 PyObject
* obj0
= 0 ;
28616 PyObject
* obj1
= 0 ;
28617 PyObject
* obj2
= 0 ;
28618 PyObject
* obj3
= 0 ;
28619 PyObject
* obj4
= 0 ;
28620 char * kwnames
[] = {
28621 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
28624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28636 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
28638 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28639 if (!SWIG_IsOK(ecode4
)) {
28640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
28642 arg4
= static_cast< double >(val4
);
28643 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28644 if (!SWIG_IsOK(ecode5
)) {
28645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
28647 arg5
= static_cast< double >(val5
);
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28650 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= SWIG_Py_Void();
28661 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28662 PyObject
*resultobj
= 0;
28663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28672 PyObject
* obj0
= 0 ;
28673 PyObject
* obj1
= 0 ;
28674 PyObject
* obj2
= 0 ;
28675 char * kwnames
[] = {
28676 (char *) "self",(char *) "x",(char *) "y", NULL
28679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28681 if (!SWIG_IsOK(res1
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28686 if (!SWIG_IsOK(ecode2
)) {
28687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
28689 arg2
= static_cast< int >(val2
);
28690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28691 if (!SWIG_IsOK(ecode3
)) {
28692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
28694 arg3
= static_cast< int >(val3
);
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 (arg1
)->DrawPoint(arg2
,arg3
);
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= SWIG_Py_Void();
28708 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
= 0;
28710 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28711 wxPoint
*arg2
= 0 ;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 char * kwnames
[] = {
28718 (char *) "self",(char *) "pt", NULL
28721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_Py_Void();
28744 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
= 0;
28746 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28761 PyObject
* obj0
= 0 ;
28762 PyObject
* obj1
= 0 ;
28763 PyObject
* obj2
= 0 ;
28764 PyObject
* obj3
= 0 ;
28765 PyObject
* obj4
= 0 ;
28766 char * kwnames
[] = {
28767 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28772 if (!SWIG_IsOK(res1
)) {
28773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28777 if (!SWIG_IsOK(ecode2
)) {
28778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
28780 arg2
= static_cast< int >(val2
);
28781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28782 if (!SWIG_IsOK(ecode3
)) {
28783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
28785 arg3
= static_cast< int >(val3
);
28786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28787 if (!SWIG_IsOK(ecode4
)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
28790 arg4
= static_cast< int >(val4
);
28791 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28792 if (!SWIG_IsOK(ecode5
)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
28795 arg5
= static_cast< int >(val5
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_Py_Void();
28809 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
= 0;
28811 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 char * kwnames
[] = {
28819 (char *) "self",(char *) "rect", NULL
28822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28824 if (!SWIG_IsOK(res1
)) {
28825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28827 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28830 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= SWIG_Py_Void();
28845 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
= 0;
28847 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28848 wxPoint
*arg2
= 0 ;
28854 PyObject
* obj0
= 0 ;
28855 PyObject
* obj1
= 0 ;
28856 PyObject
* obj2
= 0 ;
28857 char * kwnames
[] = {
28858 (char *) "self",(char *) "pt",(char *) "sz", NULL
28861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28863 if (!SWIG_IsOK(res1
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28866 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28869 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28873 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_Py_Void();
28888 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28908 PyObject
* obj0
= 0 ;
28909 PyObject
* obj1
= 0 ;
28910 PyObject
* obj2
= 0 ;
28911 PyObject
* obj3
= 0 ;
28912 PyObject
* obj4
= 0 ;
28913 PyObject
* obj5
= 0 ;
28914 char * kwnames
[] = {
28915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
28918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28923 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28925 if (!SWIG_IsOK(ecode2
)) {
28926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
28928 arg2
= static_cast< int >(val2
);
28929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28930 if (!SWIG_IsOK(ecode3
)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
28933 arg3
= static_cast< int >(val3
);
28934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28935 if (!SWIG_IsOK(ecode4
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
28938 arg4
= static_cast< int >(val4
);
28939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28940 if (!SWIG_IsOK(ecode5
)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
28943 arg5
= static_cast< int >(val5
);
28944 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28945 if (!SWIG_IsOK(ecode6
)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
28948 arg6
= static_cast< double >(val6
);
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_Py_Void();
28962 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
= 0;
28964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28972 PyObject
* obj0
= 0 ;
28973 PyObject
* obj1
= 0 ;
28974 PyObject
* obj2
= 0 ;
28975 char * kwnames
[] = {
28976 (char *) "self",(char *) "r",(char *) "radius", NULL
28979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28981 if (!SWIG_IsOK(res1
)) {
28982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28989 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28990 if (!SWIG_IsOK(ecode3
)) {
28991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
28993 arg3
= static_cast< double >(val3
);
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_Py_Void();
29007 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29009 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29010 wxPoint
*arg2
= 0 ;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 PyObject
* obj2
= 0 ;
29022 PyObject
* obj3
= 0 ;
29023 char * kwnames
[] = {
29024 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29029 if (!SWIG_IsOK(res1
)) {
29030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29032 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29039 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29041 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29042 if (!SWIG_IsOK(ecode4
)) {
29043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29045 arg4
= static_cast< double >(val4
);
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= SWIG_Py_Void();
29059 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
= 0;
29061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 PyObject
* obj2
= 0 ;
29076 PyObject
* obj3
= 0 ;
29077 char * kwnames
[] = {
29078 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29083 if (!SWIG_IsOK(res1
)) {
29084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29088 if (!SWIG_IsOK(ecode2
)) {
29089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29091 arg2
= static_cast< int >(val2
);
29092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29093 if (!SWIG_IsOK(ecode3
)) {
29094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29096 arg3
= static_cast< int >(val3
);
29097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29098 if (!SWIG_IsOK(ecode4
)) {
29099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29101 arg4
= static_cast< int >(val4
);
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= SWIG_Py_Void();
29115 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
= 0;
29117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29118 wxPoint
*arg2
= 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 PyObject
* obj2
= 0 ;
29128 char * kwnames
[] = {
29129 (char *) "self",(char *) "pt",(char *) "radius", NULL
29132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29134 if (!SWIG_IsOK(res1
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29137 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29143 if (!SWIG_IsOK(ecode3
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29146 arg3
= static_cast< int >(val3
);
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_Py_Void();
29160 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
= 0;
29162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29177 PyObject
* obj0
= 0 ;
29178 PyObject
* obj1
= 0 ;
29179 PyObject
* obj2
= 0 ;
29180 PyObject
* obj3
= 0 ;
29181 PyObject
* obj4
= 0 ;
29182 char * kwnames
[] = {
29183 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29188 if (!SWIG_IsOK(res1
)) {
29189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29193 if (!SWIG_IsOK(ecode2
)) {
29194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
29196 arg2
= static_cast< int >(val2
);
29197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29198 if (!SWIG_IsOK(ecode3
)) {
29199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
29201 arg3
= static_cast< int >(val3
);
29202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29203 if (!SWIG_IsOK(ecode4
)) {
29204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
29206 arg4
= static_cast< int >(val4
);
29207 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29208 if (!SWIG_IsOK(ecode5
)) {
29209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
29211 arg5
= static_cast< int >(val5
);
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= SWIG_Py_Void();
29225 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
= 0;
29227 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29232 PyObject
* obj0
= 0 ;
29233 PyObject
* obj1
= 0 ;
29234 char * kwnames
[] = {
29235 (char *) "self",(char *) "rect", NULL
29238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29240 if (!SWIG_IsOK(res1
)) {
29241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29246 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_Py_Void();
29261 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
= 0;
29263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29264 wxPoint
*arg2
= 0 ;
29270 PyObject
* obj0
= 0 ;
29271 PyObject
* obj1
= 0 ;
29272 PyObject
* obj2
= 0 ;
29273 char * kwnames
[] = {
29274 (char *) "self",(char *) "pt",(char *) "sz", NULL
29277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29282 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29285 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29289 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29297 resultobj
= SWIG_Py_Void();
29304 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29305 PyObject
*resultobj
= 0;
29306 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 PyObject
* obj2
= 0 ;
29321 PyObject
* obj3
= 0 ;
29322 char * kwnames
[] = {
29323 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
29326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29328 if (!SWIG_IsOK(res1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29333 if (!SWIG_IsOK(res2
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29339 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29341 if (!SWIG_IsOK(ecode3
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
29344 arg3
= static_cast< int >(val3
);
29345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29346 if (!SWIG_IsOK(ecode4
)) {
29347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
29349 arg4
= static_cast< int >(val4
);
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_Py_Void();
29363 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
= 0;
29365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29367 wxPoint
*arg3
= 0 ;
29373 PyObject
* obj0
= 0 ;
29374 PyObject
* obj1
= 0 ;
29375 PyObject
* obj2
= 0 ;
29376 char * kwnames
[] = {
29377 (char *) "self",(char *) "icon",(char *) "pt", NULL
29380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29382 if (!SWIG_IsOK(res1
)) {
29383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29387 if (!SWIG_IsOK(res2
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29393 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= SWIG_Py_Void();
29411 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
= 0;
29413 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29414 wxBitmap
*arg2
= 0 ;
29417 bool arg5
= (bool) false ;
29428 PyObject
* obj0
= 0 ;
29429 PyObject
* obj1
= 0 ;
29430 PyObject
* obj2
= 0 ;
29431 PyObject
* obj3
= 0 ;
29432 PyObject
* obj4
= 0 ;
29433 char * kwnames
[] = {
29434 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
29437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29439 if (!SWIG_IsOK(res1
)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29444 if (!SWIG_IsOK(res2
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29450 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29452 if (!SWIG_IsOK(ecode3
)) {
29453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
29455 arg3
= static_cast< int >(val3
);
29456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29457 if (!SWIG_IsOK(ecode4
)) {
29458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
29460 arg4
= static_cast< int >(val4
);
29462 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
29463 if (!SWIG_IsOK(ecode5
)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
29466 arg5
= static_cast< bool >(val5
);
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_Py_Void();
29481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
= 0;
29483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29484 wxBitmap
*arg2
= 0 ;
29485 wxPoint
*arg3
= 0 ;
29486 bool arg4
= (bool) false ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 PyObject
* obj2
= 0 ;
29497 PyObject
* obj3
= 0 ;
29498 char * kwnames
[] = {
29499 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
29502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29504 if (!SWIG_IsOK(res1
)) {
29505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29509 if (!SWIG_IsOK(res2
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29515 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29521 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29522 if (!SWIG_IsOK(ecode4
)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
29525 arg4
= static_cast< bool >(val4
);
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= SWIG_Py_Void();
29540 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
= 0;
29542 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29543 wxString
*arg2
= 0 ;
29548 bool temp2
= false ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 PyObject
* obj2
= 0 ;
29556 PyObject
* obj3
= 0 ;
29557 char * kwnames
[] = {
29558 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
29561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29563 if (!SWIG_IsOK(res1
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29566 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29568 arg2
= wxString_in_helper(obj1
);
29569 if (arg2
== NULL
) SWIG_fail
;
29572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29573 if (!SWIG_IsOK(ecode3
)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
29576 arg3
= static_cast< int >(val3
);
29577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29578 if (!SWIG_IsOK(ecode4
)) {
29579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
29581 arg4
= static_cast< int >(val4
);
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= SWIG_Py_Void();
29603 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
= 0;
29605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29606 wxString
*arg2
= 0 ;
29607 wxPoint
*arg3
= 0 ;
29610 bool temp2
= false ;
29612 PyObject
* obj0
= 0 ;
29613 PyObject
* obj1
= 0 ;
29614 PyObject
* obj2
= 0 ;
29615 char * kwnames
[] = {
29616 (char *) "self",(char *) "text",(char *) "pt", NULL
29619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29621 if (!SWIG_IsOK(res1
)) {
29622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29626 arg2
= wxString_in_helper(obj1
);
29627 if (arg2
== NULL
) SWIG_fail
;
29632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= SWIG_Py_Void();
29655 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
= 0;
29657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29658 wxString
*arg2
= 0 ;
29664 bool temp2
= false ;
29671 PyObject
* obj0
= 0 ;
29672 PyObject
* obj1
= 0 ;
29673 PyObject
* obj2
= 0 ;
29674 PyObject
* obj3
= 0 ;
29675 PyObject
* obj4
= 0 ;
29676 char * kwnames
[] = {
29677 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
29680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29682 if (!SWIG_IsOK(res1
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29685 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29687 arg2
= wxString_in_helper(obj1
);
29688 if (arg2
== NULL
) SWIG_fail
;
29691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29692 if (!SWIG_IsOK(ecode3
)) {
29693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
29695 arg3
= static_cast< int >(val3
);
29696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29697 if (!SWIG_IsOK(ecode4
)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
29700 arg4
= static_cast< int >(val4
);
29701 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29702 if (!SWIG_IsOK(ecode5
)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
29705 arg5
= static_cast< double >(val5
);
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_Py_Void();
29727 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29728 PyObject
*resultobj
= 0;
29729 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29730 wxString
*arg2
= 0 ;
29731 wxPoint
*arg3
= 0 ;
29735 bool temp2
= false ;
29739 PyObject
* obj0
= 0 ;
29740 PyObject
* obj1
= 0 ;
29741 PyObject
* obj2
= 0 ;
29742 PyObject
* obj3
= 0 ;
29743 char * kwnames
[] = {
29744 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
29747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29752 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29754 arg2
= wxString_in_helper(obj1
);
29755 if (arg2
== NULL
) SWIG_fail
;
29760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29762 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29763 if (!SWIG_IsOK(ecode4
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
29766 arg4
= static_cast< double >(val4
);
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= SWIG_Py_Void();
29788 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
= 0;
29790 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29792 wxPoint
*arg3
= (wxPoint
*) 0 ;
29793 int arg4
= (int) 0 ;
29794 int arg5
= (int) 0 ;
29801 PyObject
* obj0
= 0 ;
29802 PyObject
* obj1
= 0 ;
29803 PyObject
* obj2
= 0 ;
29804 PyObject
* obj3
= 0 ;
29805 char * kwnames
[] = {
29806 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
29809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29811 if (!SWIG_IsOK(res1
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29814 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29816 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
29817 if (arg3
== NULL
) SWIG_fail
;
29820 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29821 if (!SWIG_IsOK(ecode4
)) {
29822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
29824 arg4
= static_cast< int >(val4
);
29827 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
29828 if (!SWIG_IsOK(ecode5
)) {
29829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
29831 arg5
= static_cast< int >(val5
);
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= SWIG_Py_Void();
29841 if (arg3
) delete [] arg3
;
29846 if (arg3
) delete [] arg3
;
29852 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
= 0;
29854 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29856 wxPoint
*arg3
= (wxPoint
*) 0 ;
29857 int arg4
= (int) 0 ;
29858 int arg5
= (int) 0 ;
29859 int arg6
= (int) wxODDEVEN_RULE
;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 PyObject
* obj2
= 0 ;
29871 PyObject
* obj3
= 0 ;
29872 PyObject
* obj4
= 0 ;
29873 char * kwnames
[] = {
29874 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
29877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29879 if (!SWIG_IsOK(res1
)) {
29880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29884 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
29885 if (arg3
== NULL
) SWIG_fail
;
29888 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29889 if (!SWIG_IsOK(ecode4
)) {
29890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
29892 arg4
= static_cast< int >(val4
);
29895 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
29896 if (!SWIG_IsOK(ecode5
)) {
29897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
29899 arg5
= static_cast< int >(val5
);
29902 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
29903 if (!SWIG_IsOK(ecode6
)) {
29904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
29906 arg6
= static_cast< int >(val6
);
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= SWIG_Py_Void();
29916 if (arg3
) delete [] arg3
;
29921 if (arg3
) delete [] arg3
;
29927 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
= 0;
29929 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29930 wxString
*arg2
= 0 ;
29932 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
29933 int arg5
= (int) -1 ;
29936 bool temp2
= false ;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 PyObject
* obj2
= 0 ;
29945 PyObject
* obj3
= 0 ;
29946 PyObject
* obj4
= 0 ;
29947 char * kwnames
[] = {
29948 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
29951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29953 if (!SWIG_IsOK(res1
)) {
29954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29956 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29958 arg2
= wxString_in_helper(obj1
);
29959 if (arg2
== NULL
) SWIG_fail
;
29964 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29968 if (!SWIG_IsOK(ecode4
)) {
29969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
29971 arg4
= static_cast< int >(val4
);
29974 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29975 if (!SWIG_IsOK(ecode5
)) {
29976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
29978 arg5
= static_cast< int >(val5
);
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= SWIG_Py_Void();
30001 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
= 0;
30003 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30004 wxString
*arg2
= 0 ;
30005 wxBitmap
*arg3
= 0 ;
30007 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30008 int arg6
= (int) -1 ;
30011 bool temp2
= false ;
30019 PyObject
* obj0
= 0 ;
30020 PyObject
* obj1
= 0 ;
30021 PyObject
* obj2
= 0 ;
30022 PyObject
* obj3
= 0 ;
30023 PyObject
* obj4
= 0 ;
30024 PyObject
* obj5
= 0 ;
30025 char * kwnames
[] = {
30026 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30031 if (!SWIG_IsOK(res1
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30034 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30036 arg2
= wxString_in_helper(obj1
);
30037 if (arg2
== NULL
) SWIG_fail
;
30040 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30041 if (!SWIG_IsOK(res3
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30047 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30050 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30053 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30054 if (!SWIG_IsOK(ecode5
)) {
30055 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30057 arg5
= static_cast< int >(val5
);
30060 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30061 if (!SWIG_IsOK(ecode6
)) {
30062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30064 arg6
= static_cast< int >(val6
);
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_Py_Void();
30087 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
= 0;
30089 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30091 wxPoint
*arg3
= (wxPoint
*) 0 ;
30094 PyObject
* obj0
= 0 ;
30095 PyObject
* obj1
= 0 ;
30096 char * kwnames
[] = {
30097 (char *) "self",(char *) "points", NULL
30100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30107 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30108 if (arg3
== NULL
) SWIG_fail
;
30111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30112 (arg1
)->DrawSpline(arg2
,arg3
);
30113 wxPyEndAllowThreads(__tstate
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 resultobj
= SWIG_Py_Void();
30118 if (arg3
) delete [] arg3
;
30123 if (arg3
) delete [] arg3
;
30129 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30130 PyObject
*resultobj
= 0;
30131 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30134 PyObject
*swig_obj
[1] ;
30136 if (!args
) SWIG_fail
;
30137 swig_obj
[0] = args
;
30138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 wxPyEndAllowThreads(__tstate
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= SWIG_Py_Void();
30156 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30157 PyObject
*resultobj
= 0;
30158 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30164 PyObject
* obj0
= 0 ;
30165 PyObject
* obj1
= 0 ;
30166 char * kwnames
[] = {
30167 (char *) "self",(char *) "font", NULL
30170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30172 if (!SWIG_IsOK(res1
)) {
30173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30177 if (!SWIG_IsOK(res2
)) {
30178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30183 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 (arg1
)->SetFont((wxFont
const &)*arg2
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_Py_Void();
30197 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= 0;
30199 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 char * kwnames
[] = {
30208 (char *) "self",(char *) "pen", NULL
30211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30213 if (!SWIG_IsOK(res1
)) {
30214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30216 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30218 if (!SWIG_IsOK(res2
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30224 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 (arg1
)->SetPen((wxPen
const &)*arg2
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= SWIG_Py_Void();
30238 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
= 0;
30240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30241 wxBrush
*arg2
= 0 ;
30246 PyObject
* obj0
= 0 ;
30247 PyObject
* obj1
= 0 ;
30248 char * kwnames
[] = {
30249 (char *) "self",(char *) "brush", NULL
30252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30254 if (!SWIG_IsOK(res1
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30257 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30259 if (!SWIG_IsOK(res2
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30265 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_Py_Void();
30279 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30282 wxBrush
*arg2
= 0 ;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "self",(char *) "brush", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30298 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30300 if (!SWIG_IsOK(res2
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30306 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= SWIG_Py_Void();
30320 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
= 0;
30322 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 char * kwnames
[] = {
30331 (char *) "self",(char *) "mode", NULL
30334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30336 if (!SWIG_IsOK(res1
)) {
30337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30339 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30341 if (!SWIG_IsOK(ecode2
)) {
30342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
30344 arg2
= static_cast< int >(val2
);
30346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 (arg1
)->SetBackgroundMode(arg2
);
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 resultobj
= SWIG_Py_Void();
30358 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30359 PyObject
*resultobj
= 0;
30360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30361 wxPalette
*arg2
= 0 ;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 char * kwnames
[] = {
30369 (char *) "self",(char *) "palette", NULL
30372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30374 if (!SWIG_IsOK(res1
)) {
30375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30377 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
30379 if (!SWIG_IsOK(res2
)) {
30380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30385 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= SWIG_Py_Void();
30399 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
= 0;
30401 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30402 wxColour
*arg2
= 0 ;
30406 PyObject
* obj0
= 0 ;
30407 PyObject
* obj1
= 0 ;
30408 char * kwnames
[] = {
30409 (char *) "self",(char *) "colour", NULL
30412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30414 if (!SWIG_IsOK(res1
)) {
30415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30417 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= SWIG_Py_Void();
30435 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
= 0;
30437 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30438 wxColour
*arg2
= 0 ;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 char * kwnames
[] = {
30445 (char *) "self",(char *) "colour", NULL
30448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30450 if (!SWIG_IsOK(res1
)) {
30451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30453 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30456 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30464 resultobj
= SWIG_Py_Void();
30471 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
= 0;
30473 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 char * kwnames
[] = {
30482 (char *) "self",(char *) "function", NULL
30485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30487 if (!SWIG_IsOK(res1
)) {
30488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30490 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30492 if (!SWIG_IsOK(ecode2
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
30495 arg2
= static_cast< int >(val2
);
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 (arg1
)->SetLogicalFunction(arg2
);
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_Py_Void();
30509 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
30513 return SWIG_Py_Void();
30516 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30517 return SWIG_Python_InitShadowInstance(args
);
30520 static PyMethodDef SwigMethods
[] = {
30521 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
30522 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
30523 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
30524 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
30525 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
30526 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
30530 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
30531 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
30532 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
30533 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
30534 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
30535 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
30540 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
30544 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
30545 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
30546 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
30548 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
30551 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
30552 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
30553 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
30554 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
30556 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
30557 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
30558 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
30559 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
30560 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
30561 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
30562 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
30569 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
30571 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
30574 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
30575 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
30578 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
30582 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
30583 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
30584 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
30585 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
30586 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
30587 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
30588 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
30590 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
30596 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
30597 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
30598 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
30599 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
30600 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
30601 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
30602 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
30608 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
30616 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
30617 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
30621 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
30622 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
30623 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
30624 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
30625 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
30626 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
30627 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
30628 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
30629 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
30630 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
30631 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
30632 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
30633 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
30634 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
30635 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
30637 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
30638 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
30644 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30645 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30646 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
30647 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
30648 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
30649 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
30650 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
30651 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
30652 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
30653 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
30654 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
30655 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
30657 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
30658 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
30664 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30665 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30666 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
30668 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
30669 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
30670 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
30672 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
30673 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
30678 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
30679 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
30680 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
30681 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
30686 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
30687 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
30689 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
30690 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
30692 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
30694 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
30695 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
30696 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
30697 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
30700 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
30704 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
30705 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
30707 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
30710 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
30711 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
30712 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
30717 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
30718 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
30724 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
30728 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
30738 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
30741 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
30742 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
30744 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
30745 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
30746 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
30747 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
30748 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
30749 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
30750 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
30751 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
30752 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
30753 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
30754 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
30755 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
30756 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
30757 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
30758 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
30759 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
30760 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
30762 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
30763 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
30764 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
30765 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
30766 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
30767 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
30768 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
30777 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
30778 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
30780 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
30781 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
30782 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
30783 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
30784 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
30785 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
30786 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
30787 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
30788 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
30790 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
30791 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
30792 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
30795 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
30796 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
30797 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
30800 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
30806 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
30811 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
30812 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
30814 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
30820 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
30823 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
30824 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
30825 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
30826 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
30827 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
30828 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
30829 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
30830 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
30831 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
30832 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
30833 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
30834 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
30835 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30839 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
30847 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
30848 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
30849 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
30851 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
30852 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
30854 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
30855 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
30856 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
30857 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
30861 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
30862 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
30864 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
30865 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
30866 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
30867 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
30868 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
30869 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
30870 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
30871 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
30872 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
30874 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
30877 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
30878 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
30879 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
30880 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
30881 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
30882 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
30883 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
30884 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
30893 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
30894 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
30895 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
30897 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
30901 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
30902 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
30903 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
30904 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
30905 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
30906 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
30912 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
30913 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
30914 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
30963 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
30965 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
30966 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
30967 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
30974 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
30975 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
30976 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
30977 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
30978 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
30983 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
30984 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
30985 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
30986 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
30995 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
30996 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
30997 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
30998 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
30999 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31000 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31001 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31002 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31003 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31004 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31005 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31006 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31009 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31011 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31013 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31015 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31016 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31019 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31020 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31024 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31026 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31029 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31030 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31031 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31032 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31033 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31034 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31041 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31042 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31045 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31046 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31047 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31048 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31049 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31050 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31051 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31053 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31054 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31055 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31058 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31059 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31060 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31062 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31063 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31065 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31066 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31068 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31069 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31071 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31072 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31074 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31077 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31078 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31079 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31081 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31082 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31084 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31085 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31087 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31088 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31090 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31098 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31100 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31102 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31103 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31104 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31105 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31106 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31107 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31113 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31114 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31115 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31116 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31117 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31118 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31122 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31126 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31130 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31131 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31132 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31137 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31138 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31139 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31140 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31141 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31142 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31143 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31144 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31145 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31146 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31147 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31148 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31157 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31158 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31160 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31161 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31162 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31163 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
31164 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
31165 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
31167 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
31169 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
31170 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
31171 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
31172 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
31183 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
31184 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
31185 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
31187 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
31188 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
31189 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
31190 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
31191 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
31192 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
31193 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
31194 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
31243 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
31253 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
31254 { NULL
, NULL
, 0, NULL
}
31258 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31260 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
31261 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
31263 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
31264 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31266 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
31267 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
31269 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
31270 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
31272 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
31273 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
31275 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
31276 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
31278 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
31279 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
31281 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
31282 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
31284 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
31285 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
31287 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
31288 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
31290 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
31291 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
31293 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
31294 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
31296 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
31297 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
31299 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
31300 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
31302 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
31303 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
31305 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
31306 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
31308 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
31309 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
31311 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
31312 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31314 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
31315 return (void *)((wxDC
*) ((wxClientDC
*) x
));
31317 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
31318 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
31320 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
31321 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
31323 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
31324 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
31326 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
31327 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
31329 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
31330 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
31332 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
31333 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
31335 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
31336 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31338 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31339 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31341 static void *_p_wxPenTo_p_wxObject(void *x
) {
31342 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
31344 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
31345 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
31347 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31348 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31350 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31351 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31353 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31356 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31357 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31359 static void *_p_wxIconTo_p_wxObject(void *x
) {
31360 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
31362 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31363 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31365 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31366 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31368 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31369 return (void *)((wxObject
*) ((wxSizer
*) x
));
31371 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31372 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31374 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31377 static void *_p_wxEventTo_p_wxObject(void *x
) {
31378 return (void *)((wxObject
*) ((wxEvent
*) x
));
31380 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31381 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31383 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31384 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31386 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31387 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31389 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
31390 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
31392 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31395 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31396 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31398 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31399 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31401 static void *_p_wxDCTo_p_wxObject(void *x
) {
31402 return (void *)((wxObject
*) ((wxDC
*) x
));
31404 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31405 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31407 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31408 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31410 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31411 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31413 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31414 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31416 static void *_p_wxControlTo_p_wxObject(void *x
) {
31417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31419 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31420 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31422 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
31423 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
31425 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31426 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31428 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
31429 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
31431 static void *_p_wxRegionTo_p_wxObject(void *x
) {
31432 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
31434 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31435 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31437 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
31438 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
31440 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
31441 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
31443 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
31444 return (void *)((wxObject
*) ((wxEffects
*) x
));
31446 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31447 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31449 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31452 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
31453 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
31455 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31456 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31458 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31459 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31461 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31464 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31465 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31467 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31470 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31471 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31473 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31474 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31476 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31477 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31479 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31480 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31482 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31483 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31485 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31486 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31488 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31491 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31494 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31497 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31500 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31503 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31504 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31506 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31507 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31509 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31510 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31512 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31513 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31515 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31516 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31518 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31519 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31521 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31524 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31525 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31527 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31528 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31530 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
31531 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31533 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
31534 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31536 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
31537 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
31539 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
31540 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
31542 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
31543 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
31545 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31546 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31548 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31549 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31551 static void *_p_wxImageTo_p_wxObject(void *x
) {
31552 return (void *)((wxObject
*) ((wxImage
*) x
));
31554 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31557 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
31560 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
31563 static void *_p_wxImageListTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) ((wxImageList
*) x
));
31566 static void *_p_wxCursorTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
31569 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
31572 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
31575 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31578 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31581 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31584 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31587 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31590 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31593 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
31596 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31599 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
31602 static void *_p_wxMaskTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) ((wxMask
*) x
));
31605 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31608 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31611 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31614 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31617 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31620 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31623 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31626 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31629 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31632 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31635 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31638 static void *_p_wxFontTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
31641 static void *_p_wxBrushTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
31644 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
31647 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31650 static void *_p_wxColourTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) ((wxColour
*) x
));
31653 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31656 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31659 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31660 return (void *)((wxWindow
*) ((wxControl
*) x
));
31662 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31663 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31665 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31666 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31668 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
31669 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
31671 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
31672 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
31674 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
31675 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
31676 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
31677 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};
31678 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
31679 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
31680 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
31681 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
31682 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
31683 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
31684 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
31685 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
31686 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
31687 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
31688 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
31689 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
31690 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
31691 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
31692 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
31693 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
31694 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
31695 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
31696 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
31697 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
31698 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
31699 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
31700 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
31701 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
31702 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
31703 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
31704 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
31705 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
31706 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
31707 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
31708 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
31709 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
31710 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
31711 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
31712 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
31713 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
31714 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
31715 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
31716 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
31717 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
31718 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
31719 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
31720 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
31721 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
31722 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
31723 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
31724 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
31725 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
31726 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
31727 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
31728 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
31729 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
31730 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
31731 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
31732 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
31733 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
31734 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
31735 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
31736 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
31737 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
31738 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
31739 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
31740 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
31741 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
31742 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
31743 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
31744 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
31745 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
31746 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
31747 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
31748 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
31749 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
31750 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
31751 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
31752 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
31753 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
31754 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
31755 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
31756 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
31757 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
31758 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
31759 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
31760 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
31761 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
31762 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
31763 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
31764 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
31765 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
31766 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
31767 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
31768 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
31769 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
31770 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
31771 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
31772 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
31773 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
31774 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
31775 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
31776 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
31777 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
31778 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
31779 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
31780 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
31781 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
31782 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
31783 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
31784 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
31785 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
31786 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
31787 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
31788 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
31789 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
31790 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
31791 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
31792 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
31793 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
31794 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
31795 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
31796 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
31797 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
31798 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
31799 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
31800 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
31801 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
31802 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
31803 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
31804 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
31805 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
31806 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
31807 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
31808 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
31809 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
31810 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
31811 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
31812 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
31813 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
31814 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
31815 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
31816 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
31817 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
31818 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
31819 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
31820 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
31821 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
31823 static swig_type_info
*swig_type_initial
[] = {
31827 &_swigt__p_form_ops_t
,
31829 &_swigt__p_unsigned_char
,
31830 &_swigt__p_unsigned_int
,
31831 &_swigt__p_unsigned_long
,
31832 &_swigt__p_wxANIHandler
,
31833 &_swigt__p_wxAcceleratorTable
,
31834 &_swigt__p_wxActivateEvent
,
31835 &_swigt__p_wxAlphaPixelData
,
31836 &_swigt__p_wxAlphaPixelData_Accessor
,
31837 &_swigt__p_wxBMPHandler
,
31838 &_swigt__p_wxBitmap
,
31839 &_swigt__p_wxBoxSizer
,
31840 &_swigt__p_wxBrush
,
31841 &_swigt__p_wxBrushList
,
31842 &_swigt__p_wxBufferedDC
,
31843 &_swigt__p_wxBufferedPaintDC
,
31844 &_swigt__p_wxCURHandler
,
31846 &_swigt__p_wxChildFocusEvent
,
31847 &_swigt__p_wxClientDC
,
31848 &_swigt__p_wxClipboardTextEvent
,
31849 &_swigt__p_wxCloseEvent
,
31850 &_swigt__p_wxColour
,
31851 &_swigt__p_wxColourDatabase
,
31852 &_swigt__p_wxCommandEvent
,
31853 &_swigt__p_wxContextMenuEvent
,
31854 &_swigt__p_wxControl
,
31855 &_swigt__p_wxControlWithItems
,
31856 &_swigt__p_wxCursor
,
31859 &_swigt__p_wxDateEvent
,
31860 &_swigt__p_wxDisplayChangedEvent
,
31861 &_swigt__p_wxDropFilesEvent
,
31862 &_swigt__p_wxDuplexMode
,
31863 &_swigt__p_wxEffects
,
31864 &_swigt__p_wxEncodingConverter
,
31865 &_swigt__p_wxEraseEvent
,
31866 &_swigt__p_wxEvent
,
31867 &_swigt__p_wxEvtHandler
,
31868 &_swigt__p_wxFSFile
,
31869 &_swigt__p_wxFileSystem
,
31870 &_swigt__p_wxFlexGridSizer
,
31871 &_swigt__p_wxFocusEvent
,
31873 &_swigt__p_wxFontList
,
31874 &_swigt__p_wxFontMapper
,
31875 &_swigt__p_wxGBSizerItem
,
31876 &_swigt__p_wxGDIObjListBase
,
31877 &_swigt__p_wxGDIObject
,
31878 &_swigt__p_wxGIFHandler
,
31879 &_swigt__p_wxGridBagSizer
,
31880 &_swigt__p_wxGridSizer
,
31881 &_swigt__p_wxICOHandler
,
31883 &_swigt__p_wxIconBundle
,
31884 &_swigt__p_wxIconLocation
,
31885 &_swigt__p_wxIconizeEvent
,
31886 &_swigt__p_wxIdleEvent
,
31887 &_swigt__p_wxImage
,
31888 &_swigt__p_wxImageHandler
,
31889 &_swigt__p_wxImageList
,
31890 &_swigt__p_wxIndividualLayoutConstraint
,
31891 &_swigt__p_wxInitDialogEvent
,
31892 &_swigt__p_wxJPEGHandler
,
31893 &_swigt__p_wxKeyEvent
,
31894 &_swigt__p_wxLanguageInfo
,
31895 &_swigt__p_wxLayoutConstraints
,
31896 &_swigt__p_wxLocale
,
31898 &_swigt__p_wxMaximizeEvent
,
31899 &_swigt__p_wxMemoryDC
,
31901 &_swigt__p_wxMenuBar
,
31902 &_swigt__p_wxMenuEvent
,
31903 &_swigt__p_wxMenuItem
,
31904 &_swigt__p_wxMetaFile
,
31905 &_swigt__p_wxMetaFileDC
,
31906 &_swigt__p_wxMirrorDC
,
31907 &_swigt__p_wxMouseCaptureChangedEvent
,
31908 &_swigt__p_wxMouseCaptureLostEvent
,
31909 &_swigt__p_wxMouseEvent
,
31910 &_swigt__p_wxMoveEvent
,
31911 &_swigt__p_wxNativeEncodingInfo
,
31912 &_swigt__p_wxNativeFontInfo
,
31913 &_swigt__p_wxNativePixelData
,
31914 &_swigt__p_wxNativePixelData_Accessor
,
31915 &_swigt__p_wxNavigationKeyEvent
,
31916 &_swigt__p_wxNcPaintEvent
,
31917 &_swigt__p_wxNotifyEvent
,
31918 &_swigt__p_wxObject
,
31919 &_swigt__p_wxPCXHandler
,
31920 &_swigt__p_wxPNGHandler
,
31921 &_swigt__p_wxPNMHandler
,
31922 &_swigt__p_wxPaintDC
,
31923 &_swigt__p_wxPaintEvent
,
31924 &_swigt__p_wxPalette
,
31925 &_swigt__p_wxPaletteChangedEvent
,
31926 &_swigt__p_wxPaperSize
,
31928 &_swigt__p_wxPenList
,
31929 &_swigt__p_wxPixelDataBase
,
31930 &_swigt__p_wxPoint
,
31931 &_swigt__p_wxPostScriptDC
,
31932 &_swigt__p_wxPrintData
,
31933 &_swigt__p_wxPrinterDC
,
31934 &_swigt__p_wxPseudoDC
,
31935 &_swigt__p_wxPyApp
,
31936 &_swigt__p_wxPyCommandEvent
,
31937 &_swigt__p_wxPyEvent
,
31938 &_swigt__p_wxPyFontEnumerator
,
31939 &_swigt__p_wxPyImageHandler
,
31940 &_swigt__p_wxPyLocale
,
31941 &_swigt__p_wxPySizer
,
31942 &_swigt__p_wxPyValidator
,
31943 &_swigt__p_wxQueryNewPaletteEvent
,
31945 &_swigt__p_wxRegion
,
31946 &_swigt__p_wxRegionIterator
,
31947 &_swigt__p_wxRendererNative
,
31948 &_swigt__p_wxRendererVersion
,
31949 &_swigt__p_wxScreenDC
,
31950 &_swigt__p_wxScrollEvent
,
31951 &_swigt__p_wxScrollWinEvent
,
31952 &_swigt__p_wxSetCursorEvent
,
31953 &_swigt__p_wxShowEvent
,
31955 &_swigt__p_wxSizeEvent
,
31956 &_swigt__p_wxSizer
,
31957 &_swigt__p_wxSizerItem
,
31958 &_swigt__p_wxSplitterRenderParams
,
31959 &_swigt__p_wxStaticBoxSizer
,
31960 &_swigt__p_wxStdDialogButtonSizer
,
31961 &_swigt__p_wxStockGDI
,
31962 &_swigt__p_wxString
,
31963 &_swigt__p_wxSysColourChangedEvent
,
31964 &_swigt__p_wxTIFFHandler
,
31965 &_swigt__p_wxUpdateUIEvent
,
31966 &_swigt__p_wxValidator
,
31967 &_swigt__p_wxWindow
,
31968 &_swigt__p_wxWindowCreateEvent
,
31969 &_swigt__p_wxWindowDC
,
31970 &_swigt__p_wxWindowDestroyEvent
,
31971 &_swigt__p_wxXPMHandler
,
31974 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
31975 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
31976 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
31977 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
31978 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
31979 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
31980 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
31981 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
31982 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
31983 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
31984 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
31985 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
31986 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
31987 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}};
31988 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
31989 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
31990 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
31991 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
31992 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
31993 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
31994 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}};
31995 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
31996 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
31997 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
31998 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
31999 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32000 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32001 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32002 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}};
32003 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}};
32004 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32005 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32006 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32007 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32008 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32009 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32010 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxPyLocale
, _p_wxPyLocaleTo_p_wxLocale
, 0, 0}, {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
32011 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32012 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}};
32013 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32014 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32015 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32016 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32017 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32018 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32019 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32020 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32021 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32022 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32023 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32024 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32025 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32026 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32027 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32028 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32029 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32030 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32031 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32032 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32033 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32034 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32035 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32036 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32037 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32038 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32039 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32040 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32041 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32042 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32043 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32044 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32045 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32046 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32047 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32048 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32049 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32050 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32051 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32052 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32053 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32054 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32055 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32056 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32057 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32058 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32059 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32060 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32061 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32062 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32063 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32064 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32065 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32066 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32067 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32068 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32069 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32070 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32071 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32072 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32073 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32074 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32075 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32076 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32077 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32078 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32079 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32080 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32081 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32082 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32083 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32084 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32085 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32086 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32087 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32088 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32089 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32090 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32091 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32092 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32093 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32094 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32095 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32096 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32097 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32098 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32099 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32100 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32101 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32102 static swig_cast_info _swigc__p_wxPixelDataBase
[] = { {&_swigt__p_wxPixelDataBase
, 0, 0, 0}, {&_swigt__p_wxNativePixelData
, _p_wxNativePixelDataTo_p_wxPixelDataBase
, 0, 0}, {&_swigt__p_wxAlphaPixelData
, _p_wxAlphaPixelDataTo_p_wxPixelDataBase
, 0, 0},{0, 0, 0, 0}};
32103 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32104 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32105 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32106 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32107 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32108 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32109 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32110 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32111 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32112 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32113 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32114 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32115 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32116 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32117 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32118 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32119 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32120 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}};
32121 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32123 static swig_cast_info
*swig_cast_initial
[] = {
32127 _swigc__p_form_ops_t
,
32129 _swigc__p_unsigned_char
,
32130 _swigc__p_unsigned_int
,
32131 _swigc__p_unsigned_long
,
32132 _swigc__p_wxANIHandler
,
32133 _swigc__p_wxAcceleratorTable
,
32134 _swigc__p_wxActivateEvent
,
32135 _swigc__p_wxAlphaPixelData
,
32136 _swigc__p_wxAlphaPixelData_Accessor
,
32137 _swigc__p_wxBMPHandler
,
32138 _swigc__p_wxBitmap
,
32139 _swigc__p_wxBoxSizer
,
32141 _swigc__p_wxBrushList
,
32142 _swigc__p_wxBufferedDC
,
32143 _swigc__p_wxBufferedPaintDC
,
32144 _swigc__p_wxCURHandler
,
32146 _swigc__p_wxChildFocusEvent
,
32147 _swigc__p_wxClientDC
,
32148 _swigc__p_wxClipboardTextEvent
,
32149 _swigc__p_wxCloseEvent
,
32150 _swigc__p_wxColour
,
32151 _swigc__p_wxColourDatabase
,
32152 _swigc__p_wxCommandEvent
,
32153 _swigc__p_wxContextMenuEvent
,
32154 _swigc__p_wxControl
,
32155 _swigc__p_wxControlWithItems
,
32156 _swigc__p_wxCursor
,
32159 _swigc__p_wxDateEvent
,
32160 _swigc__p_wxDisplayChangedEvent
,
32161 _swigc__p_wxDropFilesEvent
,
32162 _swigc__p_wxDuplexMode
,
32163 _swigc__p_wxEffects
,
32164 _swigc__p_wxEncodingConverter
,
32165 _swigc__p_wxEraseEvent
,
32167 _swigc__p_wxEvtHandler
,
32168 _swigc__p_wxFSFile
,
32169 _swigc__p_wxFileSystem
,
32170 _swigc__p_wxFlexGridSizer
,
32171 _swigc__p_wxFocusEvent
,
32173 _swigc__p_wxFontList
,
32174 _swigc__p_wxFontMapper
,
32175 _swigc__p_wxGBSizerItem
,
32176 _swigc__p_wxGDIObjListBase
,
32177 _swigc__p_wxGDIObject
,
32178 _swigc__p_wxGIFHandler
,
32179 _swigc__p_wxGridBagSizer
,
32180 _swigc__p_wxGridSizer
,
32181 _swigc__p_wxICOHandler
,
32183 _swigc__p_wxIconBundle
,
32184 _swigc__p_wxIconLocation
,
32185 _swigc__p_wxIconizeEvent
,
32186 _swigc__p_wxIdleEvent
,
32188 _swigc__p_wxImageHandler
,
32189 _swigc__p_wxImageList
,
32190 _swigc__p_wxIndividualLayoutConstraint
,
32191 _swigc__p_wxInitDialogEvent
,
32192 _swigc__p_wxJPEGHandler
,
32193 _swigc__p_wxKeyEvent
,
32194 _swigc__p_wxLanguageInfo
,
32195 _swigc__p_wxLayoutConstraints
,
32196 _swigc__p_wxLocale
,
32198 _swigc__p_wxMaximizeEvent
,
32199 _swigc__p_wxMemoryDC
,
32201 _swigc__p_wxMenuBar
,
32202 _swigc__p_wxMenuEvent
,
32203 _swigc__p_wxMenuItem
,
32204 _swigc__p_wxMetaFile
,
32205 _swigc__p_wxMetaFileDC
,
32206 _swigc__p_wxMirrorDC
,
32207 _swigc__p_wxMouseCaptureChangedEvent
,
32208 _swigc__p_wxMouseCaptureLostEvent
,
32209 _swigc__p_wxMouseEvent
,
32210 _swigc__p_wxMoveEvent
,
32211 _swigc__p_wxNativeEncodingInfo
,
32212 _swigc__p_wxNativeFontInfo
,
32213 _swigc__p_wxNativePixelData
,
32214 _swigc__p_wxNativePixelData_Accessor
,
32215 _swigc__p_wxNavigationKeyEvent
,
32216 _swigc__p_wxNcPaintEvent
,
32217 _swigc__p_wxNotifyEvent
,
32218 _swigc__p_wxObject
,
32219 _swigc__p_wxPCXHandler
,
32220 _swigc__p_wxPNGHandler
,
32221 _swigc__p_wxPNMHandler
,
32222 _swigc__p_wxPaintDC
,
32223 _swigc__p_wxPaintEvent
,
32224 _swigc__p_wxPalette
,
32225 _swigc__p_wxPaletteChangedEvent
,
32226 _swigc__p_wxPaperSize
,
32228 _swigc__p_wxPenList
,
32229 _swigc__p_wxPixelDataBase
,
32231 _swigc__p_wxPostScriptDC
,
32232 _swigc__p_wxPrintData
,
32233 _swigc__p_wxPrinterDC
,
32234 _swigc__p_wxPseudoDC
,
32236 _swigc__p_wxPyCommandEvent
,
32237 _swigc__p_wxPyEvent
,
32238 _swigc__p_wxPyFontEnumerator
,
32239 _swigc__p_wxPyImageHandler
,
32240 _swigc__p_wxPyLocale
,
32241 _swigc__p_wxPySizer
,
32242 _swigc__p_wxPyValidator
,
32243 _swigc__p_wxQueryNewPaletteEvent
,
32245 _swigc__p_wxRegion
,
32246 _swigc__p_wxRegionIterator
,
32247 _swigc__p_wxRendererNative
,
32248 _swigc__p_wxRendererVersion
,
32249 _swigc__p_wxScreenDC
,
32250 _swigc__p_wxScrollEvent
,
32251 _swigc__p_wxScrollWinEvent
,
32252 _swigc__p_wxSetCursorEvent
,
32253 _swigc__p_wxShowEvent
,
32255 _swigc__p_wxSizeEvent
,
32257 _swigc__p_wxSizerItem
,
32258 _swigc__p_wxSplitterRenderParams
,
32259 _swigc__p_wxStaticBoxSizer
,
32260 _swigc__p_wxStdDialogButtonSizer
,
32261 _swigc__p_wxStockGDI
,
32262 _swigc__p_wxString
,
32263 _swigc__p_wxSysColourChangedEvent
,
32264 _swigc__p_wxTIFFHandler
,
32265 _swigc__p_wxUpdateUIEvent
,
32266 _swigc__p_wxValidator
,
32267 _swigc__p_wxWindow
,
32268 _swigc__p_wxWindowCreateEvent
,
32269 _swigc__p_wxWindowDC
,
32270 _swigc__p_wxWindowDestroyEvent
,
32271 _swigc__p_wxXPMHandler
,
32275 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32277 static swig_const_info swig_const_table
[] = {
32278 {0, 0, 0, 0.0, 0, 0}};
32283 /* -----------------------------------------------------------------------------
32284 * Type initialization:
32285 * This problem is tough by the requirement that no dynamic
32286 * memory is used. Also, since swig_type_info structures store pointers to
32287 * swig_cast_info structures and swig_cast_info structures store pointers back
32288 * to swig_type_info structures, we need some lookup code at initialization.
32289 * The idea is that swig generates all the structures that are needed.
32290 * The runtime then collects these partially filled structures.
32291 * The SWIG_InitializeModule function takes these initial arrays out of
32292 * swig_module, and does all the lookup, filling in the swig_module.types
32293 * array with the correct data and linking the correct swig_cast_info
32294 * structures together.
32296 * The generated swig_type_info structures are assigned staticly to an initial
32297 * array. We just loop though that array, and handle each type individually.
32298 * First we lookup if this type has been already loaded, and if so, use the
32299 * loaded structure instead of the generated one. Then we have to fill in the
32300 * cast linked list. The cast data is initially stored in something like a
32301 * two-dimensional array. Each row corresponds to a type (there are the same
32302 * number of rows as there are in the swig_type_initial array). Each entry in
32303 * a column is one of the swig_cast_info structures for that type.
32304 * The cast_initial array is actually an array of arrays, because each row has
32305 * a variable number of columns. So to actually build the cast linked list,
32306 * we find the array of casts associated with the type, and loop through it
32307 * adding the casts to the list. The one last trick we need to do is making
32308 * sure the type pointer in the swig_cast_info struct is correct.
32310 * First off, we lookup the cast->type name to see if it is already loaded.
32311 * There are three cases to handle:
32312 * 1) If the cast->type has already been loaded AND the type we are adding
32313 * casting info to has not been loaded (it is in this module), THEN we
32314 * replace the cast->type pointer with the type pointer that has already
32316 * 2) If BOTH types (the one we are adding casting info to, and the
32317 * cast->type) are loaded, THEN the cast info has already been loaded by
32318 * the previous module so we just ignore it.
32319 * 3) Finally, if cast->type has not already been loaded, then we add that
32320 * swig_cast_info to the linked list (because the cast->type) pointer will
32322 * ----------------------------------------------------------------------------- */
32332 #define SWIGRUNTIME_DEBUG
32336 SWIG_InitializeModule(void *clientdata
) {
32338 swig_module_info
*module_head
;
32339 static int init_run
= 0;
32341 clientdata
= clientdata
;
32343 if (init_run
) return;
32346 /* Initialize the swig_module */
32347 swig_module
.type_initial
= swig_type_initial
;
32348 swig_module
.cast_initial
= swig_cast_initial
;
32350 /* Try and load any already created modules */
32351 module_head
= SWIG_GetModule(clientdata
);
32353 swig_module
.next
= module_head
->next
;
32354 module_head
->next
= &swig_module
;
32356 /* This is the first module loaded */
32357 swig_module
.next
= &swig_module
;
32358 SWIG_SetModule(clientdata
, &swig_module
);
32361 /* Now work on filling in swig_module.types */
32362 #ifdef SWIGRUNTIME_DEBUG
32363 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32365 for (i
= 0; i
< swig_module
.size
; ++i
) {
32366 swig_type_info
*type
= 0;
32367 swig_type_info
*ret
;
32368 swig_cast_info
*cast
;
32370 #ifdef SWIGRUNTIME_DEBUG
32371 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32374 /* if there is another module already loaded */
32375 if (swig_module
.next
!= &swig_module
) {
32376 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32379 /* Overwrite clientdata field */
32380 #ifdef SWIGRUNTIME_DEBUG
32381 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32383 if (swig_module
.type_initial
[i
]->clientdata
) {
32384 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32385 #ifdef SWIGRUNTIME_DEBUG
32386 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32390 type
= swig_module
.type_initial
[i
];
32393 /* Insert casting types */
32394 cast
= swig_module
.cast_initial
[i
];
32395 while (cast
->type
) {
32396 /* Don't need to add information already in the list */
32398 #ifdef SWIGRUNTIME_DEBUG
32399 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32401 if (swig_module
.next
!= &swig_module
) {
32402 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32403 #ifdef SWIGRUNTIME_DEBUG
32404 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32408 if (type
== swig_module
.type_initial
[i
]) {
32409 #ifdef SWIGRUNTIME_DEBUG
32410 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32415 /* Check for casting already in the list */
32416 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32417 #ifdef SWIGRUNTIME_DEBUG
32418 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32420 if (!ocast
) ret
= 0;
32425 #ifdef SWIGRUNTIME_DEBUG
32426 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32429 type
->cast
->prev
= cast
;
32430 cast
->next
= type
->cast
;
32436 /* Set entry in modules->types array equal to the type */
32437 swig_module
.types
[i
] = type
;
32439 swig_module
.types
[i
] = 0;
32441 #ifdef SWIGRUNTIME_DEBUG
32442 printf("**** SWIG_InitializeModule: Cast List ******\n");
32443 for (i
= 0; i
< swig_module
.size
; ++i
) {
32445 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32446 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32447 while (cast
->type
) {
32448 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32452 printf("---- Total casts: %d\n",j
);
32454 printf("**** SWIG_InitializeModule: Cast List ******\n");
32458 /* This function will propagate the clientdata field of type to
32459 * any new swig_type_info structures that have been added into the list
32460 * of equivalent types. It is like calling
32461 * SWIG_TypeClientData(type, clientdata) a second time.
32464 SWIG_PropagateClientData(void) {
32466 swig_cast_info
*equiv
;
32467 static int init_run
= 0;
32469 if (init_run
) return;
32472 for (i
= 0; i
< swig_module
.size
; i
++) {
32473 if (swig_module
.types
[i
]->clientdata
) {
32474 equiv
= swig_module
.types
[i
]->cast
;
32476 if (!equiv
->converter
) {
32477 if (equiv
->type
&& !equiv
->type
->clientdata
)
32478 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32480 equiv
= equiv
->next
;
32500 /* Python-specific SWIG API */
32501 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32502 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32503 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32505 /* -----------------------------------------------------------------------------
32506 * global variable support code.
32507 * ----------------------------------------------------------------------------- */
32509 typedef struct swig_globalvar
{
32510 char *name
; /* Name of global variable */
32511 PyObject
*(*get_attr
)(void); /* Return the current value */
32512 int (*set_attr
)(PyObject
*); /* Set the value */
32513 struct swig_globalvar
*next
;
32516 typedef struct swig_varlinkobject
{
32518 swig_globalvar
*vars
;
32519 } swig_varlinkobject
;
32521 SWIGINTERN PyObject
*
32522 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32523 return PyString_FromString("<Swig global variables>");
32526 SWIGINTERN PyObject
*
32527 swig_varlink_str(swig_varlinkobject
*v
) {
32528 PyObject
*str
= PyString_FromString("(");
32529 swig_globalvar
*var
;
32530 for (var
= v
->vars
; var
; var
=var
->next
) {
32531 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
32532 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
32534 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
32539 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
32540 PyObject
*str
= swig_varlink_str(v
);
32541 fprintf(fp
,"Swig global variables ");
32542 fprintf(fp
,"%s\n", PyString_AsString(str
));
32548 swig_varlink_dealloc(swig_varlinkobject
*v
) {
32549 swig_globalvar
*var
= v
->vars
;
32551 swig_globalvar
*n
= var
->next
;
32558 SWIGINTERN PyObject
*
32559 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32560 PyObject
*res
= NULL
;
32561 swig_globalvar
*var
= v
->vars
;
32563 if (strcmp(var
->name
,n
) == 0) {
32564 res
= (*var
->get_attr
)();
32569 if (res
== NULL
&& !PyErr_Occurred()) {
32570 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32576 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32578 swig_globalvar
*var
= v
->vars
;
32580 if (strcmp(var
->name
,n
) == 0) {
32581 res
= (*var
->set_attr
)(p
);
32586 if (res
== 1 && !PyErr_Occurred()) {
32587 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32592 SWIGINTERN PyTypeObject
*
32593 swig_varlink_type(void) {
32594 static char varlink__doc__
[] = "Swig var link object";
32595 static PyTypeObject varlink_type
;
32596 static int type_init
= 0;
32598 const PyTypeObject tmp
32600 PyObject_HEAD_INIT(NULL
)
32601 0, /* Number of items in variable part (ob_size) */
32602 (char *)"swigvarlink", /* Type name (tp_name) */
32603 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32604 0, /* Itemsize (tp_itemsize) */
32605 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
32606 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32607 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32608 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32609 0, /* tp_compare */
32610 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32611 0, /* tp_as_number */
32612 0, /* tp_as_sequence */
32613 0, /* tp_as_mapping */
32616 (reprfunc
)swig_varlink_str
, /* tp_str */
32617 0, /* tp_getattro */
32618 0, /* tp_setattro */
32619 0, /* tp_as_buffer */
32621 varlink__doc__
, /* tp_doc */
32622 0, /* tp_traverse */
32624 0, /* tp_richcompare */
32625 0, /* tp_weaklistoffset */
32626 #if PY_VERSION_HEX >= 0x02020000
32627 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32629 #if PY_VERSION_HEX >= 0x02030000
32632 #ifdef COUNT_ALLOCS
32633 0,0,0,0 /* tp_alloc -> tp_next */
32636 varlink_type
= tmp
;
32637 varlink_type
.ob_type
= &PyType_Type
;
32640 return &varlink_type
;
32643 /* Create a variable linking object for use later */
32644 SWIGINTERN PyObject
*
32645 SWIG_Python_newvarlink(void) {
32646 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
32650 return ((PyObject
*) result
);
32654 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32655 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
32656 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32658 size_t size
= strlen(name
)+1;
32659 gv
->name
= (char *)malloc(size
);
32661 strncpy(gv
->name
,name
,size
);
32662 gv
->get_attr
= get_attr
;
32663 gv
->set_attr
= set_attr
;
32664 gv
->next
= v
->vars
;
32670 SWIGINTERN PyObject
*
32672 static PyObject
*_SWIG_globals
= 0;
32673 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
32674 return _SWIG_globals
;
32677 /* -----------------------------------------------------------------------------
32678 * constants/methods manipulation
32679 * ----------------------------------------------------------------------------- */
32681 /* Install Constants */
32683 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32686 for (i
= 0; constants
[i
].type
; ++i
) {
32687 switch(constants
[i
].type
) {
32688 case SWIG_PY_POINTER
:
32689 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32691 case SWIG_PY_BINARY
:
32692 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32699 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
32705 /* -----------------------------------------------------------------------------*/
32706 /* Fix SwigMethods to carry the callback ptrs when needed */
32707 /* -----------------------------------------------------------------------------*/
32710 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32711 swig_const_info
*const_table
,
32712 swig_type_info
**types
,
32713 swig_type_info
**types_initial
) {
32715 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32716 const char *c
= methods
[i
].ml_doc
;
32717 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32719 swig_const_info
*ci
= 0;
32720 const char *name
= c
+ 10;
32721 for (j
= 0; const_table
[j
].type
; ++j
) {
32722 if (strncmp(const_table
[j
].name
, name
,
32723 strlen(const_table
[j
].name
)) == 0) {
32724 ci
= &(const_table
[j
]);
32729 size_t shift
= (ci
->ptype
) - types
;
32730 swig_type_info
*ty
= types_initial
[shift
];
32731 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32732 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32733 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32736 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
32738 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32740 strncpy(buff
, "swig_ptr: ", 10);
32742 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32743 methods
[i
].ml_doc
= ndoc
;
32755 /* -----------------------------------------------------------------------------*
32756 * Partial Init method
32757 * -----------------------------------------------------------------------------*/
32762 SWIGEXPORT
void SWIG_init(void) {
32765 /* Fix SwigMethods to carry the callback ptrs when needed */
32766 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
32768 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32769 d
= PyModule_GetDict(m
);
32771 SWIG_InitializeModule(0);
32772 SWIG_InstallConstants(d
,swig_const_table
);
32775 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
32776 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
32777 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
32778 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
32779 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
32780 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
32781 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
32782 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
32783 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
32784 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
32785 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
32786 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
32787 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
32788 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
32789 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
32790 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
32791 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
32792 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
32793 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
32794 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
32795 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
32796 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
32797 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
32798 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
32799 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
32800 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
32801 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
32802 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
32803 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
32804 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
32805 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
32806 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
32807 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
32808 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
32809 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
32810 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
32811 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
32812 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
32813 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
32814 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
32815 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
32816 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
32817 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
32818 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
32819 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
32820 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
32821 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
32822 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
32823 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
32824 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
32825 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
32826 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
32827 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
32828 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
32829 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
32830 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
32831 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
32832 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
32833 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
32834 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
32835 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
32836 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
32837 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
32838 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
32839 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
32840 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
32841 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
32842 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
32843 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
32844 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
32845 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
32846 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
32847 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
32848 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
32849 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
32850 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
32851 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
32852 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
32853 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
32854 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
32855 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
32856 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
32857 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
32858 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
32859 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
32860 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
32861 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
32862 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
32863 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
32864 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
32865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
32866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
32867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
32868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
32869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
32870 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
32871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
32872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
32873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
32874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
32875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
32876 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
32877 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
32878 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
32879 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
32880 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
32881 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
32882 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
32883 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
32884 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
32885 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
32886 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
32887 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
32888 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
32889 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
32890 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
32891 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
32892 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
32893 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
32894 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
32895 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
32896 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
32897 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
32898 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
32899 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
32900 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
32901 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
32902 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
32903 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
32904 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
32905 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
32906 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
32908 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
32910 SWIG_Python_SetConstant(d
, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default
)));
32911 SWIG_Python_SetConstant(d
, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight
)));
32912 SWIG_Python_SetConstant(d
, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft
)));
32913 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
32914 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
32915 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
32916 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
32917 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
32918 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
32919 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
32920 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
32921 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
32922 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
32923 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
32924 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
32925 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
32926 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
32927 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
32928 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
32929 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
32930 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
32931 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
32932 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
32933 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
32934 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
32935 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
32936 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
32937 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
32938 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
32939 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
32940 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
32941 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
32942 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
32943 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
32944 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
32945 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
32946 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
32947 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
32948 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
32949 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
32950 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
32951 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
32952 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
32953 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
32954 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
32955 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
32956 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
32957 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
32958 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
32959 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
32960 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
32961 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
32962 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
32963 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
32964 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
32965 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
32966 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
32967 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
32968 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
32969 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
32970 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
32971 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
32972 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
32973 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
32974 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
32975 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
32976 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
32977 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
32978 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
32979 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
32980 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
32981 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
32982 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
32983 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
32984 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
32985 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
32986 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
32987 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
32988 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
32989 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
32990 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
32991 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
32992 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
32993 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
32994 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
32995 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
32996 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
32997 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
32998 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
32999 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33000 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33001 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33002 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33003 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33004 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33005 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33006 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33007 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33008 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33009 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33010 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33011 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33012 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33013 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33014 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33015 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33016 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33017 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33018 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33019 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33020 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33021 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33022 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33023 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33024 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33025 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33026 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33027 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33028 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33029 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33030 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33031 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33032 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33033 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33034 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33035 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33036 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33037 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33038 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33039 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33040 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33041 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33042 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33043 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33044 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33045 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33046 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33047 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33048 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33049 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33050 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33051 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33052 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33053 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33054 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33055 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33056 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33057 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33058 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33059 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33060 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33061 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33062 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33063 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33064 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33065 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33066 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33067 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33068 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33069 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33070 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33071 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33072 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33073 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33074 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33075 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33076 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33077 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33078 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33079 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33080 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33081 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33082 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33083 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33084 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33085 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33086 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33087 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33088 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33089 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33090 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33091 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33092 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33093 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33094 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33095 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33096 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33097 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33098 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33099 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33100 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33101 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33102 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33103 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33104 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33105 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33106 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33107 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33108 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33109 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33110 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33111 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33112 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33113 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33114 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33115 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33116 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33117 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33118 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33119 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33120 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33121 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33122 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33123 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33124 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33125 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33126 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33127 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33128 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33129 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33130 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33131 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33132 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33133 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33134 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33135 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33136 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33137 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33138 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33139 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33140 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33141 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33142 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
33143 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
33144 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
33145 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
33146 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
33147 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
33148 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
33149 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
33150 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
33151 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
33152 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
33153 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
33154 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
33155 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
33156 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
33157 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
33158 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
33159 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
33160 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
33161 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
33162 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
33163 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
33164 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
33165 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
33166 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
33167 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
33168 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
33169 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
33170 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
33171 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
33172 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
33173 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
33174 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
33175 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
33176 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
33177 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
33178 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
33179 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
33180 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
33181 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
33182 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
33183 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
33184 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
33185 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
33186 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
33187 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
33188 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
33189 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
33190 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
33191 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
33192 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
33193 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
33194 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
33195 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
33196 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
33197 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
33198 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
33199 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
33200 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
33201 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
33202 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
33203 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33204 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
33205 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
33206 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
33207 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
33208 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
33209 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
33210 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
33211 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
33212 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
33213 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
33214 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
33215 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
33216 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
33217 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
33218 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
33219 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
33220 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
33221 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
33222 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
33223 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
33224 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
33225 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
33226 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
33228 // Work around a chicken/egg problem in drawlist.cpp
33229 wxPyDrawList_SetAPIPtr();