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_wxHeaderButtonParams swig_types[57]
2524 #define SWIGTYPE_p_wxICOHandler swig_types[58]
2525 #define SWIGTYPE_p_wxIcon swig_types[59]
2526 #define SWIGTYPE_p_wxIconBundle swig_types[60]
2527 #define SWIGTYPE_p_wxIconLocation swig_types[61]
2528 #define SWIGTYPE_p_wxIconizeEvent swig_types[62]
2529 #define SWIGTYPE_p_wxIdleEvent swig_types[63]
2530 #define SWIGTYPE_p_wxImage swig_types[64]
2531 #define SWIGTYPE_p_wxImageHandler swig_types[65]
2532 #define SWIGTYPE_p_wxImageList swig_types[66]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[67]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[68]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[69]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
2537 #define SWIGTYPE_p_wxLanguageInfo swig_types[71]
2538 #define SWIGTYPE_p_wxLayoutConstraints swig_types[72]
2539 #define SWIGTYPE_p_wxLocale swig_types[73]
2540 #define SWIGTYPE_p_wxMask swig_types[74]
2541 #define SWIGTYPE_p_wxMaximizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMemoryDC swig_types[76]
2543 #define SWIGTYPE_p_wxMenu swig_types[77]
2544 #define SWIGTYPE_p_wxMenuBar swig_types[78]
2545 #define SWIGTYPE_p_wxMenuEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMenuItem swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFile swig_types[81]
2548 #define SWIGTYPE_p_wxMetaFileDC swig_types[82]
2549 #define SWIGTYPE_p_wxMirrorDC swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[87]
2554 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativeFontInfo swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData swig_types[90]
2557 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[91]
2558 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxNotifyEvent swig_types[94]
2561 #define SWIGTYPE_p_wxObject swig_types[95]
2562 #define SWIGTYPE_p_wxPCXHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNGHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPNMHandler swig_types[98]
2565 #define SWIGTYPE_p_wxPaintDC swig_types[99]
2566 #define SWIGTYPE_p_wxPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxPalette swig_types[101]
2568 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2570 #define SWIGTYPE_p_wxPen swig_types[104]
2571 #define SWIGTYPE_p_wxPenList swig_types[105]
2572 #define SWIGTYPE_p_wxPixelDataBase swig_types[106]
2573 #define SWIGTYPE_p_wxPoint swig_types[107]
2574 #define SWIGTYPE_p_wxPostScriptDC swig_types[108]
2575 #define SWIGTYPE_p_wxPrintData swig_types[109]
2576 #define SWIGTYPE_p_wxPrinterDC swig_types[110]
2577 #define SWIGTYPE_p_wxPseudoDC swig_types[111]
2578 #define SWIGTYPE_p_wxPyApp swig_types[112]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[115]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPyLocale swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyValidator swig_types[119]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120]
2587 #define SWIGTYPE_p_wxRect swig_types[121]
2588 #define SWIGTYPE_p_wxRegion swig_types[122]
2589 #define SWIGTYPE_p_wxRegionIterator swig_types[123]
2590 #define SWIGTYPE_p_wxRendererNative swig_types[124]
2591 #define SWIGTYPE_p_wxRendererVersion swig_types[125]
2592 #define SWIGTYPE_p_wxScreenDC swig_types[126]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[129]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[130]
2597 #define SWIGTYPE_p_wxSize swig_types[131]
2598 #define SWIGTYPE_p_wxSizeEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSizer swig_types[133]
2600 #define SWIGTYPE_p_wxSizerItem swig_types[134]
2601 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[135]
2602 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[137]
2604 #define SWIGTYPE_p_wxStockGDI swig_types[138]
2605 #define SWIGTYPE_p_wxString swig_types[139]
2606 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2607 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2608 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[142]
2609 #define SWIGTYPE_p_wxValidator swig_types[143]
2610 #define SWIGTYPE_p_wxWindow swig_types[144]
2611 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDC swig_types[146]
2613 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[147]
2614 #define SWIGTYPE_p_wxXPMHandler swig_types[148]
2615 static swig_type_info
*swig_types
[150];
2616 static swig_module_info swig_module
= {swig_types
, 149, 0, 0, 0, 0};
2617 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2618 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2620 /* -------- TYPES TABLE (END) -------- */
2622 #if (PY_VERSION_HEX <= 0x02000000)
2623 # if !defined(SWIG_PYTHON_CLASSIC)
2624 # error "This python version requires to use swig with the '-classic' option"
2627 #if (PY_VERSION_HEX <= 0x02020000)
2628 # error "This python version requires to use swig with the '-nomodern' option"
2630 #if (PY_VERSION_HEX <= 0x02020000)
2631 # error "This python version requires to use swig with the '-nomodernargs' option"
2634 # error "This python version requires to use swig with the '-nofastunpack' option"
2637 /*-----------------------------------------------
2638 @(target):= _gdi_.so
2639 ------------------------------------------------*/
2640 #define SWIG_init init_gdi_
2642 #define SWIG_name "_gdi_"
2644 #define SWIGVERSION 0x010329
2647 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2648 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2651 #include <stdexcept>
2655 class PyObject_ptr
{
2660 PyObject_ptr() :_obj(0)
2664 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2669 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2671 if (initial_ref
) Py_XINCREF(_obj
);
2674 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2676 Py_XINCREF(item
._obj
);
2687 operator PyObject
*() const
2692 PyObject
*operator->() const
2701 struct PyObject_var
: PyObject_ptr
{
2702 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2704 PyObject_var
& operator = (PyObject
* obj
)
2714 #include "wx/wxPython/wxPython.h"
2715 #include "wx/wxPython/pyclasses.h"
2718 static const wxString
wxPyEmptyString(wxEmptyString
);
2720 #define SWIG_From_long PyInt_FromLong
2723 SWIGINTERNINLINE PyObject
*
2724 SWIG_From_int (int value
)
2726 return SWIG_From_long (value
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2757 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2758 return SWIG_TypeError
;
2761 *val
= (unsigned long)v
;
2767 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2770 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
> UCHAR_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< unsigned char >(v
);
2782 SWIGINTERNINLINE PyObject
*
2783 SWIG_From_unsigned_SS_long (unsigned long value
)
2785 return (value
> LONG_MAX
) ?
2786 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_unsigned_SS_char (unsigned char value
)
2793 return SWIG_From_unsigned_SS_long (value
);
2796 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2797 wxColour temp
, *obj
= &temp
;
2798 if ( other
== Py_None
) return false;
2799 if ( ! wxColour_helper(other
, &obj
) ) {
2803 return self
->operator==(*obj
);
2805 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return true;
2808 if ( ! wxColour_helper(other
, &obj
)) {
2812 return self
->operator!=(*obj
);
2816 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2818 if (obj
== Py_True
) {
2819 if (val
) *val
= true;
2821 } else if (obj
== Py_False
) {
2822 if (val
) *val
= false;
2826 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2827 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2832 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2833 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2837 int alpha
= wxALPHA_OPAQUE
;
2840 green
= self
->Green();
2841 blue
= self
->Blue();
2842 alpha
= self
->Alpha();
2844 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2845 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2846 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2848 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2851 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2852 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2856 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2859 int res
= SWIG_AsVal_long (obj
, &v
);
2860 if (SWIG_IsOK(res
)) {
2861 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2862 return SWIG_OverflowError
;
2864 if (val
) *val
= static_cast< int >(v
);
2870 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2872 int count
= self
->GetDashes(&dashes
);
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 PyObject
* retval
= PyList_New(0);
2875 for (int x
=0; x
<count
; x
++) {
2876 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2877 PyList_Append(retval
, pyint
);
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2884 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2885 int size
= PyList_Size(pyDashes
);
2886 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2888 // black magic warning! The array of wxDashes needs to exist as
2889 // long as the pen does because wxPen does not copy the array. So
2890 // stick a copy in a Python string object and attach it to _self,
2891 // and then call SetDashes with a pointer to that array. Then
2892 // when the Python pen object is destroyed the array will be
2894 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2895 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2897 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2899 Py_DECREF(strDashes
);
2900 wxPyEndBlockThreads(blocked
);
2902 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2903 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_short (short value
)
2908 return SWIG_From_long (value
);
2913 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2916 int res
= SWIG_AsVal_long (obj
, &v
);
2917 if (SWIG_IsOK(res
)) {
2918 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2919 return SWIG_OverflowError
;
2921 if (val
) *val
= static_cast< short >(v
);
2928 #include <wx/rawbmp.h>
2931 #include <wx/image.h>
2933 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2934 char** cArray
= NULL
;
2937 if (!PyList_Check(listOfStrings
)) {
2938 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2941 count
= PyList_Size(listOfStrings
);
2942 cArray
= new char*[count
];
2944 for(int x
=0; x
<count
; x
++) {
2945 // TODO: Need some validation and error checking here
2946 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2952 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2953 char** cArray
= NULL
;
2956 cArray
= ConvertListOfStrings(listOfStrings
);
2959 bmp
= new wxBitmap(cArray
);
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2966 PyString_AsStringAndSize(bits
, &buf
, &length
);
2967 return new wxBitmap(buf
, width
, height
, depth
);
2969 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2970 wxSize
size(self
->GetWidth(), self
->GetHeight());
2973 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2974 wxMask
*mask
= new wxMask(*self
, colour
);
2975 self
->SetMask(mask
);
2977 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2978 self
->SetWidth(size
.x
);
2979 self
->SetHeight(size
.y
);
2981 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2982 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2984 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2985 // appears to me that the other platforms are already doing it, so I'll just
2986 // automatically do it for wxMSW here.
2988 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2989 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2991 #define wxPy_premultiply(p, a) (p)
2992 #define wxPy_unpremultiply(p, a) (p)
2996 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2997 buffer data
, int DATASIZE
,
2998 buffer alpha
, int ALPHASIZE
)
3000 if (DATASIZE
!= width
*height
*3) {
3001 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3005 if (ALPHASIZE
!= width
*height
) {
3006 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3010 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3011 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3013 // raise an exception...
3014 wxPyErr_SetString(PyExc_RuntimeError
,
3015 "Failed to gain raw access to bitmap data.");
3020 wxAlphaPixelData::Iterator
p(pixData
);
3021 for (int y
=0; y
<height
; y
++) {
3022 wxAlphaPixelData::Iterator rowStart
= p
;
3023 for (int x
=0; x
<width
; x
++) {
3024 byte a
= *(alpha
++);
3025 p
.Red() = wxPy_premultiply(*(data
++), a
);
3026 p
.Green() = wxPy_premultiply(*(data
++), a
);
3027 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3032 p
.OffsetY(pixData
, 1);
3037 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3039 if (DATASIZE
!= width
*height
*3) {
3040 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3044 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3045 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3047 // raise an exception...
3048 wxPyErr_SetString(PyExc_RuntimeError
,
3049 "Failed to gain raw access to bitmap data.");
3053 wxNativePixelData::Iterator
p(pixData
);
3054 for (int y
=0; y
<height
; y
++) {
3055 wxNativePixelData::Iterator rowStart
= p
;
3056 for (int x
=0; x
<width
; x
++) {
3057 p
.Red() = *(data
++);
3058 p
.Green() = *(data
++);
3059 p
.Blue() = *(data
++);
3063 p
.OffsetY(pixData
, 1);
3069 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3071 if (DATASIZE
!= width
*height
*4) {
3072 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3076 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3077 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3079 // raise an exception...
3080 wxPyErr_SetString(PyExc_RuntimeError
,
3081 "Failed to gain raw access to bitmap data.");
3086 wxAlphaPixelData::Iterator
p(pixData
);
3087 for (int y
=0; y
<height
; y
++) {
3088 wxAlphaPixelData::Iterator rowStart
= p
;
3089 for (int x
=0; x
<width
; x
++) {
3091 p
.Red() = wxPy_premultiply(*(data
++), a
);
3092 p
.Green() = wxPy_premultiply(*(data
++), a
);
3093 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3094 p
.Alpha() = a
; data
++;
3098 p
.OffsetY(pixData
, 1);
3104 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3106 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3107 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3108 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3110 self
->Green() = green
;
3111 self
->Blue() = blue
;
3113 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3114 PyObject
* rv
= PyTuple_New(3);
3115 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3116 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3117 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3121 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3123 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3124 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3125 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3126 self
->Red() = wxPy_premultiply(red
, alpha
);
3127 self
->Green() = wxPy_premultiply(green
, alpha
);
3128 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3129 self
->Alpha() = alpha
;
3131 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3132 PyObject
* rv
= PyTuple_New(4);
3133 int red
= self
->Red();
3134 int green
= self
->Green();
3135 int blue
= self
->Blue();
3136 int alpha
= self
->Alpha();
3138 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3139 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3140 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3141 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3144 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3146 return new wxMask(bitmap
, *wxBLACK
);
3148 return new wxMask(bitmap
, colour
);
3151 #include <wx/iconbndl.h>
3153 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3154 wxIcon
* icon
= new wxIcon();
3155 icon
->CopyFromBitmap(bmp
);
3158 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3159 char** cArray
= NULL
;
3162 cArray
= ConvertListOfStrings(listOfStrings
);
3165 icon
= new wxIcon(cArray
);
3169 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3173 return new wxIconLocation(*filename
);
3176 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3183 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3190 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3192 wxImage
img(cursorName
, type
);
3193 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3194 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3195 return new wxCursor(img
);
3197 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3202 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3205 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3206 return self
->operator bool();
3209 #include <wx/fontutil.h>
3210 #include <wx/fontmap.h>
3211 #include <wx/fontenum.h>
3213 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3214 return self
->ToString();
3217 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3218 static wxNativeEncodingInfo info
;
3219 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3226 SWIGINTERNINLINE PyObject
*
3227 SWIG_From_size_t (size_t value
)
3229 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3233 SWIGINTERNINLINE
int
3234 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3237 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3238 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3242 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3243 wxFontEncoding alt_enc
;
3244 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3245 return PyInt_FromLong(alt_enc
);
3251 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3252 wxNativeFontInfo nfi
;
3253 nfi
.FromString(info
);
3254 return new wxFont(nfi
);
3256 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3257 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3259 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3260 return wxFontBase::New(pixelSize
, family
,
3261 style
, weight
, underlined
,
3264 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3265 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3267 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3268 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3270 class wxPyFontEnumerator
: public wxFontEnumerator
{
3272 wxPyFontEnumerator() {}
3273 ~wxPyFontEnumerator() {}
3275 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3276 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3281 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3282 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3285 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3287 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3288 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3289 ret
= wxArrayString2PyList_helper(arr
);
3290 wxPyEndBlockThreads(blocked
);
3293 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3295 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3297 ret
= wxArrayString2PyList_helper(arr
);
3298 wxPyEndBlockThreads(blocked
);
3304 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3307 loc
= new wxLocale();
3309 loc
= new wxLocale(language
, flags
);
3310 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3311 // for the floating point conversions and such to work right.
3312 #if PY_VERSION_HEX < 0x02040000
3313 setlocale(LC_NUMERIC
, "C");
3317 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3318 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3319 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3320 // for the floating point conversions and such to work right.
3321 #if PY_VERSION_HEX < 0x02040000
3322 setlocale(LC_NUMERIC
, "C");
3326 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3327 bool rc
= self
->Init(language
, flags
);
3328 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3329 // for the floating point conversions and such to work right.
3330 #if PY_VERSION_HEX < 0x02040000
3331 setlocale(LC_NUMERIC
, "C");
3336 class wxPyLocale
: public wxLocale
3341 wxPyLocale(const wxChar
*szName
, // name (for messages)
3342 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3343 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3344 bool bLoadDefault
= true, // preload wxstd.mo?
3345 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3347 wxPyLocale(int language
, // wxLanguage id or custom language
3348 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3352 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3353 const wxChar
*szDomain
= NULL
) const;
3354 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3355 const wxChar
*szOrigString2
, size_t n
,
3356 const wxChar
*szDomain
= NULL
) const;
3358 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3359 const wxChar
*szDomain
= NULL
) const;
3360 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3361 const wxChar
*szOrigString2
, size_t n
,
3362 const wxChar
*szDomain
= NULL
) const;
3366 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3369 wxPyLocale::wxPyLocale() : wxLocale()
3373 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3374 const wxChar
*szShort
, // dir prefix (for msg files)
3375 const wxChar
*szLocale
, // locale (for setlocale)
3376 bool bLoadDefault
, // preload wxstd.mo?
3377 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3378 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3382 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3383 int flags
) : wxLocale(language
, flags
)
3387 wxPyLocale::~wxPyLocale()
3391 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3392 const wxChar
*szDomain
) const
3394 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3395 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3398 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3399 const wxChar
*szOrigString2
, size_t n
,
3400 const wxChar
*szDomain
) const
3402 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3403 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3406 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3407 const wxChar
*szDomain
) const
3410 static wxString str
;
3411 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.
3412 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3413 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3414 PyObject
* param1
= wx2PyString(szOrigString
);
3415 PyObject
* param2
= wx2PyString(szDomain
);
3416 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3420 str
= Py2wxString(ret
);
3424 wxPyEndBlockThreads(blocked
);
3425 return (found
? (wxChar
*)str
.c_str() : NULL
);
3428 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3429 const wxChar
*szOrigString2
, size_t n
,
3430 const wxChar
*szDomain
) const
3433 static wxString str
;
3434 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.
3435 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3436 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3437 PyObject
* param1
= wx2PyString(szOrigString
);
3438 PyObject
* param2
= wx2PyString(szOrigString2
);
3439 PyObject
* param4
= wx2PyString(szDomain
);
3440 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3445 str
= Py2wxString(ret
);
3449 wxPyEndBlockThreads(blocked
);
3450 return (found
? (wxChar
*)str
.c_str() : NULL
);
3453 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3456 loc
= new wxPyLocale();
3458 loc
= new wxPyLocale(language
, flags
);
3459 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3460 // for the floating point conversions and such to work right.
3461 #if PY_VERSION_HEX < 0x02040000
3462 setlocale(LC_NUMERIC
, "C");
3467 #include "wx/wxPython/pydrawxxx.h"
3469 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3471 self
->GetPixel(x
, y
, &col
);
3474 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3476 self
->GetPixel(pt
, &col
);
3481 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3483 if (PyNumber_Check(obj
)) {
3484 if (val
) *val
= PyFloat_AsDouble(obj
);
3487 return SWIG_TypeError
;
3490 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3492 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3495 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3497 self
->GetClippingBox(rect
);
3500 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3502 self
->GetPartialTextExtents(text
, widths
);
3506 #define SWIG_From_double PyFloat_FromDouble
3508 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3509 self
->SetLogicalOrigin(point
.x
, point
.y
);
3511 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3512 self
->SetDeviceOrigin(point
.x
, point
.y
);
3514 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3515 self
->CalcBoundingBox(point
.x
, point
.y
);
3517 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3518 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3520 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3521 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3523 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3524 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3526 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3527 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3529 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3530 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3532 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3533 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3536 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3544 #include <wx/dcbuffer.h>
3547 #include <wx/dcps.h>
3550 #include <wx/metafile.h>
3554 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3555 self
->AddColour(name
, wxColour(red
, green
, blue
));
3558 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3559 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3560 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3561 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3564 #include <wx/effects.h>
3567 #include "wx/renderer.h"
3570 SWIGINTERNINLINE PyObject
*
3571 SWIG_From_bool (bool value
)
3573 return PyBool_FromLong(value
? 1 : 0);
3577 #include "wx/wxPython/pseudodc.h"
3579 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3581 self
->GetIdBounds(id
, rect
);
3587 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3588 PyObject
*resultobj
= 0;
3589 wxGDIObject
*result
= 0 ;
3591 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3593 if (!wxPyCheckForApp()) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (wxGDIObject
*)new wxGDIObject();
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3606 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3607 PyObject
*resultobj
= 0;
3608 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3611 PyObject
*swig_obj
[1] ;
3613 if (!args
) SWIG_fail
;
3615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3616 if (!SWIG_IsOK(res1
)) {
3617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3619 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3627 resultobj
= SWIG_Py_Void();
3634 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3635 PyObject
*resultobj
= 0;
3636 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3640 PyObject
*swig_obj
[1] ;
3642 if (!args
) SWIG_fail
;
3644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3645 if (!SWIG_IsOK(res1
)) {
3646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3648 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (bool)(arg1
)->IsNull();
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3664 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3667 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3668 return SWIG_Py_Void();
3671 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3672 return SWIG_Python_InitShadowInstance(args
);
3675 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
= 0;
3677 byte arg1
= (byte
) 0 ;
3678 byte arg2
= (byte
) 0 ;
3679 byte arg3
= (byte
) 0 ;
3680 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3681 wxColour
*result
= 0 ;
3682 unsigned char val1
;
3684 unsigned char val2
;
3686 unsigned char val3
;
3688 unsigned char val4
;
3690 PyObject
* obj0
= 0 ;
3691 PyObject
* obj1
= 0 ;
3692 PyObject
* obj2
= 0 ;
3693 PyObject
* obj3
= 0 ;
3694 char * kwnames
[] = {
3695 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3700 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3701 if (!SWIG_IsOK(ecode1
)) {
3702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3704 arg1
= static_cast< byte
>(val1
);
3707 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3708 if (!SWIG_IsOK(ecode2
)) {
3709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3711 arg2
= static_cast< byte
>(val2
);
3714 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3715 if (!SWIG_IsOK(ecode3
)) {
3716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3718 arg3
= static_cast< byte
>(val3
);
3721 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3722 if (!SWIG_IsOK(ecode4
)) {
3723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3725 arg4
= static_cast< byte
>(val4
);
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3740 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= 0;
3742 wxString
*arg1
= 0 ;
3743 wxColour
*result
= 0 ;
3744 bool temp1
= false ;
3745 PyObject
* obj0
= 0 ;
3746 char * kwnames
[] = {
3747 (char *) "colorName", NULL
3750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3752 arg1
= wxString_in_helper(obj0
);
3753 if (arg1
== NULL
) SWIG_fail
;
3757 if (!wxPyCheckForApp()) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3778 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
= 0;
3780 unsigned long arg1
;
3781 wxColour
*result
= 0 ;
3782 unsigned long val1
;
3784 PyObject
* obj0
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "colRGB", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3790 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3791 if (!SWIG_IsOK(ecode1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3794 arg1
= static_cast< unsigned long >(val1
);
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= (wxColour
*)new wxColour(arg1
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3808 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3809 PyObject
*resultobj
= 0;
3810 wxColour
*arg1
= (wxColour
*) 0 ;
3813 PyObject
*swig_obj
[1] ;
3815 if (!args
) SWIG_fail
;
3817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3818 if (!SWIG_IsOK(res1
)) {
3819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3821 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_Py_Void();
3836 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3837 PyObject
*resultobj
= 0;
3838 wxColour
*arg1
= (wxColour
*) 0 ;
3842 PyObject
*swig_obj
[1] ;
3844 if (!args
) SWIG_fail
;
3846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3847 if (!SWIG_IsOK(res1
)) {
3848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3850 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (byte
)(arg1
)->Red();
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3864 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3865 PyObject
*resultobj
= 0;
3866 wxColour
*arg1
= (wxColour
*) 0 ;
3870 PyObject
*swig_obj
[1] ;
3872 if (!args
) SWIG_fail
;
3874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3875 if (!SWIG_IsOK(res1
)) {
3876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3878 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (byte
)(arg1
)->Green();
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3892 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3893 PyObject
*resultobj
= 0;
3894 wxColour
*arg1
= (wxColour
*) 0 ;
3898 PyObject
*swig_obj
[1] ;
3900 if (!args
) SWIG_fail
;
3902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3903 if (!SWIG_IsOK(res1
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3906 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (byte
)(arg1
)->Blue();
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3920 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3921 PyObject
*resultobj
= 0;
3922 wxColour
*arg1
= (wxColour
*) 0 ;
3926 PyObject
*swig_obj
[1] ;
3928 if (!args
) SWIG_fail
;
3930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3931 if (!SWIG_IsOK(res1
)) {
3932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3934 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (byte
)(arg1
)->Alpha();
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3948 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3949 PyObject
*resultobj
= 0;
3950 wxColour
*arg1
= (wxColour
*) 0 ;
3954 PyObject
*swig_obj
[1] ;
3956 if (!args
) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3962 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (bool)(arg1
)->Ok();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3978 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
= 0;
3980 wxColour
*arg1
= (wxColour
*) 0 ;
3984 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3987 unsigned char val2
;
3989 unsigned char val3
;
3991 unsigned char val4
;
3993 unsigned char val5
;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3997 PyObject
* obj2
= 0 ;
3998 PyObject
* obj3
= 0 ;
3999 PyObject
* obj4
= 0 ;
4000 char * kwnames
[] = {
4001 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4006 if (!SWIG_IsOK(res1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4009 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4010 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4011 if (!SWIG_IsOK(ecode2
)) {
4012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4014 arg2
= static_cast< byte
>(val2
);
4015 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4016 if (!SWIG_IsOK(ecode3
)) {
4017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4019 arg3
= static_cast< byte
>(val3
);
4020 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4021 if (!SWIG_IsOK(ecode4
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4024 arg4
= static_cast< byte
>(val4
);
4026 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4027 if (!SWIG_IsOK(ecode5
)) {
4028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4030 arg5
= static_cast< byte
>(val5
);
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_Py_Void();
4045 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
= 0;
4047 wxColour
*arg1
= (wxColour
*) 0 ;
4048 unsigned long arg2
;
4051 unsigned long val2
;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4055 char * kwnames
[] = {
4056 (char *) "self",(char *) "colRGB", NULL
4059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4061 if (!SWIG_IsOK(res1
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4064 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4065 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4066 if (!SWIG_IsOK(ecode2
)) {
4067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4069 arg2
= static_cast< unsigned long >(val2
);
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= SWIG_Py_Void();
4083 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
= 0;
4085 wxColour
*arg1
= (wxColour
*) 0 ;
4086 wxString
*arg2
= 0 ;
4089 bool temp2
= false ;
4090 PyObject
* obj0
= 0 ;
4091 PyObject
* obj1
= 0 ;
4092 char * kwnames
[] = {
4093 (char *) "self",(char *) "colourName", NULL
4096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4098 if (!SWIG_IsOK(res1
)) {
4099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4101 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4103 arg2
= wxString_in_helper(obj1
);
4104 if (arg2
== NULL
) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 (arg1
)->InitFromName((wxString
const &)*arg2
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_Py_Void();
4128 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
= 0;
4130 wxColour
*arg1
= (wxColour
*) 0 ;
4131 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4139 char * kwnames
[] = {
4140 (char *) "self",(char *) "flags", NULL
4143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4145 if (!SWIG_IsOK(res1
)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4148 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4151 if (!SWIG_IsOK(ecode2
)) {
4152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4154 arg2
= static_cast< long >(val2
);
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4175 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4176 PyObject
*resultobj
= 0;
4177 wxColour
*arg1
= (wxColour
*) 0 ;
4181 PyObject
*swig_obj
[1] ;
4183 if (!args
) SWIG_fail
;
4185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4186 if (!SWIG_IsOK(res1
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4189 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_From_long(static_cast< long >(result
));
4203 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= 0;
4205 wxColour
*arg1
= (wxColour
*) 0 ;
4206 PyObject
*arg2
= (PyObject
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4212 char * kwnames
[] = {
4213 (char *) "self",(char *) "other", NULL
4216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4221 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4224 result
= (bool)wxColour___eq__(arg1
,arg2
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4236 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxColour
*arg1
= (wxColour
*) 0 ;
4239 PyObject
*arg2
= (PyObject
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4245 char * kwnames
[] = {
4246 (char *) "self",(char *) "other", NULL
4249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4254 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4257 result
= (bool)wxColour___ne__(arg1
,arg2
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4269 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
= 0;
4271 wxColour
*arg1
= (wxColour
*) 0 ;
4272 bool arg2
= (bool) false ;
4273 PyObject
*result
= 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "includeAlpha", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4289 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4291 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4295 arg2
= static_cast< bool >(val2
);
4298 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4308 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxColour
*arg1
= (wxColour
*) 0 ;
4311 unsigned long result
;
4314 PyObject
*swig_obj
[1] ;
4316 if (!args
) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4322 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4324 result
= (unsigned long)wxColour_GetRGB(arg1
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4334 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4337 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4338 return SWIG_Py_Void();
4341 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4342 return SWIG_Python_InitShadowInstance(args
);
4345 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4348 unsigned char *arg2
= (unsigned char *) 0 ;
4349 unsigned char *arg3
= (unsigned char *) 0 ;
4350 unsigned char *arg4
= (unsigned char *) 0 ;
4351 wxPalette
*result
= 0 ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 PyObject
* obj2
= 0 ;
4363 PyObject
* obj3
= 0 ;
4364 char * kwnames
[] = {
4365 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4370 if (!SWIG_IsOK(ecode1
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4373 arg1
= static_cast< int >(val1
);
4374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4375 if (!SWIG_IsOK(res2
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4378 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4379 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4380 if (!SWIG_IsOK(res3
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4383 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4384 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4385 if (!SWIG_IsOK(res4
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4388 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4390 if (!wxPyCheckForApp()) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4403 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4404 PyObject
*resultobj
= 0;
4405 wxPalette
*arg1
= (wxPalette
*) 0 ;
4408 PyObject
*swig_obj
[1] ;
4410 if (!args
) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4416 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_Py_Void();
4431 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxPalette
*arg1
= (wxPalette
*) 0 ;
4440 unsigned char val2
;
4442 unsigned char val3
;
4444 unsigned char val4
;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4448 PyObject
* obj2
= 0 ;
4449 PyObject
* obj3
= 0 ;
4450 char * kwnames
[] = {
4451 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4456 if (!SWIG_IsOK(res1
)) {
4457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4459 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4460 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4461 if (!SWIG_IsOK(ecode2
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4464 arg2
= static_cast< byte
>(val2
);
4465 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4466 if (!SWIG_IsOK(ecode3
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4469 arg3
= static_cast< byte
>(val3
);
4470 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4471 if (!SWIG_IsOK(ecode4
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4474 arg4
= static_cast< byte
>(val4
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_From_int(static_cast< int >(result
));
4488 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= 0;
4490 wxPalette
*arg1
= (wxPalette
*) 0 ;
4492 byte
*arg3
= (byte
*) 0 ;
4493 byte
*arg4
= (byte
*) 0 ;
4494 byte
*arg5
= (byte
*) 0 ;
4501 int res3
= SWIG_TMPOBJ
;
4503 int res4
= SWIG_TMPOBJ
;
4505 int res5
= SWIG_TMPOBJ
;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "self",(char *) "pixel", NULL
4515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4517 if (!SWIG_IsOK(res1
)) {
4518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4520 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4522 if (!SWIG_IsOK(ecode2
)) {
4523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4525 arg2
= static_cast< int >(val2
);
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4535 if (SWIG_IsTmpObj(res3
)) {
4536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4538 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4541 if (SWIG_IsTmpObj(res4
)) {
4542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4544 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4547 if (SWIG_IsTmpObj(res5
)) {
4548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4550 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4559 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4560 PyObject
*resultobj
= 0;
4561 wxPalette
*arg1
= (wxPalette
*) 0 ;
4565 PyObject
*swig_obj
[1] ;
4567 if (!args
) SWIG_fail
;
4569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4570 if (!SWIG_IsOK(res1
)) {
4571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4573 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= SWIG_From_int(static_cast< int >(result
));
4587 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 PyObject
*resultobj
= 0;
4589 wxPalette
*arg1
= (wxPalette
*) 0 ;
4593 PyObject
*swig_obj
[1] ;
4595 if (!args
) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4601 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (bool)(arg1
)->Ok();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4617 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4620 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4621 return SWIG_Py_Void();
4624 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4625 return SWIG_Python_InitShadowInstance(args
);
4628 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
= 0;
4630 wxColour
*arg1
= 0 ;
4631 int arg2
= (int) 1 ;
4632 int arg3
= (int) wxSOLID
;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 PyObject
* obj2
= 0 ;
4642 char * kwnames
[] = {
4643 (char *) "colour",(char *) "width",(char *) "style", NULL
4646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4649 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4653 if (!SWIG_IsOK(ecode2
)) {
4654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4656 arg2
= static_cast< int >(val2
);
4659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4660 if (!SWIG_IsOK(ecode3
)) {
4661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4663 arg3
= static_cast< int >(val3
);
4666 if (!wxPyCheckForApp()) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4679 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4680 PyObject
*resultobj
= 0;
4681 wxPen
*arg1
= (wxPen
*) 0 ;
4684 PyObject
*swig_obj
[1] ;
4686 if (!args
) SWIG_fail
;
4688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4689 if (!SWIG_IsOK(res1
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4692 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_Py_Void();
4707 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4708 PyObject
*resultobj
= 0;
4709 wxPen
*arg1
= (wxPen
*) 0 ;
4713 PyObject
*swig_obj
[1] ;
4715 if (!args
) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4721 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (int)(arg1
)->GetCap();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_From_int(static_cast< int >(result
));
4735 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4736 PyObject
*resultobj
= 0;
4737 wxPen
*arg1
= (wxPen
*) 0 ;
4741 PyObject
*swig_obj
[1] ;
4743 if (!args
) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4749 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (arg1
)->GetColour();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4763 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4764 PyObject
*resultobj
= 0;
4765 wxPen
*arg1
= (wxPen
*) 0 ;
4769 PyObject
*swig_obj
[1] ;
4771 if (!args
) SWIG_fail
;
4773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4774 if (!SWIG_IsOK(res1
)) {
4775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4777 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= (int)(arg1
)->GetJoin();
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_From_int(static_cast< int >(result
));
4791 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4792 PyObject
*resultobj
= 0;
4793 wxPen
*arg1
= (wxPen
*) 0 ;
4797 PyObject
*swig_obj
[1] ;
4799 if (!args
) SWIG_fail
;
4801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4802 if (!SWIG_IsOK(res1
)) {
4803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4805 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (int)(arg1
)->GetStyle();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= SWIG_From_int(static_cast< int >(result
));
4819 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4820 PyObject
*resultobj
= 0;
4821 wxPen
*arg1
= (wxPen
*) 0 ;
4825 PyObject
*swig_obj
[1] ;
4827 if (!args
) SWIG_fail
;
4829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4830 if (!SWIG_IsOK(res1
)) {
4831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4833 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (int)(arg1
)->GetWidth();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_From_int(static_cast< int >(result
));
4847 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4848 PyObject
*resultobj
= 0;
4849 wxPen
*arg1
= (wxPen
*) 0 ;
4853 PyObject
*swig_obj
[1] ;
4855 if (!args
) SWIG_fail
;
4857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4858 if (!SWIG_IsOK(res1
)) {
4859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4861 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (bool)(arg1
)->Ok();
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4877 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
= 0;
4879 wxPen
*arg1
= (wxPen
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4887 char * kwnames
[] = {
4888 (char *) "self",(char *) "cap_style", NULL
4891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4896 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4898 if (!SWIG_IsOK(ecode2
)) {
4899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4901 arg2
= static_cast< int >(val2
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 (arg1
)->SetCap(arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_Py_Void();
4915 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
= 0;
4917 wxPen
*arg1
= (wxPen
*) 0 ;
4918 wxColour
*arg2
= 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 char * kwnames
[] = {
4925 (char *) "self",(char *) "colour", NULL
4928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4930 if (!SWIG_IsOK(res1
)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4933 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->SetColour(*arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_Py_Void();
4951 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
= 0;
4953 wxPen
*arg1
= (wxPen
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4961 char * kwnames
[] = {
4962 (char *) "self",(char *) "join_style", NULL
4965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4967 if (!SWIG_IsOK(res1
)) {
4968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4970 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4972 if (!SWIG_IsOK(ecode2
)) {
4973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4975 arg2
= static_cast< int >(val2
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 (arg1
)->SetJoin(arg2
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_Py_Void();
4989 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
= 0;
4991 wxPen
*arg1
= (wxPen
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 char * kwnames
[] = {
5000 (char *) "self",(char *) "style", NULL
5003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5008 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5010 if (!SWIG_IsOK(ecode2
)) {
5011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5013 arg2
= static_cast< int >(val2
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 (arg1
)->SetStyle(arg2
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_Py_Void();
5027 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
= 0;
5029 wxPen
*arg1
= (wxPen
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5037 char * kwnames
[] = {
5038 (char *) "self",(char *) "width", NULL
5041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5043 if (!SWIG_IsOK(res1
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5046 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5048 if (!SWIG_IsOK(ecode2
)) {
5049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5051 arg2
= static_cast< int >(val2
);
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 (arg1
)->SetWidth(arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_Py_Void();
5065 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
= 0;
5067 wxPen
*arg1
= (wxPen
*) 0 ;
5069 wxDash
*arg3
= (wxDash
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "dashes", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5083 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5085 arg2
= PyList_Size(obj1
);
5086 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5087 if (arg3
== NULL
) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetDashes(arg2
,arg3
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_Py_Void();
5097 if (arg3
) delete [] arg3
;
5102 if (arg3
) delete [] arg3
;
5108 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxPen
*arg1
= (wxPen
*) 0 ;
5111 PyObject
*result
= 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5122 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5136 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
= 0;
5138 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
*arg2
= (PyObject
*) 0 ;
5140 PyObject
*arg3
= (PyObject
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5145 PyObject
* obj2
= 0 ;
5146 char * kwnames
[] = {
5147 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5152 if (!SWIG_IsOK(res1
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5155 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 wxPen__SetDashes(arg1
,arg2
,arg3
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_Py_Void();
5171 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
= 0;
5173 wxPen
*arg1
= (wxPen
*) 0 ;
5174 wxPen
*arg2
= (wxPen
*) 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5182 char * kwnames
[] = {
5183 (char *) "self",(char *) "other", NULL
5186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5188 if (!SWIG_IsOK(res1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5191 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5193 if (!SWIG_IsOK(res2
)) {
5194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5196 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5212 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
= 0;
5214 wxPen
*arg1
= (wxPen
*) 0 ;
5215 wxPen
*arg2
= (wxPen
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5223 char * kwnames
[] = {
5224 (char *) "self",(char *) "other", NULL
5227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5229 if (!SWIG_IsOK(res1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5232 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5234 if (!SWIG_IsOK(res2
)) {
5235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5237 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5253 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5256 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5257 return SWIG_Py_Void();
5260 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5261 return SWIG_Python_InitShadowInstance(args
);
5264 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
= 0;
5266 wxColour
*arg1
= 0 ;
5267 int arg2
= (int) wxSOLID
;
5268 wxBrush
*result
= 0 ;
5272 PyObject
* obj0
= 0 ;
5273 PyObject
* obj1
= 0 ;
5274 char * kwnames
[] = {
5275 (char *) "colour",(char *) "style", NULL
5278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5281 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5285 if (!SWIG_IsOK(ecode2
)) {
5286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5288 arg2
= static_cast< int >(val2
);
5291 if (!wxPyCheckForApp()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5304 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
= 0;
5306 wxBitmap
*arg1
= 0 ;
5307 wxBrush
*result
= 0 ;
5310 PyObject
* obj0
= 0 ;
5311 char * kwnames
[] = {
5312 (char *) "stippleBitmap", NULL
5315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5316 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5317 if (!SWIG_IsOK(res1
)) {
5318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5323 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5325 if (!wxPyCheckForApp()) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5338 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5339 PyObject
*resultobj
= 0;
5340 wxBrush
*arg1
= (wxBrush
*) 0 ;
5343 PyObject
*swig_obj
[1] ;
5345 if (!args
) SWIG_fail
;
5347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5348 if (!SWIG_IsOK(res1
)) {
5349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5351 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_Py_Void();
5366 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
= 0;
5368 wxBrush
*arg1
= (wxBrush
*) 0 ;
5369 wxColour
*arg2
= 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5375 char * kwnames
[] = {
5376 (char *) "self",(char *) "col", NULL
5379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5381 if (!SWIG_IsOK(res1
)) {
5382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5384 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetColour((wxColour
const &)*arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_Py_Void();
5402 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
= 0;
5404 wxBrush
*arg1
= (wxBrush
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5412 char * kwnames
[] = {
5413 (char *) "self",(char *) "style", NULL
5416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5418 if (!SWIG_IsOK(res1
)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5421 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5423 if (!SWIG_IsOK(ecode2
)) {
5424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5426 arg2
= static_cast< int >(val2
);
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 (arg1
)->SetStyle(arg2
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= SWIG_Py_Void();
5440 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= 0;
5442 wxBrush
*arg1
= (wxBrush
*) 0 ;
5443 wxBitmap
*arg2
= 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5450 char * kwnames
[] = {
5451 (char *) "self",(char *) "stipple", NULL
5454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5456 if (!SWIG_IsOK(res1
)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5459 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5461 if (!SWIG_IsOK(res2
)) {
5462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5467 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_Py_Void();
5481 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5483 wxBrush
*arg1
= (wxBrush
*) 0 ;
5487 PyObject
*swig_obj
[1] ;
5489 if (!args
) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5495 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= ((wxBrush
const *)arg1
)->GetColour();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5509 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5510 PyObject
*resultobj
= 0;
5511 wxBrush
*arg1
= (wxBrush
*) 0 ;
5515 PyObject
*swig_obj
[1] ;
5517 if (!args
) SWIG_fail
;
5519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5520 if (!SWIG_IsOK(res1
)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5523 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_From_int(static_cast< int >(result
));
5537 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5538 PyObject
*resultobj
= 0;
5539 wxBrush
*arg1
= (wxBrush
*) 0 ;
5540 wxBitmap
*result
= 0 ;
5543 PyObject
*swig_obj
[1] ;
5545 if (!args
) SWIG_fail
;
5547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5548 if (!SWIG_IsOK(res1
)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5551 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5565 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5566 PyObject
*resultobj
= 0;
5567 wxBrush
*arg1
= (wxBrush
*) 0 ;
5571 PyObject
*swig_obj
[1] ;
5573 if (!args
) SWIG_fail
;
5575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5576 if (!SWIG_IsOK(res1
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5579 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5595 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5596 PyObject
*resultobj
= 0;
5597 wxBrush
*arg1
= (wxBrush
*) 0 ;
5601 PyObject
*swig_obj
[1] ;
5603 if (!args
) SWIG_fail
;
5605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5606 if (!SWIG_IsOK(res1
)) {
5607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5609 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 result
= (bool)(arg1
)->Ok();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5625 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5626 PyObject
*resultobj
= 0;
5627 wxBrush
*arg1
= (wxBrush
*) 0 ;
5631 PyObject
*swig_obj
[1] ;
5633 if (!args
) SWIG_fail
;
5635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5636 if (!SWIG_IsOK(res1
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5639 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (short)(arg1
)->MacGetTheme();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_From_short(static_cast< short >(result
));
5653 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
= 0;
5655 wxBrush
*arg1
= (wxBrush
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5663 char * kwnames
[] = {
5664 (char *) "self",(char *) "macThemeBrush", NULL
5667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5669 if (!SWIG_IsOK(res1
)) {
5670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5672 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5673 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5674 if (!SWIG_IsOK(ecode2
)) {
5675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5677 arg2
= static_cast< short >(val2
);
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->MacSetTheme(arg2
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= SWIG_Py_Void();
5691 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5694 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5695 return SWIG_Py_Void();
5698 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5699 return SWIG_Python_InitShadowInstance(args
);
5702 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
= 0;
5704 wxString
*arg1
= 0 ;
5705 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5706 wxBitmap
*result
= 0 ;
5707 bool temp1
= false ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 char * kwnames
[] = {
5713 (char *) "name",(char *) "type", NULL
5716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5718 arg1
= wxString_in_helper(obj0
);
5719 if (arg1
== NULL
) SWIG_fail
;
5723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5724 if (!SWIG_IsOK(ecode2
)) {
5725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5727 arg2
= static_cast< wxBitmapType
>(val2
);
5730 if (!wxPyCheckForApp()) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5751 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5752 PyObject
*resultobj
= 0;
5753 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5756 PyObject
*swig_obj
[1] ;
5758 if (!args
) SWIG_fail
;
5760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5761 if (!SWIG_IsOK(res1
)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5764 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_Py_Void();
5777 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= 0;
5781 int arg3
= (int) -1 ;
5782 wxBitmap
*result
= 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "width",(char *) "height",(char *) "depth", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5798 if (!SWIG_IsOK(ecode1
)) {
5799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5801 arg1
= static_cast< int >(val1
);
5802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5803 if (!SWIG_IsOK(ecode2
)) {
5804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5806 arg2
= static_cast< int >(val2
);
5808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5809 if (!SWIG_IsOK(ecode3
)) {
5810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5812 arg3
= static_cast< int >(val3
);
5815 if (!wxPyCheckForApp()) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5828 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5831 wxBitmap
*result
= 0 ;
5834 PyObject
* obj0
= 0 ;
5835 char * kwnames
[] = {
5836 (char *) "icon", NULL
5839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5840 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5841 if (!SWIG_IsOK(res1
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5847 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5849 if (!wxPyCheckForApp()) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5862 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5865 int arg2
= (int) -1 ;
5866 wxBitmap
*result
= 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5873 char * kwnames
[] = {
5874 (char *) "image",(char *) "depth", NULL
5877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5885 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5888 if (!SWIG_IsOK(ecode2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5891 arg2
= static_cast< int >(val2
);
5894 if (!wxPyCheckForApp()) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5907 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
= 0;
5909 PyObject
*arg1
= (PyObject
*) 0 ;
5910 wxBitmap
*result
= 0 ;
5911 PyObject
* obj0
= 0 ;
5912 char * kwnames
[] = {
5913 (char *) "listOfStrings", NULL
5916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5919 if (!wxPyCheckForApp()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5932 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5934 PyObject
*arg1
= (PyObject
*) 0 ;
5937 int arg4
= (int) 1 ;
5938 wxBitmap
*result
= 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5947 PyObject
* obj2
= 0 ;
5948 PyObject
* obj3
= 0 ;
5949 char * kwnames
[] = {
5950 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5956 if (!SWIG_IsOK(ecode2
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5959 arg2
= static_cast< int >(val2
);
5960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5961 if (!SWIG_IsOK(ecode3
)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5964 arg3
= static_cast< int >(val3
);
5966 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5967 if (!SWIG_IsOK(ecode4
)) {
5968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5970 arg4
= static_cast< int >(val4
);
5973 if (!wxPyCheckForApp()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5986 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5987 PyObject
*resultobj
= 0;
5988 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5992 PyObject
*swig_obj
[1] ;
5994 if (!args
) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6000 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6002 result
= (bool)(arg1
)->Ok();
6003 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6014 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6015 PyObject
*resultobj
= 0;
6016 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6020 PyObject
*swig_obj
[1] ;
6022 if (!args
) SWIG_fail
;
6024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6025 if (!SWIG_IsOK(res1
)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6028 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6030 result
= (int)(arg1
)->GetWidth();
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_From_int(static_cast< int >(result
));
6040 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6041 PyObject
*resultobj
= 0;
6042 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6046 PyObject
*swig_obj
[1] ;
6048 if (!args
) SWIG_fail
;
6050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6051 if (!SWIG_IsOK(res1
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6056 result
= (int)(arg1
)->GetHeight();
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_From_int(static_cast< int >(result
));
6066 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6067 PyObject
*resultobj
= 0;
6068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6072 PyObject
*swig_obj
[1] ;
6074 if (!args
) SWIG_fail
;
6076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6077 if (!SWIG_IsOK(res1
)) {
6078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6080 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6082 result
= (int)(arg1
)->GetDepth();
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= SWIG_From_int(static_cast< int >(result
));
6092 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6093 PyObject
*resultobj
= 0;
6094 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6098 PyObject
*swig_obj
[1] ;
6100 if (!args
) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6106 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6108 result
= wxBitmap_GetSize(arg1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6118 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6121 SwigValueWrapper
<wxImage
> result
;
6124 PyObject
*swig_obj
[1] ;
6126 if (!args
) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6134 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6144 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6147 wxMask
*result
= 0 ;
6150 PyObject
*swig_obj
[1] ;
6152 if (!args
) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6170 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6172 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6173 wxMask
*arg2
= (wxMask
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 char * kwnames
[] = {
6180 (char *) "self",(char *) "mask", NULL
6183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6185 if (!SWIG_IsOK(res1
)) {
6186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6188 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6189 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6190 if (!SWIG_IsOK(res2
)) {
6191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6194 (arg1
)->SetMask(arg2
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_Py_Void();
6204 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
= 0;
6206 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6207 wxColour
*arg2
= 0 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 char * kwnames
[] = {
6214 (char *) "self",(char *) "colour", NULL
6217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6222 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6225 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6228 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_Py_Void();
6238 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
= 0;
6240 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6242 SwigValueWrapper
<wxBitmap
> result
;
6246 PyObject
* obj0
= 0 ;
6247 PyObject
* obj1
= 0 ;
6248 char * kwnames
[] = {
6249 (char *) "self",(char *) "rect", NULL
6252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) 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_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6260 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6263 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6273 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
= 0;
6275 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6276 wxString
*arg2
= 0 ;
6278 wxPalette
*arg4
= (wxPalette
*) NULL
;
6282 bool temp2
= false ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 PyObject
* obj3
= 0 ;
6291 char * kwnames
[] = {
6292 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6300 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6302 arg2
= wxString_in_helper(obj1
);
6303 if (arg2
== NULL
) SWIG_fail
;
6306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6307 if (!SWIG_IsOK(ecode3
)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6310 arg3
= static_cast< wxBitmapType
>(val3
);
6312 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6313 if (!SWIG_IsOK(res4
)) {
6314 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6316 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6319 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6339 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
= 0;
6341 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6342 wxString
*arg2
= 0 ;
6347 bool temp2
= false ;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 PyObject
* obj2
= 0 ;
6353 char * kwnames
[] = {
6354 (char *) "self",(char *) "name",(char *) "type", NULL
6357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6359 if (!SWIG_IsOK(res1
)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6362 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6364 arg2
= wxString_in_helper(obj1
);
6365 if (arg2
== NULL
) SWIG_fail
;
6368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6369 if (!SWIG_IsOK(ecode3
)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6372 arg3
= static_cast< wxBitmapType
>(val3
);
6374 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6394 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6395 PyObject
*resultobj
= 0;
6396 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6397 wxPalette
*result
= 0 ;
6400 PyObject
*swig_obj
[1] ;
6402 if (!args
) SWIG_fail
;
6404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6405 if (!SWIG_IsOK(res1
)) {
6406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6408 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6410 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6420 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
= 0;
6422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6430 PyObject
* obj1
= 0 ;
6431 char * kwnames
[] = {
6432 (char *) "self",(char *) "icon", NULL
6435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6437 if (!SWIG_IsOK(res1
)) {
6438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6440 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6442 if (!SWIG_IsOK(res2
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6448 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6450 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6462 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
*resultobj
= 0;
6464 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6472 char * kwnames
[] = {
6473 (char *) "self",(char *) "height", NULL
6476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6478 if (!SWIG_IsOK(res1
)) {
6479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6483 if (!SWIG_IsOK(ecode2
)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6486 arg2
= static_cast< int >(val2
);
6488 (arg1
)->SetHeight(arg2
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_Py_Void();
6498 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
= 0;
6500 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 char * kwnames
[] = {
6509 (char *) "self",(char *) "width", NULL
6512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6517 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6519 if (!SWIG_IsOK(ecode2
)) {
6520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6522 arg2
= static_cast< int >(val2
);
6524 (arg1
)->SetWidth(arg2
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
= 0;
6536 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6544 char * kwnames
[] = {
6545 (char *) "self",(char *) "depth", NULL
6548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6550 if (!SWIG_IsOK(res1
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6553 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6555 if (!SWIG_IsOK(ecode2
)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6558 arg2
= static_cast< int >(val2
);
6560 (arg1
)->SetDepth(arg2
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_Py_Void();
6570 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
= 0;
6572 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6579 char * kwnames
[] = {
6580 (char *) "self",(char *) "size", NULL
6583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6588 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6591 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6594 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_Py_Void();
6604 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6607 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "other", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6624 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6626 if (!SWIG_IsOK(res2
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6629 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6631 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6643 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
= 0;
6645 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6646 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6654 char * kwnames
[] = {
6655 (char *) "self",(char *) "other", NULL
6658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6665 if (!SWIG_IsOK(res2
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6668 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6670 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6682 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6685 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6686 return SWIG_Py_Void();
6689 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6690 return SWIG_Python_InitShadowInstance(args
);
6693 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
= 0;
6701 wxBitmap
*result
= 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6711 PyObject
* obj3
= 0 ;
6712 char * kwnames
[] = {
6713 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6718 if (!SWIG_IsOK(ecode1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6721 arg1
= static_cast< int >(val1
);
6722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6723 if (!SWIG_IsOK(ecode2
)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6726 arg2
= static_cast< int >(val2
);
6728 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6732 if (obj3
!= Py_None
) {
6733 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6738 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6748 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
= 0;
6754 wxBitmap
*result
= 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 char * kwnames
[] = {
6764 (char *) "width",(char *) "height",(char *) "data", NULL
6767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6769 if (!SWIG_IsOK(ecode1
)) {
6770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6772 arg1
= static_cast< int >(val1
);
6773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6774 if (!SWIG_IsOK(ecode2
)) {
6775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6777 arg2
= static_cast< int >(val2
);
6779 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6783 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6793 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
= 0;
6799 wxBitmap
*result
= 0 ;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6807 PyObject
* obj2
= 0 ;
6808 char * kwnames
[] = {
6809 (char *) "width",(char *) "height",(char *) "data", NULL
6812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6814 if (!SWIG_IsOK(ecode1
)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6817 arg1
= static_cast< int >(val1
);
6818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6819 if (!SWIG_IsOK(ecode2
)) {
6820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6822 arg2
= static_cast< int >(val2
);
6824 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6828 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6838 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6839 PyObject
*resultobj
= 0;
6840 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6844 PyObject
*swig_obj
[1] ;
6846 if (!args
) SWIG_fail
;
6848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6849 if (!SWIG_IsOK(res1
)) {
6850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6852 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6854 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6864 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6865 PyObject
*resultobj
= 0;
6866 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6870 PyObject
*swig_obj
[1] ;
6872 if (!args
) SWIG_fail
;
6874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6875 if (!SWIG_IsOK(res1
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6878 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6880 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_From_int(static_cast< int >(result
));
6890 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6891 PyObject
*resultobj
= 0;
6892 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6896 PyObject
*swig_obj
[1] ;
6898 if (!args
) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6904 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6906 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_From_int(static_cast< int >(result
));
6916 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6917 PyObject
*resultobj
= 0;
6918 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6922 PyObject
*swig_obj
[1] ;
6924 if (!args
) SWIG_fail
;
6926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6927 if (!SWIG_IsOK(res1
)) {
6928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6930 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6932 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6942 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6943 PyObject
*resultobj
= 0;
6944 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6948 PyObject
*swig_obj
[1] ;
6950 if (!args
) SWIG_fail
;
6952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6953 if (!SWIG_IsOK(res1
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6956 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6958 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_From_int(static_cast< int >(result
));
6968 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6971 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6972 return SWIG_Py_Void();
6975 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6976 PyObject
*resultobj
= 0;
6977 wxBitmap
*arg1
= 0 ;
6978 wxNativePixelData
*result
= 0 ;
6982 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6990 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6992 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7002 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7003 PyObject
*resultobj
= 0;
7004 wxBitmap
*arg1
= 0 ;
7006 wxNativePixelData
*result
= 0 ;
7011 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7013 if (!SWIG_IsOK(res1
)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7019 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7022 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7025 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7035 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7036 PyObject
*resultobj
= 0;
7037 wxBitmap
*arg1
= 0 ;
7040 wxNativePixelData
*result
= 0 ;
7046 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7048 if (!SWIG_IsOK(res1
)) {
7049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7057 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7061 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7064 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7074 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7078 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7081 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7084 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7087 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7091 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7096 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7097 PyObject
*resultobj
= 0;
7098 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7101 PyObject
*swig_obj
[1] ;
7103 if (!args
) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7109 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_Py_Void();
7122 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7123 PyObject
*resultobj
= 0;
7124 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7125 wxNativePixelData_Accessor result
;
7128 PyObject
*swig_obj
[1] ;
7130 if (!args
) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7136 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7138 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7148 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 PyObject
*resultobj
= 0;
7150 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7153 PyObject
*swig_obj
[1] ;
7155 if (!args
) SWIG_fail
;
7157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7158 if (!SWIG_IsOK(res1
)) {
7159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7161 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_Py_Void();
7173 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7187 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7189 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7201 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7204 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7205 return SWIG_Py_Void();
7208 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7209 return SWIG_Python_InitShadowInstance(args
);
7212 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7213 PyObject
*resultobj
= 0;
7214 wxNativePixelData
*arg1
= 0 ;
7215 wxNativePixelData_Accessor
*result
= 0 ;
7219 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7221 if (!SWIG_IsOK(res1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7227 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7229 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7239 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7240 PyObject
*resultobj
= 0;
7241 wxBitmap
*arg1
= 0 ;
7242 wxNativePixelData
*arg2
= 0 ;
7243 wxNativePixelData_Accessor
*result
= 0 ;
7249 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7251 if (!SWIG_IsOK(res1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7258 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7259 if (!SWIG_IsOK(res2
)) {
7260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7265 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7267 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7277 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7278 PyObject
*resultobj
= 0;
7279 wxNativePixelData_Accessor
*result
= 0 ;
7281 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7283 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7293 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7300 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7303 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7306 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7310 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7315 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 PyObject
*resultobj
= 0;
7317 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7320 PyObject
*swig_obj
[1] ;
7322 if (!args
) SWIG_fail
;
7324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7325 if (!SWIG_IsOK(res1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7328 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_Py_Void();
7341 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
= 0;
7343 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7344 wxNativePixelData
*arg2
= 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7351 char * kwnames
[] = {
7352 (char *) "self",(char *) "data", NULL
7355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7357 if (!SWIG_IsOK(res1
)) {
7358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7360 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7362 if (!SWIG_IsOK(res2
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7368 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7370 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_Py_Void();
7380 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7381 PyObject
*resultobj
= 0;
7382 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7386 PyObject
*swig_obj
[1] ;
7388 if (!args
) SWIG_fail
;
7390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7391 if (!SWIG_IsOK(res1
)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7394 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7396 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7397 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7408 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7409 PyObject
*resultobj
= 0;
7410 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7413 PyObject
*swig_obj
[1] ;
7415 if (!args
) SWIG_fail
;
7417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7418 if (!SWIG_IsOK(res1
)) {
7419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7421 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7423 wxNativePixelData_Accessor_nextPixel(arg1
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= SWIG_Py_Void();
7433 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
= 0;
7435 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7436 wxNativePixelData
*arg2
= 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 PyObject
* obj2
= 0 ;
7450 PyObject
* obj3
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7460 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7462 if (!SWIG_IsOK(res2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7468 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7470 if (!SWIG_IsOK(ecode3
)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7473 arg3
= static_cast< int >(val3
);
7474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7475 if (!SWIG_IsOK(ecode4
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7478 arg4
= static_cast< int >(val4
);
7480 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_Py_Void();
7490 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
= 0;
7492 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7493 wxNativePixelData
*arg2
= 0 ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7503 PyObject
* obj2
= 0 ;
7504 char * kwnames
[] = {
7505 (char *) "self",(char *) "data",(char *) "x", NULL
7508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7513 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7515 if (!SWIG_IsOK(res2
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7521 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7523 if (!SWIG_IsOK(ecode3
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7526 arg3
= static_cast< int >(val3
);
7528 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_Py_Void();
7538 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
= 0;
7540 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7541 wxNativePixelData
*arg2
= 0 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7552 char * kwnames
[] = {
7553 (char *) "self",(char *) "data",(char *) "y", NULL
7556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7558 if (!SWIG_IsOK(res1
)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7561 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7563 if (!SWIG_IsOK(res2
)) {
7564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7569 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7571 if (!SWIG_IsOK(ecode3
)) {
7572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7574 arg3
= static_cast< int >(val3
);
7576 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= SWIG_Py_Void();
7586 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
= 0;
7588 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7589 wxNativePixelData
*arg2
= 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7603 PyObject
* obj3
= 0 ;
7604 char * kwnames
[] = {
7605 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7613 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7615 if (!SWIG_IsOK(res2
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7621 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7623 if (!SWIG_IsOK(ecode3
)) {
7624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7626 arg3
= static_cast< int >(val3
);
7627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7628 if (!SWIG_IsOK(ecode4
)) {
7629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7631 arg4
= static_cast< int >(val4
);
7633 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_Py_Void();
7643 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
= 0;
7645 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7651 unsigned char val2
;
7653 unsigned char val3
;
7655 unsigned char val4
;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7659 PyObject
* obj2
= 0 ;
7660 PyObject
* obj3
= 0 ;
7661 char * kwnames
[] = {
7662 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7667 if (!SWIG_IsOK(res1
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7670 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7671 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7672 if (!SWIG_IsOK(ecode2
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7675 arg2
= static_cast< byte
>(val2
);
7676 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7677 if (!SWIG_IsOK(ecode3
)) {
7678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7680 arg3
= static_cast< byte
>(val3
);
7681 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7682 if (!SWIG_IsOK(ecode4
)) {
7683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7685 arg4
= static_cast< byte
>(val4
);
7687 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_Py_Void();
7697 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7698 PyObject
*resultobj
= 0;
7699 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7700 PyObject
*result
= 0 ;
7703 PyObject
*swig_obj
[1] ;
7705 if (!args
) SWIG_fail
;
7707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7708 if (!SWIG_IsOK(res1
)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7711 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7713 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7723 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7726 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7727 return SWIG_Py_Void();
7730 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7731 return SWIG_Python_InitShadowInstance(args
);
7734 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7735 PyObject
*resultobj
= 0;
7736 wxBitmap
*arg1
= 0 ;
7737 wxAlphaPixelData
*result
= 0 ;
7741 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7749 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7751 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7761 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7762 PyObject
*resultobj
= 0;
7763 wxBitmap
*arg1
= 0 ;
7765 wxAlphaPixelData
*result
= 0 ;
7770 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7778 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7781 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7784 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7794 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7795 PyObject
*resultobj
= 0;
7796 wxBitmap
*arg1
= 0 ;
7799 wxAlphaPixelData
*result
= 0 ;
7805 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7813 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7816 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7820 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7823 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7833 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7837 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7840 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7843 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7846 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7850 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7855 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 PyObject
*resultobj
= 0;
7857 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7860 PyObject
*swig_obj
[1] ;
7862 if (!args
) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7868 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_Py_Void();
7881 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7882 PyObject
*resultobj
= 0;
7883 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7884 wxAlphaPixelData_Accessor result
;
7887 PyObject
*swig_obj
[1] ;
7889 if (!args
) SWIG_fail
;
7891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7892 if (!SWIG_IsOK(res1
)) {
7893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7895 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7897 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7907 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7908 PyObject
*resultobj
= 0;
7909 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7912 PyObject
*swig_obj
[1] ;
7914 if (!args
) SWIG_fail
;
7916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7917 if (!SWIG_IsOK(res1
)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7920 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_Py_Void();
7932 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7933 PyObject
*resultobj
= 0;
7934 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7938 PyObject
*swig_obj
[1] ;
7940 if (!args
) SWIG_fail
;
7942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7943 if (!SWIG_IsOK(res1
)) {
7944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7946 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7948 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7960 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7963 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7964 return SWIG_Py_Void();
7967 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7968 return SWIG_Python_InitShadowInstance(args
);
7971 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7972 PyObject
*resultobj
= 0;
7973 wxAlphaPixelData
*arg1
= 0 ;
7974 wxAlphaPixelData_Accessor
*result
= 0 ;
7978 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7986 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7988 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7998 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7999 PyObject
*resultobj
= 0;
8000 wxBitmap
*arg1
= 0 ;
8001 wxAlphaPixelData
*arg2
= 0 ;
8002 wxAlphaPixelData_Accessor
*result
= 0 ;
8008 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8010 if (!SWIG_IsOK(res1
)) {
8011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8017 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8018 if (!SWIG_IsOK(res2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8024 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8026 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8036 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8037 PyObject
*resultobj
= 0;
8038 wxAlphaPixelData_Accessor
*result
= 0 ;
8040 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8042 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8052 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8056 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8059 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8062 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8065 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8069 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8074 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8075 PyObject
*resultobj
= 0;
8076 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8079 PyObject
*swig_obj
[1] ;
8081 if (!args
) SWIG_fail
;
8083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8084 if (!SWIG_IsOK(res1
)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8087 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_Py_Void();
8100 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
= 0;
8102 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8103 wxAlphaPixelData
*arg2
= 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 char * kwnames
[] = {
8111 (char *) "self",(char *) "data", NULL
8114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8116 if (!SWIG_IsOK(res1
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8119 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8121 if (!SWIG_IsOK(res2
)) {
8122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8127 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8129 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_Py_Void();
8139 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8140 PyObject
*resultobj
= 0;
8141 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8145 PyObject
*swig_obj
[1] ;
8147 if (!args
) SWIG_fail
;
8149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8150 if (!SWIG_IsOK(res1
)) {
8151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8153 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8155 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8167 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8168 PyObject
*resultobj
= 0;
8169 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8172 PyObject
*swig_obj
[1] ;
8174 if (!args
) SWIG_fail
;
8176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8177 if (!SWIG_IsOK(res1
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8180 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8182 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_Py_Void();
8192 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= 0;
8194 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8195 wxAlphaPixelData
*arg2
= 0 ;
8206 PyObject
* obj0
= 0 ;
8207 PyObject
* obj1
= 0 ;
8208 PyObject
* obj2
= 0 ;
8209 PyObject
* obj3
= 0 ;
8210 char * kwnames
[] = {
8211 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8216 if (!SWIG_IsOK(res1
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8219 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8221 if (!SWIG_IsOK(res2
)) {
8222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8227 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8229 if (!SWIG_IsOK(ecode3
)) {
8230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8232 arg3
= static_cast< int >(val3
);
8233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8234 if (!SWIG_IsOK(ecode4
)) {
8235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8237 arg4
= static_cast< int >(val4
);
8239 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= SWIG_Py_Void();
8249 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
= 0;
8251 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8252 wxAlphaPixelData
*arg2
= 0 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8263 char * kwnames
[] = {
8264 (char *) "self",(char *) "data",(char *) "x", NULL
8267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8272 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8274 if (!SWIG_IsOK(res2
)) {
8275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8280 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8282 if (!SWIG_IsOK(ecode3
)) {
8283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8285 arg3
= static_cast< int >(val3
);
8287 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_Py_Void();
8297 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
= 0;
8299 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8300 wxAlphaPixelData
*arg2
= 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 PyObject
* obj2
= 0 ;
8311 char * kwnames
[] = {
8312 (char *) "self",(char *) "data",(char *) "y", NULL
8315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8317 if (!SWIG_IsOK(res1
)) {
8318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8320 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8322 if (!SWIG_IsOK(res2
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8328 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8330 if (!SWIG_IsOK(ecode3
)) {
8331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8333 arg3
= static_cast< int >(val3
);
8335 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_Py_Void();
8345 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
= 0;
8347 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8348 wxAlphaPixelData
*arg2
= 0 ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8362 PyObject
* obj3
= 0 ;
8363 char * kwnames
[] = {
8364 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8372 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8374 if (!SWIG_IsOK(res2
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8380 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8382 if (!SWIG_IsOK(ecode3
)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8385 arg3
= static_cast< int >(val3
);
8386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8387 if (!SWIG_IsOK(ecode4
)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8390 arg4
= static_cast< int >(val4
);
8392 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_Py_Void();
8402 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
= 0;
8404 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8411 unsigned char val2
;
8413 unsigned char val3
;
8415 unsigned char val4
;
8417 unsigned char val5
;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 PyObject
* obj2
= 0 ;
8422 PyObject
* obj3
= 0 ;
8423 PyObject
* obj4
= 0 ;
8424 char * kwnames
[] = {
8425 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8430 if (!SWIG_IsOK(res1
)) {
8431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8433 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8434 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8435 if (!SWIG_IsOK(ecode2
)) {
8436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8438 arg2
= static_cast< byte
>(val2
);
8439 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8440 if (!SWIG_IsOK(ecode3
)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8443 arg3
= static_cast< byte
>(val3
);
8444 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8445 if (!SWIG_IsOK(ecode4
)) {
8446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8448 arg4
= static_cast< byte
>(val4
);
8449 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8450 if (!SWIG_IsOK(ecode5
)) {
8451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8453 arg5
= static_cast< byte
>(val5
);
8455 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_Py_Void();
8465 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8466 PyObject
*resultobj
= 0;
8467 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8468 PyObject
*result
= 0 ;
8471 PyObject
*swig_obj
[1] ;
8473 if (!args
) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8479 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8481 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8491 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8494 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8495 return SWIG_Py_Void();
8498 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 return SWIG_Python_InitShadowInstance(args
);
8502 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= 0;
8504 wxBitmap
*arg1
= 0 ;
8505 wxColour
const &arg2_defvalue
= wxNullColour
;
8506 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8507 wxMask
*result
= 0 ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8513 char * kwnames
[] = {
8514 (char *) "bitmap",(char *) "colour", NULL
8517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8518 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8519 if (!SWIG_IsOK(res1
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8525 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8529 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8533 if (!wxPyCheckForApp()) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8546 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8547 PyObject
*resultobj
= 0;
8548 wxMask
*arg1
= (wxMask
*) 0 ;
8551 PyObject
*swig_obj
[1] ;
8553 if (!args
) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8559 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_Py_Void();
8572 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8575 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8576 return SWIG_Py_Void();
8579 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8580 return SWIG_Python_InitShadowInstance(args
);
8583 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
= 0;
8585 wxString
*arg1
= 0 ;
8587 int arg3
= (int) -1 ;
8588 int arg4
= (int) -1 ;
8589 wxIcon
*result
= 0 ;
8590 bool temp1
= false ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8599 PyObject
* obj2
= 0 ;
8600 PyObject
* obj3
= 0 ;
8601 char * kwnames
[] = {
8602 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8607 arg1
= wxString_in_helper(obj0
);
8608 if (arg1
== NULL
) SWIG_fail
;
8611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8612 if (!SWIG_IsOK(ecode2
)) {
8613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8615 arg2
= static_cast< wxBitmapType
>(val2
);
8617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8618 if (!SWIG_IsOK(ecode3
)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8621 arg3
= static_cast< int >(val3
);
8624 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8625 if (!SWIG_IsOK(ecode4
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8628 arg4
= static_cast< int >(val4
);
8631 if (!wxPyCheckForApp()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8652 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8653 PyObject
*resultobj
= 0;
8654 wxIcon
*arg1
= (wxIcon
*) 0 ;
8657 PyObject
*swig_obj
[1] ;
8659 if (!args
) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8665 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_Py_Void();
8680 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8681 PyObject
*resultobj
= 0;
8682 wxIcon
*result
= 0 ;
8684 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8686 if (!wxPyCheckForApp()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (wxIcon
*)new wxIcon();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8699 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
= 0;
8701 wxIconLocation
*arg1
= 0 ;
8702 wxIcon
*result
= 0 ;
8705 PyObject
* obj0
= 0 ;
8706 char * kwnames
[] = {
8707 (char *) "loc", NULL
8710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8711 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8712 if (!SWIG_IsOK(res1
)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8718 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8720 if (!wxPyCheckForApp()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8733 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
= 0;
8735 wxBitmap
*arg1
= 0 ;
8736 wxIcon
*result
= 0 ;
8739 PyObject
* obj0
= 0 ;
8740 char * kwnames
[] = {
8741 (char *) "bmp", NULL
8744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8745 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8746 if (!SWIG_IsOK(res1
)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8752 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8754 if (!wxPyCheckForApp()) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8767 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= 0;
8769 PyObject
*arg1
= (PyObject
*) 0 ;
8770 wxIcon
*result
= 0 ;
8771 PyObject
* obj0
= 0 ;
8772 char * kwnames
[] = {
8773 (char *) "listOfStrings", NULL
8776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8779 if (!wxPyCheckForApp()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxIcon
*)new_wxIcon(arg1
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8792 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8793 PyObject
*resultobj
= 0;
8794 wxIcon
*arg1
= (wxIcon
*) 0 ;
8798 PyObject
*swig_obj
[1] ;
8800 if (!args
) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8806 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (bool)(arg1
)->Ok();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 PyObject
*resultobj
= 0;
8824 wxIcon
*arg1
= (wxIcon
*) 0 ;
8828 PyObject
*swig_obj
[1] ;
8830 if (!args
) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8836 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (int)(arg1
)->GetWidth();
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_From_int(static_cast< int >(result
));
8850 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8851 PyObject
*resultobj
= 0;
8852 wxIcon
*arg1
= (wxIcon
*) 0 ;
8856 PyObject
*swig_obj
[1] ;
8858 if (!args
) SWIG_fail
;
8860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8861 if (!SWIG_IsOK(res1
)) {
8862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8864 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (int)(arg1
)->GetHeight();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_From_int(static_cast< int >(result
));
8878 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8879 PyObject
*resultobj
= 0;
8880 wxIcon
*arg1
= (wxIcon
*) 0 ;
8884 PyObject
*swig_obj
[1] ;
8886 if (!args
) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8892 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (int)(arg1
)->GetDepth();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_From_int(static_cast< int >(result
));
8906 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxIcon
*arg1
= (wxIcon
*) 0 ;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8916 char * kwnames
[] = {
8917 (char *) "self",(char *) "w", NULL
8920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8922 if (!SWIG_IsOK(res1
)) {
8923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8925 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8927 if (!SWIG_IsOK(ecode2
)) {
8928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8930 arg2
= static_cast< int >(val2
);
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetWidth(arg2
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_Py_Void();
8944 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxIcon
*arg1
= (wxIcon
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "self",(char *) "h", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8963 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8965 if (!SWIG_IsOK(ecode2
)) {
8966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8968 arg2
= static_cast< int >(val2
);
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 (arg1
)->SetHeight(arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= SWIG_Py_Void();
8982 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
= 0;
8984 wxIcon
*arg1
= (wxIcon
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 char * kwnames
[] = {
8993 (char *) "self",(char *) "d", NULL
8996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8998 if (!SWIG_IsOK(res1
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9001 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9003 if (!SWIG_IsOK(ecode2
)) {
9004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9006 arg2
= static_cast< int >(val2
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 (arg1
)->SetDepth(arg2
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_Py_Void();
9020 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
= 0;
9022 wxIcon
*arg1
= (wxIcon
*) 0 ;
9023 wxBitmap
*arg2
= 0 ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 char * kwnames
[] = {
9031 (char *) "self",(char *) "bmp", NULL
9034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9036 if (!SWIG_IsOK(res1
)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9039 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9041 if (!SWIG_IsOK(res2
)) {
9042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9047 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_Py_Void();
9061 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9064 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9065 return SWIG_Py_Void();
9068 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9069 return SWIG_Python_InitShadowInstance(args
);
9072 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
= 0;
9074 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9075 int arg2
= (int) 0 ;
9076 wxIconLocation
*result
= 0 ;
9077 bool temp1
= false ;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 char * kwnames
[] = {
9083 (char *) "filename",(char *) "num", NULL
9086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9089 arg1
= wxString_in_helper(obj0
);
9090 if (arg1
== NULL
) SWIG_fail
;
9095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9096 if (!SWIG_IsOK(ecode2
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9099 arg2
= static_cast< int >(val2
);
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9122 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 PyObject
*resultobj
= 0;
9124 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9127 PyObject
*swig_obj
[1] ;
9129 if (!args
) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9135 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_Py_Void();
9150 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9151 PyObject
*resultobj
= 0;
9152 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9156 PyObject
*swig_obj
[1] ;
9158 if (!args
) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9164 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9180 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
= 0;
9182 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9183 wxString
*arg2
= 0 ;
9186 bool temp2
= false ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9189 char * kwnames
[] = {
9190 (char *) "self",(char *) "filename", NULL
9193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9195 if (!SWIG_IsOK(res1
)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9198 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9200 arg2
= wxString_in_helper(obj1
);
9201 if (arg2
== NULL
) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 (arg1
)->SetFileName((wxString
const &)*arg2
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_Py_Void();
9225 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 PyObject
*resultobj
= 0;
9227 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9228 wxString
*result
= 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9239 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9244 result
= (wxString
*) &_result_ref
;
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9253 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9262 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
= 0;
9264 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "num", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9281 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9283 if (!SWIG_IsOK(ecode2
)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9286 arg2
= static_cast< int >(val2
);
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 wxIconLocation_SetIndex(arg1
,arg2
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_Py_Void();
9300 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9301 PyObject
*resultobj
= 0;
9302 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9314 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (int)wxIconLocation_GetIndex(arg1
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_From_int(static_cast< int >(result
));
9328 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9331 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9332 return SWIG_Py_Void();
9335 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9336 return SWIG_Python_InitShadowInstance(args
);
9339 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxIconBundle
*result
= 0 ;
9343 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (wxIconBundle
*)new wxIconBundle();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9357 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxString
*arg1
= 0 ;
9361 wxIconBundle
*result
= 0 ;
9362 bool temp1
= false ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "file",(char *) "type", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9373 arg1
= wxString_in_helper(obj0
);
9374 if (arg1
== NULL
) SWIG_fail
;
9377 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9378 if (!SWIG_IsOK(ecode2
)) {
9379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9381 arg2
= static_cast< long >(val2
);
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9403 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
= 0;
9406 wxIconBundle
*result
= 0 ;
9409 PyObject
* obj0
= 0 ;
9410 char * kwnames
[] = {
9411 (char *) "icon", NULL
9414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9415 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9416 if (!SWIG_IsOK(res1
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9422 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9436 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9437 PyObject
*resultobj
= 0;
9438 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9441 PyObject
*swig_obj
[1] ;
9443 if (!args
) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9449 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_Py_Void();
9464 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
= 0;
9466 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 char * kwnames
[] = {
9475 (char *) "self",(char *) "icon", NULL
9478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9483 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9485 if (!SWIG_IsOK(res2
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9491 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_Py_Void();
9505 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
= 0;
9507 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9508 wxString
*arg2
= 0 ;
9512 bool temp2
= false ;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9517 PyObject
* obj2
= 0 ;
9518 char * kwnames
[] = {
9519 (char *) "self",(char *) "file",(char *) "type", NULL
9522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9524 if (!SWIG_IsOK(res1
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9527 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9529 arg2
= wxString_in_helper(obj1
);
9530 if (arg2
== NULL
) SWIG_fail
;
9533 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9534 if (!SWIG_IsOK(ecode3
)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9537 arg3
= static_cast< long >(val3
);
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_Py_Void();
9559 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
= 0;
9561 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9563 wxIcon
*result
= 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 char * kwnames
[] = {
9570 (char *) "self",(char *) "size", NULL
9573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9575 if (!SWIG_IsOK(res1
)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9578 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9581 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9587 result
= (wxIcon
*) &_result_ref
;
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 wxIcon
* resultptr
= new wxIcon(*result
);
9594 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9602 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9605 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9606 return SWIG_Py_Void();
9609 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9610 return SWIG_Python_InitShadowInstance(args
);
9613 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
= 0;
9615 wxString
*arg1
= 0 ;
9617 int arg3
= (int) 0 ;
9618 int arg4
= (int) 0 ;
9619 wxCursor
*result
= 0 ;
9620 bool temp1
= false ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 PyObject
* obj2
= 0 ;
9630 PyObject
* obj3
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9637 arg1
= wxString_in_helper(obj0
);
9638 if (arg1
== NULL
) SWIG_fail
;
9641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9642 if (!SWIG_IsOK(ecode2
)) {
9643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9645 arg2
= static_cast< long >(val2
);
9647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9648 if (!SWIG_IsOK(ecode3
)) {
9649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9651 arg3
= static_cast< int >(val3
);
9654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9655 if (!SWIG_IsOK(ecode4
)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9658 arg4
= static_cast< int >(val4
);
9661 if (!wxPyCheckForApp()) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9682 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9683 PyObject
*resultobj
= 0;
9684 wxCursor
*arg1
= (wxCursor
*) 0 ;
9687 PyObject
*swig_obj
[1] ;
9689 if (!args
) SWIG_fail
;
9691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9692 if (!SWIG_IsOK(res1
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9695 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_Py_Void();
9710 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
= 0;
9713 wxCursor
*result
= 0 ;
9716 PyObject
* obj0
= 0 ;
9717 char * kwnames
[] = {
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9723 if (!SWIG_IsOK(ecode1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9726 arg1
= static_cast< int >(val1
);
9728 if (!wxPyCheckForApp()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (wxCursor
*)new wxCursor(arg1
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9741 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
= 0;
9744 wxCursor
*result
= 0 ;
9747 PyObject
* obj0
= 0 ;
9748 char * kwnames
[] = {
9749 (char *) "image", NULL
9752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9760 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9762 if (!wxPyCheckForApp()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9775 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9776 PyObject
*resultobj
= 0;
9777 wxCursor
*arg1
= (wxCursor
*) 0 ;
9781 PyObject
*swig_obj
[1] ;
9783 if (!args
) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9789 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (bool)(arg1
)->Ok();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9805 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9808 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9809 return SWIG_Py_Void();
9812 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9813 return SWIG_Python_InitShadowInstance(args
);
9816 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
= 0;
9818 int arg1
= (int) 0 ;
9819 int arg2
= (int) 0 ;
9820 int arg3
= (int) 0 ;
9821 int arg4
= (int) 0 ;
9822 wxRegion
*result
= 0 ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9833 PyObject
* obj2
= 0 ;
9834 PyObject
* obj3
= 0 ;
9835 char * kwnames
[] = {
9836 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9842 if (!SWIG_IsOK(ecode1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9845 arg1
= static_cast< int >(val1
);
9848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9849 if (!SWIG_IsOK(ecode2
)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9852 arg2
= static_cast< int >(val2
);
9855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9856 if (!SWIG_IsOK(ecode3
)) {
9857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9859 arg3
= static_cast< int >(val3
);
9862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9863 if (!SWIG_IsOK(ecode4
)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9866 arg4
= static_cast< int >(val4
);
9869 if (!wxPyCheckForApp()) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9882 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= 0;
9884 wxBitmap
*arg1
= 0 ;
9885 wxRegion
*result
= 0 ;
9888 PyObject
* obj0
= 0 ;
9889 char * kwnames
[] = {
9890 (char *) "bmp", NULL
9893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9895 if (!SWIG_IsOK(res1
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9901 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9903 if (!wxPyCheckForApp()) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9916 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
= 0;
9918 wxBitmap
*arg1
= 0 ;
9919 wxColour
*arg2
= 0 ;
9920 int arg3
= (int) 0 ;
9921 wxRegion
*result
= 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9929 PyObject
* obj2
= 0 ;
9930 char * kwnames
[] = {
9931 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9935 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9936 if (!SWIG_IsOK(res1
)) {
9937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9942 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9949 if (!SWIG_IsOK(ecode3
)) {
9950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9952 arg3
= static_cast< int >(val3
);
9955 if (!wxPyCheckForApp()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9968 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
= 0;
9971 wxPoint
*arg2
= (wxPoint
*) 0 ;
9972 int arg3
= (int) wxWINDING_RULE
;
9973 wxRegion
*result
= 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9978 char * kwnames
[] = {
9979 (char *) "points",(char *) "fillStyle", NULL
9982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9984 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
9985 if (arg2
== NULL
) SWIG_fail
;
9988 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
9989 if (!SWIG_IsOK(ecode3
)) {
9990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
9992 arg3
= static_cast< int >(val3
);
9995 if (!wxPyCheckForApp()) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10003 if (arg2
) delete [] arg2
;
10008 if (arg2
) delete [] arg2
;
10014 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10015 PyObject
*resultobj
= 0;
10016 wxRegion
*arg1
= (wxRegion
*) 0 ;
10019 PyObject
*swig_obj
[1] ;
10021 if (!args
) SWIG_fail
;
10022 swig_obj
[0] = args
;
10023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10024 if (!SWIG_IsOK(res1
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10027 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_Py_Void();
10042 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10043 PyObject
*resultobj
= 0;
10044 wxRegion
*arg1
= (wxRegion
*) 0 ;
10047 PyObject
*swig_obj
[1] ;
10049 if (!args
) SWIG_fail
;
10050 swig_obj
[0] = args
;
10051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_Py_Void();
10069 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= 0;
10071 wxRegion
*arg1
= (wxRegion
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 PyObject
* obj2
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "x",(char *) "y", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10093 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10100 if (!SWIG_IsOK(ecode3
)) {
10101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10103 arg3
= static_cast< int >(val3
);
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10119 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
= 0;
10121 wxRegion
*arg1
= (wxRegion
*) 0 ;
10124 wxRegionContain result
;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 PyObject
* obj2
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "self",(char *) "x",(char *) "y", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10140 if (!SWIG_IsOK(res1
)) {
10141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10143 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10145 if (!SWIG_IsOK(ecode2
)) {
10146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10148 arg2
= static_cast< int >(val2
);
10149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10150 if (!SWIG_IsOK(ecode3
)) {
10151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10153 arg3
= static_cast< int >(val3
);
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= SWIG_From_int(static_cast< int >(result
));
10167 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
= 0;
10169 wxRegion
*arg1
= (wxRegion
*) 0 ;
10170 wxPoint
*arg2
= 0 ;
10171 wxRegionContain result
;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 char * kwnames
[] = {
10178 (char *) "self",(char *) "pt", NULL
10181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10186 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_From_int(static_cast< int >(result
));
10204 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxRegion
*arg1
= (wxRegion
*) 0 ;
10208 wxRegionContain result
;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 char * kwnames
[] = {
10215 (char *) "self",(char *) "rect", NULL
10218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10223 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10226 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_From_int(static_cast< int >(result
));
10241 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
= 0;
10243 wxRegion
*arg1
= (wxRegion
*) 0 ;
10248 wxRegionContain result
;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 PyObject
* obj2
= 0 ;
10262 PyObject
* obj3
= 0 ;
10263 PyObject
* obj4
= 0 ;
10264 char * kwnames
[] = {
10265 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10270 if (!SWIG_IsOK(res1
)) {
10271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10273 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10275 if (!SWIG_IsOK(ecode2
)) {
10276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10278 arg2
= static_cast< int >(val2
);
10279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10280 if (!SWIG_IsOK(ecode3
)) {
10281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10283 arg3
= static_cast< int >(val3
);
10284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10285 if (!SWIG_IsOK(ecode4
)) {
10286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10288 arg4
= static_cast< int >(val4
);
10289 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10290 if (!SWIG_IsOK(ecode5
)) {
10291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10293 arg5
= static_cast< int >(val5
);
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_From_int(static_cast< int >(result
));
10307 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 PyObject
*resultobj
= 0;
10309 wxRegion
*arg1
= (wxRegion
*) 0 ;
10313 PyObject
*swig_obj
[1] ;
10315 if (!args
) SWIG_fail
;
10316 swig_obj
[0] = args
;
10317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10321 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (arg1
)->GetBox();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10335 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 wxRegion
*arg1
= (wxRegion
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 PyObject
* obj3
= 0 ;
10357 PyObject
* obj4
= 0 ;
10358 char * kwnames
[] = {
10359 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10364 if (!SWIG_IsOK(res1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10367 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10369 if (!SWIG_IsOK(ecode2
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10372 arg2
= static_cast< int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10379 if (!SWIG_IsOK(ecode4
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10382 arg4
= static_cast< int >(val4
);
10383 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10384 if (!SWIG_IsOK(ecode5
)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10387 arg5
= static_cast< int >(val5
);
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10403 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxRegion
*arg1
= (wxRegion
*) 0 ;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 char * kwnames
[] = {
10414 (char *) "self",(char *) "rect", NULL
10417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10419 if (!SWIG_IsOK(res1
)) {
10420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10422 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10442 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
= 0;
10444 wxRegion
*arg1
= (wxRegion
*) 0 ;
10445 wxRegion
*arg2
= 0 ;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 char * kwnames
[] = {
10454 (char *) "self",(char *) "region", NULL
10457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10459 if (!SWIG_IsOK(res1
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10462 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10464 if (!SWIG_IsOK(res2
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10470 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10486 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxRegion
*arg1
= (wxRegion
*) 0 ;
10492 PyObject
*swig_obj
[1] ;
10494 if (!args
) SWIG_fail
;
10495 swig_obj
[0] = args
;
10496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10500 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (bool)(arg1
)->IsEmpty();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10516 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
= 0;
10518 wxRegion
*arg1
= (wxRegion
*) 0 ;
10519 wxRegion
*arg2
= 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char * kwnames
[] = {
10528 (char *) "self",(char *) "region", NULL
10531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10536 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10538 if (!SWIG_IsOK(res2
)) {
10539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10544 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10560 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
= 0;
10562 wxRegion
*arg1
= (wxRegion
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 PyObject
* obj2
= 0 ;
10581 PyObject
* obj3
= 0 ;
10582 PyObject
* obj4
= 0 ;
10583 char * kwnames
[] = {
10584 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10592 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10594 if (!SWIG_IsOK(ecode2
)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10597 arg2
= static_cast< int >(val2
);
10598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10599 if (!SWIG_IsOK(ecode3
)) {
10600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10602 arg3
= static_cast< int >(val3
);
10603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10604 if (!SWIG_IsOK(ecode4
)) {
10605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10607 arg4
= static_cast< int >(val4
);
10608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10609 if (!SWIG_IsOK(ecode5
)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10612 arg5
= static_cast< int >(val5
);
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10628 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
= 0;
10630 wxRegion
*arg1
= (wxRegion
*) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 PyObject
* obj1
= 0 ;
10638 char * kwnames
[] = {
10639 (char *) "self",(char *) "rect", NULL
10642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10644 if (!SWIG_IsOK(res1
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10647 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10667 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxRegion
*arg1
= (wxRegion
*) 0 ;
10670 wxRegion
*arg2
= 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "region", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10687 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10689 if (!SWIG_IsOK(res2
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10695 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10711 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
= 0;
10713 wxRegion
*arg1
= (wxRegion
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 PyObject
* obj2
= 0 ;
10732 PyObject
* obj3
= 0 ;
10733 PyObject
* obj4
= 0 ;
10734 char * kwnames
[] = {
10735 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10740 if (!SWIG_IsOK(res1
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10743 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10745 if (!SWIG_IsOK(ecode2
)) {
10746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10748 arg2
= static_cast< int >(val2
);
10749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10750 if (!SWIG_IsOK(ecode3
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10753 arg3
= static_cast< int >(val3
);
10754 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10755 if (!SWIG_IsOK(ecode4
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10758 arg4
= static_cast< int >(val4
);
10759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10760 if (!SWIG_IsOK(ecode5
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10763 arg5
= static_cast< int >(val5
);
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10779 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
= 0;
10781 wxRegion
*arg1
= (wxRegion
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "rect", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10798 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10801 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10818 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
= 0;
10820 wxRegion
*arg1
= (wxRegion
*) 0 ;
10821 wxRegion
*arg2
= 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char * kwnames
[] = {
10830 (char *) "self",(char *) "region", NULL
10833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10838 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10840 if (!SWIG_IsOK(res2
)) {
10841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10846 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10862 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
= 0;
10864 wxRegion
*arg1
= (wxRegion
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 PyObject
* obj3
= 0 ;
10884 PyObject
* obj4
= 0 ;
10885 char * kwnames
[] = {
10886 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10891 if (!SWIG_IsOK(res1
)) {
10892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10894 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10896 if (!SWIG_IsOK(ecode2
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10899 arg2
= static_cast< int >(val2
);
10900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10901 if (!SWIG_IsOK(ecode3
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10904 arg3
= static_cast< int >(val3
);
10905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10906 if (!SWIG_IsOK(ecode4
)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10909 arg4
= static_cast< int >(val4
);
10910 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10911 if (!SWIG_IsOK(ecode5
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10914 arg5
= static_cast< int >(val5
);
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10930 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 wxRegion
*arg1
= (wxRegion
*) 0 ;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "rect", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10949 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10952 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
= 0;
10971 wxRegion
*arg1
= (wxRegion
*) 0 ;
10972 wxRegion
*arg2
= 0 ;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 char * kwnames
[] = {
10981 (char *) "self",(char *) "region", NULL
10984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10986 if (!SWIG_IsOK(res1
)) {
10987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10989 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10991 if (!SWIG_IsOK(res2
)) {
10992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10997 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11014 PyObject
*resultobj
= 0;
11015 wxRegion
*arg1
= (wxRegion
*) 0 ;
11016 SwigValueWrapper
<wxBitmap
> result
;
11019 PyObject
*swig_obj
[1] ;
11021 if (!args
) SWIG_fail
;
11022 swig_obj
[0] = args
;
11023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11024 if (!SWIG_IsOK(res1
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11027 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (arg1
)->ConvertToBitmap();
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11041 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxRegion
*arg1
= (wxRegion
*) 0 ;
11044 wxBitmap
*arg2
= 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char * kwnames
[] = {
11053 (char *) "self",(char *) "bmp", NULL
11056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11058 if (!SWIG_IsOK(res1
)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11061 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11063 if (!SWIG_IsOK(res2
)) {
11064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11069 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11085 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
= 0;
11087 wxRegion
*arg1
= (wxRegion
*) 0 ;
11088 wxBitmap
*arg2
= 0 ;
11089 wxColour
*arg3
= 0 ;
11090 int arg4
= (int) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 PyObject
* obj2
= 0 ;
11102 PyObject
* obj3
= 0 ;
11103 char * kwnames
[] = {
11104 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11109 if (!SWIG_IsOK(res1
)) {
11110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11112 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11114 if (!SWIG_IsOK(res2
)) {
11115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11120 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11123 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11127 if (!SWIG_IsOK(ecode4
)) {
11128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11130 arg4
= static_cast< int >(val4
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11150 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11151 return SWIG_Py_Void();
11154 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11155 return SWIG_Python_InitShadowInstance(args
);
11158 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
= 0;
11160 wxRegion
*arg1
= 0 ;
11161 wxRegionIterator
*result
= 0 ;
11164 PyObject
* obj0
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "region", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11177 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11179 if (!wxPyCheckForApp()) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11192 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11193 PyObject
*resultobj
= 0;
11194 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11197 PyObject
*swig_obj
[1] ;
11199 if (!args
) SWIG_fail
;
11200 swig_obj
[0] = args
;
11201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11205 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= SWIG_Py_Void();
11220 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11221 PyObject
*resultobj
= 0;
11222 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11226 PyObject
*swig_obj
[1] ;
11228 if (!args
) SWIG_fail
;
11229 swig_obj
[0] = args
;
11230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11231 if (!SWIG_IsOK(res1
)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11234 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (int)(arg1
)->GetX();
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_From_int(static_cast< int >(result
));
11248 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11249 PyObject
*resultobj
= 0;
11250 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11254 PyObject
*swig_obj
[1] ;
11256 if (!args
) SWIG_fail
;
11257 swig_obj
[0] = args
;
11258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11259 if (!SWIG_IsOK(res1
)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11262 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (int)(arg1
)->GetY();
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= SWIG_From_int(static_cast< int >(result
));
11276 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11277 PyObject
*resultobj
= 0;
11278 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11282 PyObject
*swig_obj
[1] ;
11284 if (!args
) SWIG_fail
;
11285 swig_obj
[0] = args
;
11286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11287 if (!SWIG_IsOK(res1
)) {
11288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11290 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (int)(arg1
)->GetW();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= SWIG_From_int(static_cast< int >(result
));
11304 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11305 PyObject
*resultobj
= 0;
11306 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11310 PyObject
*swig_obj
[1] ;
11312 if (!args
) SWIG_fail
;
11313 swig_obj
[0] = args
;
11314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11315 if (!SWIG_IsOK(res1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11318 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (int)(arg1
)->GetWidth();
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= SWIG_From_int(static_cast< int >(result
));
11332 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11333 PyObject
*resultobj
= 0;
11334 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11338 PyObject
*swig_obj
[1] ;
11340 if (!args
) SWIG_fail
;
11341 swig_obj
[0] = args
;
11342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11343 if (!SWIG_IsOK(res1
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11346 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (int)(arg1
)->GetH();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= SWIG_From_int(static_cast< int >(result
));
11360 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11361 PyObject
*resultobj
= 0;
11362 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11366 PyObject
*swig_obj
[1] ;
11368 if (!args
) SWIG_fail
;
11369 swig_obj
[0] = args
;
11370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11374 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (int)(arg1
)->GetHeight();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_From_int(static_cast< int >(result
));
11388 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11389 PyObject
*resultobj
= 0;
11390 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11394 PyObject
*swig_obj
[1] ;
11396 if (!args
) SWIG_fail
;
11397 swig_obj
[0] = args
;
11398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11399 if (!SWIG_IsOK(res1
)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11402 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (arg1
)->GetRect();
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11416 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11417 PyObject
*resultobj
= 0;
11418 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11422 PyObject
*swig_obj
[1] ;
11424 if (!args
) SWIG_fail
;
11425 swig_obj
[0] = args
;
11426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11427 if (!SWIG_IsOK(res1
)) {
11428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11430 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (bool)(arg1
)->HaveRects();
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 PyObject
*resultobj
= 0;
11448 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11451 PyObject
*swig_obj
[1] ;
11453 if (!args
) SWIG_fail
;
11454 swig_obj
[0] = args
;
11455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11459 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_Py_Void();
11473 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11474 PyObject
*resultobj
= 0;
11475 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11478 PyObject
*swig_obj
[1] ;
11480 if (!args
) SWIG_fail
;
11481 swig_obj
[0] = args
;
11482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11483 if (!SWIG_IsOK(res1
)) {
11484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11486 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 wxRegionIterator_Next(arg1
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_Py_Void();
11500 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11501 PyObject
*resultobj
= 0;
11502 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11506 PyObject
*swig_obj
[1] ;
11508 if (!args
) SWIG_fail
;
11509 swig_obj
[0] = args
;
11510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11511 if (!SWIG_IsOK(res1
)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11514 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11530 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11533 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11534 return SWIG_Py_Void();
11537 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11538 return SWIG_Python_InitShadowInstance(args
);
11541 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11542 PyObject
*resultobj
= 0;
11543 wxNativeFontInfo
*result
= 0 ;
11545 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11559 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11560 PyObject
*resultobj
= 0;
11561 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11564 PyObject
*swig_obj
[1] ;
11566 if (!args
) SWIG_fail
;
11567 swig_obj
[0] = args
;
11568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11569 if (!SWIG_IsOK(res1
)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11572 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_Py_Void();
11587 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11588 PyObject
*resultobj
= 0;
11589 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11592 PyObject
*swig_obj
[1] ;
11594 if (!args
) SWIG_fail
;
11595 swig_obj
[0] = args
;
11596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11600 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_Py_Void();
11614 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
= 0;
11616 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 char * kwnames
[] = {
11625 (char *) "self",(char *) "font", NULL
11628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11630 if (!SWIG_IsOK(res1
)) {
11631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11633 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11635 if (!SWIG_IsOK(res2
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11641 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_Py_Void();
11655 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11661 PyObject
*swig_obj
[1] ;
11663 if (!args
) SWIG_fail
;
11664 swig_obj
[0] = args
;
11665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11669 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11686 wxFontStyle result
;
11689 PyObject
*swig_obj
[1] ;
11691 if (!args
) SWIG_fail
;
11692 swig_obj
[0] = args
;
11693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11694 if (!SWIG_IsOK(res1
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11697 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_From_int(static_cast< int >(result
));
11711 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 PyObject
*resultobj
= 0;
11713 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11714 wxFontWeight result
;
11717 PyObject
*swig_obj
[1] ;
11719 if (!args
) SWIG_fail
;
11720 swig_obj
[0] = args
;
11721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11722 if (!SWIG_IsOK(res1
)) {
11723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11725 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_From_int(static_cast< int >(result
));
11739 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(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_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11753 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11769 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11770 PyObject
*resultobj
= 0;
11771 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11775 PyObject
*swig_obj
[1] ;
11777 if (!args
) SWIG_fail
;
11778 swig_obj
[0] = args
;
11779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11803 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11804 PyObject
*resultobj
= 0;
11805 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11806 wxFontFamily result
;
11809 PyObject
*swig_obj
[1] ;
11811 if (!args
) SWIG_fail
;
11812 swig_obj
[0] = args
;
11813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11814 if (!SWIG_IsOK(res1
)) {
11815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11817 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= SWIG_From_int(static_cast< int >(result
));
11831 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11832 PyObject
*resultobj
= 0;
11833 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11834 wxFontEncoding result
;
11837 PyObject
*swig_obj
[1] ;
11839 if (!args
) SWIG_fail
;
11840 swig_obj
[0] = args
;
11841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11845 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_From_int(static_cast< int >(result
));
11859 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
= 0;
11861 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char * kwnames
[] = {
11870 (char *) "self",(char *) "pointsize", NULL
11873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11878 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11880 if (!SWIG_IsOK(ecode2
)) {
11881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11883 arg2
= static_cast< int >(val2
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->SetPointSize(arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_Py_Void();
11897 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
= 0;
11899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 char * kwnames
[] = {
11908 (char *) "self",(char *) "style", NULL
11911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11916 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11918 if (!SWIG_IsOK(ecode2
)) {
11919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11921 arg2
= static_cast< wxFontStyle
>(val2
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetStyle(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11935 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
= 0;
11937 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11938 wxFontWeight arg2
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 char * kwnames
[] = {
11946 (char *) "self",(char *) "weight", NULL
11949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11951 if (!SWIG_IsOK(res1
)) {
11952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11954 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11956 if (!SWIG_IsOK(ecode2
)) {
11957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11959 arg2
= static_cast< wxFontWeight
>(val2
);
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->SetWeight(arg2
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_Py_Void();
11973 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
= 0;
11975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11981 PyObject
* obj0
= 0 ;
11982 PyObject
* obj1
= 0 ;
11983 char * kwnames
[] = {
11984 (char *) "self",(char *) "underlined", NULL
11987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11989 if (!SWIG_IsOK(res1
)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11992 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11993 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11994 if (!SWIG_IsOK(ecode2
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11997 arg2
= static_cast< bool >(val2
);
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 (arg1
)->SetUnderlined(arg2
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_Py_Void();
12011 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
= 0;
12013 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char * kwnames
[] = {
12021 (char *) "self",(char *) "facename", NULL
12024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12026 if (!SWIG_IsOK(res1
)) {
12027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12029 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12031 wxString
* sptr
= wxString_in_helper(obj1
);
12032 if (sptr
== NULL
) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (bool)(arg1
)->SetFaceName(arg2
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12051 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
= 0;
12053 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12054 wxFontFamily arg2
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char * kwnames
[] = {
12062 (char *) "self",(char *) "family", NULL
12065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12070 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12072 if (!SWIG_IsOK(ecode2
)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12075 arg2
= static_cast< wxFontFamily
>(val2
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetFamily(arg2
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
= 0;
12091 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12092 wxFontEncoding arg2
;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char * kwnames
[] = {
12100 (char *) "self",(char *) "encoding", NULL
12103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12108 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12110 if (!SWIG_IsOK(ecode2
)) {
12111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12113 arg2
= static_cast< wxFontEncoding
>(val2
);
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->SetEncoding(arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_Py_Void();
12127 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
= 0;
12129 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12130 wxString
*arg2
= 0 ;
12134 bool temp2
= false ;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "self",(char *) "s", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12146 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12148 arg2
= wxString_in_helper(obj1
);
12149 if (arg2
== NULL
) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12175 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12176 PyObject
*resultobj
= 0;
12177 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12181 PyObject
*swig_obj
[1] ;
12183 if (!args
) SWIG_fail
;
12184 swig_obj
[0] = args
;
12185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12186 if (!SWIG_IsOK(res1
)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12189 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12209 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12223 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= wxNativeFontInfo___str__(arg1
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12243 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
= 0;
12245 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12246 wxString
*arg2
= 0 ;
12250 bool temp2
= false ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 char * kwnames
[] = {
12254 (char *) "self",(char *) "s", NULL
12257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12259 if (!SWIG_IsOK(res1
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12262 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12264 arg2
= wxString_in_helper(obj1
);
12265 if (arg2
== NULL
) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12291 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12292 PyObject
*resultobj
= 0;
12293 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12297 PyObject
*swig_obj
[1] ;
12299 if (!args
) SWIG_fail
;
12300 swig_obj
[0] = args
;
12301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12302 if (!SWIG_IsOK(res1
)) {
12303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12305 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12325 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12328 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12329 return SWIG_Py_Void();
12332 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 return SWIG_Python_InitShadowInstance(args
);
12336 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 PyObject
*resultobj
= 0;
12338 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12339 wxString
*arg2
= (wxString
*) 0 ;
12342 bool temp2
= false ;
12343 PyObject
*swig_obj
[2] ;
12345 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12350 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12352 arg2
= wxString_in_helper(swig_obj
[1]);
12353 if (arg2
== NULL
) SWIG_fail
;
12356 if (arg1
) (arg1
)->facename
= *arg2
;
12358 resultobj
= SWIG_Py_Void();
12373 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12374 PyObject
*resultobj
= 0;
12375 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12376 wxString
*result
= 0 ;
12379 PyObject
*swig_obj
[1] ;
12381 if (!args
) SWIG_fail
;
12382 swig_obj
[0] = args
;
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_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12387 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12388 result
= (wxString
*)& ((arg1
)->facename
);
12391 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12393 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12402 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 PyObject
*resultobj
= 0;
12404 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12405 wxFontEncoding arg2
;
12410 PyObject
*swig_obj
[2] ;
12412 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12417 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12418 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12419 if (!SWIG_IsOK(ecode2
)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12422 arg2
= static_cast< wxFontEncoding
>(val2
);
12423 if (arg1
) (arg1
)->encoding
= arg2
;
12425 resultobj
= SWIG_Py_Void();
12432 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12433 PyObject
*resultobj
= 0;
12434 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12435 wxFontEncoding result
;
12438 PyObject
*swig_obj
[1] ;
12440 if (!args
) SWIG_fail
;
12441 swig_obj
[0] = args
;
12442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12443 if (!SWIG_IsOK(res1
)) {
12444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12446 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12447 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12448 resultobj
= SWIG_From_int(static_cast< int >(result
));
12455 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12456 PyObject
*resultobj
= 0;
12457 wxNativeEncodingInfo
*result
= 0 ;
12459 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12473 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12486 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_Py_Void();
12501 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
= 0;
12503 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12504 wxString
*arg2
= 0 ;
12508 bool temp2
= false ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char * kwnames
[] = {
12512 (char *) "self",(char *) "s", NULL
12515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12517 if (!SWIG_IsOK(res1
)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12520 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12522 arg2
= wxString_in_helper(obj1
);
12523 if (arg2
== NULL
) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12549 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12550 PyObject
*resultobj
= 0;
12551 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12555 PyObject
*swig_obj
[1] ;
12557 if (!args
) SWIG_fail
;
12558 swig_obj
[0] = args
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12563 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12583 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12586 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12587 return SWIG_Py_Void();
12590 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12591 return SWIG_Python_InitShadowInstance(args
);
12594 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
= 0;
12596 wxFontEncoding arg1
;
12597 wxNativeEncodingInfo
*result
= 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "encoding", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12606 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12607 if (!SWIG_IsOK(ecode1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12610 arg1
= static_cast< wxFontEncoding
>(val1
);
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12624 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= 0;
12626 wxNativeEncodingInfo
*arg1
= 0 ;
12630 PyObject
* obj0
= 0 ;
12631 char * kwnames
[] = {
12632 (char *) "info", NULL
12635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12636 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12637 if (!SWIG_IsOK(res1
)) {
12638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12643 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12659 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12660 PyObject
*resultobj
= 0;
12661 wxFontMapper
*result
= 0 ;
12663 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (wxFontMapper
*)new wxFontMapper();
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12677 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12678 PyObject
*resultobj
= 0;
12679 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12682 PyObject
*swig_obj
[1] ;
12684 if (!args
) SWIG_fail
;
12685 swig_obj
[0] = args
;
12686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12687 if (!SWIG_IsOK(res1
)) {
12688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12690 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= SWIG_Py_Void();
12705 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12706 PyObject
*resultobj
= 0;
12707 wxFontMapper
*result
= 0 ;
12709 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (wxFontMapper
*)wxFontMapper::Get();
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_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12726 wxFontMapper
*result
= 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char * kwnames
[] = {
12731 (char *) "mapper", NULL
12734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12736 if (!SWIG_IsOK(res1
)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12739 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12753 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
= 0;
12755 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12756 wxString
*arg2
= 0 ;
12757 bool arg3
= (bool) true ;
12758 wxFontEncoding result
;
12761 bool temp2
= false ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 PyObject
* obj2
= 0 ;
12767 char * kwnames
[] = {
12768 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12773 if (!SWIG_IsOK(res1
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12776 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12778 arg2
= wxString_in_helper(obj1
);
12779 if (arg2
== NULL
) SWIG_fail
;
12783 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12784 if (!SWIG_IsOK(ecode3
)) {
12785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12787 arg3
= static_cast< bool >(val3
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_From_int(static_cast< int >(result
));
12810 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12811 PyObject
*resultobj
= 0;
12814 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12828 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12831 wxFontEncoding result
;
12834 PyObject
* obj0
= 0 ;
12835 char * kwnames
[] = {
12839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12840 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12841 if (!SWIG_IsOK(ecode1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12844 arg1
= static_cast< size_t >(val1
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_From_int(static_cast< int >(result
));
12858 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxFontEncoding arg1
;
12864 PyObject
* obj0
= 0 ;
12865 char * kwnames
[] = {
12866 (char *) "encoding", NULL
12869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12870 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12871 if (!SWIG_IsOK(ecode1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12874 arg1
= static_cast< wxFontEncoding
>(val1
);
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= wxFontMapper::GetEncodingName(arg1
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12894 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
= 0;
12896 wxFontEncoding arg1
;
12900 PyObject
* obj0
= 0 ;
12901 char * kwnames
[] = {
12902 (char *) "encoding", NULL
12905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12907 if (!SWIG_IsOK(ecode1
)) {
12908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12910 arg1
= static_cast< wxFontEncoding
>(val1
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= wxFontMapper::GetEncodingDescription(arg1
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12930 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
= 0;
12932 wxString
*arg1
= 0 ;
12933 wxFontEncoding result
;
12934 bool temp1
= false ;
12935 PyObject
* obj0
= 0 ;
12936 char * kwnames
[] = {
12937 (char *) "name", NULL
12940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12942 arg1
= wxString_in_helper(obj0
);
12943 if (arg1
== NULL
) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_From_int(static_cast< int >(result
));
12967 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
= 0;
12969 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12970 wxString
*arg2
= 0 ;
12973 bool temp2
= false ;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 char * kwnames
[] = {
12977 (char *) "self",(char *) "prefix", NULL
12980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12982 if (!SWIG_IsOK(res1
)) {
12983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12985 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12987 arg2
= wxString_in_helper(obj1
);
12988 if (arg2
== NULL
) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_Py_Void();
13012 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13013 PyObject
*resultobj
= 0;
13016 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 result
= wxFontMapper::GetDefaultConfigPath();
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13036 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
= 0;
13038 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13039 wxFontEncoding arg2
;
13040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13042 bool arg4
= (bool) true ;
13043 PyObject
*result
= 0 ;
13048 bool temp3
= false ;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 PyObject
* obj2
= 0 ;
13054 PyObject
* obj3
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13064 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13066 if (!SWIG_IsOK(ecode2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13069 arg2
= static_cast< wxFontEncoding
>(val2
);
13072 arg3
= wxString_in_helper(obj2
);
13073 if (arg3
== NULL
) SWIG_fail
;
13078 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13079 if (!SWIG_IsOK(ecode4
)) {
13080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13082 arg4
= static_cast< bool >(val4
);
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= result
;
13105 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
= 0;
13107 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13108 wxFontEncoding arg2
;
13109 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13110 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13116 bool temp3
= false ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 PyObject
* obj2
= 0 ;
13120 char * kwnames
[] = {
13121 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13129 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13131 if (!SWIG_IsOK(ecode2
)) {
13132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13134 arg2
= static_cast< wxFontEncoding
>(val2
);
13137 arg3
= wxString_in_helper(obj2
);
13138 if (arg3
== NULL
) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13165 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
= 0;
13167 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13168 wxWindow
*arg2
= (wxWindow
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 char * kwnames
[] = {
13176 (char *) "self",(char *) "parent", NULL
13179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13181 if (!SWIG_IsOK(res1
)) {
13182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13184 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13186 if (!SWIG_IsOK(res2
)) {
13187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->SetDialogParent(arg2
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 resultobj
= SWIG_Py_Void();
13203 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
= 0;
13205 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13206 wxString
*arg2
= 0 ;
13209 bool temp2
= false ;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 char * kwnames
[] = {
13213 (char *) "self",(char *) "title", NULL
13216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13218 if (!SWIG_IsOK(res1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13221 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13223 arg2
= wxString_in_helper(obj1
);
13224 if (arg2
== NULL
) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_Py_Void();
13248 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13251 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13252 return SWIG_Py_Void();
13255 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13256 return SWIG_Python_InitShadowInstance(args
);
13259 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= 0;
13265 bool arg5
= (bool) false ;
13266 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13267 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13268 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13269 wxFont
*result
= 0 ;
13280 bool temp6
= false ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 PyObject
* obj2
= 0 ;
13286 PyObject
* obj3
= 0 ;
13287 PyObject
* obj4
= 0 ;
13288 PyObject
* obj5
= 0 ;
13289 PyObject
* obj6
= 0 ;
13290 char * kwnames
[] = {
13291 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13295 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13296 if (!SWIG_IsOK(ecode1
)) {
13297 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13299 arg1
= static_cast< int >(val1
);
13300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13301 if (!SWIG_IsOK(ecode2
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13304 arg2
= static_cast< int >(val2
);
13305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13306 if (!SWIG_IsOK(ecode3
)) {
13307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13309 arg3
= static_cast< int >(val3
);
13310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13311 if (!SWIG_IsOK(ecode4
)) {
13312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13314 arg4
= static_cast< int >(val4
);
13316 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13317 if (!SWIG_IsOK(ecode5
)) {
13318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13320 arg5
= static_cast< bool >(val5
);
13324 arg6
= wxString_in_helper(obj5
);
13325 if (arg6
== NULL
) SWIG_fail
;
13330 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13331 if (!SWIG_IsOK(ecode7
)) {
13332 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13334 arg7
= static_cast< wxFontEncoding
>(val7
);
13337 if (!wxPyCheckForApp()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13358 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13359 PyObject
*resultobj
= 0;
13360 wxFont
*arg1
= (wxFont
*) 0 ;
13363 PyObject
*swig_obj
[1] ;
13365 if (!args
) SWIG_fail
;
13366 swig_obj
[0] = args
;
13367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13368 if (!SWIG_IsOK(res1
)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13371 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_Py_Void();
13386 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
= 0;
13388 wxNativeFontInfo
*arg1
= 0 ;
13389 wxFont
*result
= 0 ;
13392 PyObject
* obj0
= 0 ;
13393 char * kwnames
[] = {
13394 (char *) "info", NULL
13397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13398 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13399 if (!SWIG_IsOK(res1
)) {
13400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13405 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13407 if (!wxPyCheckForApp()) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (wxFont
*)new wxFont((wxNativeFontInfo
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 );
13420 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= 0;
13422 wxString
*arg1
= 0 ;
13423 wxFont
*result
= 0 ;
13424 bool temp1
= false ;
13425 PyObject
* obj0
= 0 ;
13426 char * kwnames
[] = {
13427 (char *) "info", NULL
13430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13432 arg1
= wxString_in_helper(obj0
);
13433 if (arg1
== NULL
) SWIG_fail
;
13437 if (!wxPyCheckForApp()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13458 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
= 0;
13461 wxFontFamily arg2
;
13462 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13463 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13464 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13465 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13466 wxFont
*result
= 0 ;
13473 bool temp4
= false ;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 PyObject
* obj2
= 0 ;
13479 PyObject
* obj3
= 0 ;
13480 PyObject
* obj4
= 0 ;
13481 char * kwnames
[] = {
13482 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13486 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13487 if (!SWIG_IsOK(ecode1
)) {
13488 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13490 arg1
= static_cast< int >(val1
);
13491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13492 if (!SWIG_IsOK(ecode2
)) {
13493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13495 arg2
= static_cast< wxFontFamily
>(val2
);
13497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13498 if (!SWIG_IsOK(ecode3
)) {
13499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13501 arg3
= static_cast< int >(val3
);
13505 arg4
= wxString_in_helper(obj3
);
13506 if (arg4
== NULL
) SWIG_fail
;
13511 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13512 if (!SWIG_IsOK(ecode5
)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13515 arg5
= static_cast< wxFontEncoding
>(val5
);
13518 if (!wxPyCheckForApp()) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13539 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
= 0;
13545 bool arg5
= (bool) false ;
13546 wxString
const &arg6_defvalue
= wxEmptyString
;
13547 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13548 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13549 wxFont
*result
= 0 ;
13559 bool temp6
= false ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 PyObject
* obj2
= 0 ;
13565 PyObject
* obj3
= 0 ;
13566 PyObject
* obj4
= 0 ;
13567 PyObject
* obj5
= 0 ;
13568 PyObject
* obj6
= 0 ;
13569 char * kwnames
[] = {
13570 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13576 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13579 if (!SWIG_IsOK(ecode2
)) {
13580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13582 arg2
= static_cast< int >(val2
);
13583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13584 if (!SWIG_IsOK(ecode3
)) {
13585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13587 arg3
= static_cast< int >(val3
);
13588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13589 if (!SWIG_IsOK(ecode4
)) {
13590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13592 arg4
= static_cast< int >(val4
);
13594 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13595 if (!SWIG_IsOK(ecode5
)) {
13596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13598 arg5
= static_cast< bool >(val5
);
13602 arg6
= wxString_in_helper(obj5
);
13603 if (arg6
== NULL
) SWIG_fail
;
13608 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13609 if (!SWIG_IsOK(ecode7
)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13612 arg7
= static_cast< wxFontEncoding
>(val7
);
13615 if (!wxPyCheckForApp()) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13636 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
= 0;
13639 wxFontFamily arg2
;
13640 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13641 wxString
const &arg4_defvalue
= wxEmptyString
;
13642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13643 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13644 wxFont
*result
= 0 ;
13650 bool temp4
= false ;
13653 PyObject
* obj0
= 0 ;
13654 PyObject
* obj1
= 0 ;
13655 PyObject
* obj2
= 0 ;
13656 PyObject
* obj3
= 0 ;
13657 PyObject
* obj4
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13665 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13668 if (!SWIG_IsOK(ecode2
)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13671 arg2
= static_cast< wxFontFamily
>(val2
);
13673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13674 if (!SWIG_IsOK(ecode3
)) {
13675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13677 arg3
= static_cast< int >(val3
);
13681 arg4
= wxString_in_helper(obj3
);
13682 if (arg4
== NULL
) SWIG_fail
;
13687 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13688 if (!SWIG_IsOK(ecode5
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13691 arg5
= static_cast< wxFontEncoding
>(val5
);
13694 if (!wxPyCheckForApp()) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13715 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13716 PyObject
*resultobj
= 0;
13717 wxFont
*arg1
= (wxFont
*) 0 ;
13721 PyObject
*swig_obj
[1] ;
13723 if (!args
) SWIG_fail
;
13724 swig_obj
[0] = args
;
13725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13726 if (!SWIG_IsOK(res1
)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13729 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (bool)((wxFont
const *)arg1
)->Ok();
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13745 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
= 0;
13747 wxFont
*arg1
= (wxFont
*) 0 ;
13748 wxFont
*arg2
= (wxFont
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char * kwnames
[] = {
13757 (char *) "self",(char *) "other", NULL
13760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13762 if (!SWIG_IsOK(res1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13765 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13767 if (!SWIG_IsOK(res2
)) {
13768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13770 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13786 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
= 0;
13788 wxFont
*arg1
= (wxFont
*) 0 ;
13789 wxFont
*arg2
= (wxFont
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 char * kwnames
[] = {
13798 (char *) "self",(char *) "other", NULL
13801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13806 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13808 if (!SWIG_IsOK(res2
)) {
13809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13811 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13827 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13828 PyObject
*resultobj
= 0;
13829 wxFont
*arg1
= (wxFont
*) 0 ;
13833 PyObject
*swig_obj
[1] ;
13835 if (!args
) SWIG_fail
;
13836 swig_obj
[0] = args
;
13837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13838 if (!SWIG_IsOK(res1
)) {
13839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13841 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_From_int(static_cast< int >(result
));
13855 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13856 PyObject
*resultobj
= 0;
13857 wxFont
*arg1
= (wxFont
*) 0 ;
13861 PyObject
*swig_obj
[1] ;
13863 if (!args
) SWIG_fail
;
13864 swig_obj
[0] = args
;
13865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13869 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13883 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(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_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13897 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13914 PyObject
*resultobj
= 0;
13915 wxFont
*arg1
= (wxFont
*) 0 ;
13919 PyObject
*swig_obj
[1] ;
13921 if (!args
) SWIG_fail
;
13922 swig_obj
[0] = args
;
13923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13924 if (!SWIG_IsOK(res1
)) {
13925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13927 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= SWIG_From_int(static_cast< int >(result
));
13941 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13942 PyObject
*resultobj
= 0;
13943 wxFont
*arg1
= (wxFont
*) 0 ;
13947 PyObject
*swig_obj
[1] ;
13949 if (!args
) SWIG_fail
;
13950 swig_obj
[0] = args
;
13951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13955 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_From_int(static_cast< int >(result
));
13969 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13970 PyObject
*resultobj
= 0;
13971 wxFont
*arg1
= (wxFont
*) 0 ;
13975 PyObject
*swig_obj
[1] ;
13977 if (!args
) SWIG_fail
;
13978 swig_obj
[0] = args
;
13979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13980 if (!SWIG_IsOK(res1
)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13983 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_From_int(static_cast< int >(result
));
13997 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(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_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14011 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14027 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14028 PyObject
*resultobj
= 0;
14029 wxFont
*arg1
= (wxFont
*) 0 ;
14033 PyObject
*swig_obj
[1] ;
14035 if (!args
) SWIG_fail
;
14036 swig_obj
[0] = args
;
14037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14038 if (!SWIG_IsOK(res1
)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14041 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= ((wxFont
const *)arg1
)->GetFaceName();
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14061 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14062 PyObject
*resultobj
= 0;
14063 wxFont
*arg1
= (wxFont
*) 0 ;
14064 wxFontEncoding result
;
14067 PyObject
*swig_obj
[1] ;
14069 if (!args
) SWIG_fail
;
14070 swig_obj
[0] = args
;
14071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14072 if (!SWIG_IsOK(res1
)) {
14073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14075 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= SWIG_From_int(static_cast< int >(result
));
14089 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14090 PyObject
*resultobj
= 0;
14091 wxFont
*arg1
= (wxFont
*) 0 ;
14092 wxNativeFontInfo
*result
= 0 ;
14095 PyObject
*swig_obj
[1] ;
14097 if (!args
) SWIG_fail
;
14098 swig_obj
[0] = args
;
14099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14100 if (!SWIG_IsOK(res1
)) {
14101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14103 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14117 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(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_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14131 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14147 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14148 PyObject
*resultobj
= 0;
14149 wxFont
*arg1
= (wxFont
*) 0 ;
14153 PyObject
*swig_obj
[1] ;
14155 if (!args
) SWIG_fail
;
14156 swig_obj
[0] = args
;
14157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14158 if (!SWIG_IsOK(res1
)) {
14159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14161 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14181 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14182 PyObject
*resultobj
= 0;
14183 wxFont
*arg1
= (wxFont
*) 0 ;
14187 PyObject
*swig_obj
[1] ;
14189 if (!args
) SWIG_fail
;
14190 swig_obj
[0] = args
;
14191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14192 if (!SWIG_IsOK(res1
)) {
14193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14195 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14215 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
= 0;
14217 wxFont
*arg1
= (wxFont
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 char * kwnames
[] = {
14226 (char *) "self",(char *) "pointSize", NULL
14229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14231 if (!SWIG_IsOK(res1
)) {
14232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14234 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14236 if (!SWIG_IsOK(ecode2
)) {
14237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14239 arg2
= static_cast< int >(val2
);
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 (arg1
)->SetPointSize(arg2
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= SWIG_Py_Void();
14253 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
= 0;
14255 wxFont
*arg1
= (wxFont
*) 0 ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 char * kwnames
[] = {
14263 (char *) "self",(char *) "pixelSize", NULL
14266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14268 if (!SWIG_IsOK(res1
)) {
14269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14271 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14274 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_Py_Void();
14289 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14291 wxFont
*arg1
= (wxFont
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 PyObject
* obj1
= 0 ;
14299 char * kwnames
[] = {
14300 (char *) "self",(char *) "family", NULL
14303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14308 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14310 if (!SWIG_IsOK(ecode2
)) {
14311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14313 arg2
= static_cast< int >(val2
);
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 (arg1
)->SetFamily(arg2
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= SWIG_Py_Void();
14327 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
= 0;
14329 wxFont
*arg1
= (wxFont
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 char * kwnames
[] = {
14338 (char *) "self",(char *) "style", NULL
14341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14343 if (!SWIG_IsOK(res1
)) {
14344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14346 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14348 if (!SWIG_IsOK(ecode2
)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14351 arg2
= static_cast< int >(val2
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->SetStyle(arg2
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_Py_Void();
14365 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= 0;
14367 wxFont
*arg1
= (wxFont
*) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 char * kwnames
[] = {
14376 (char *) "self",(char *) "weight", NULL
14379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14386 if (!SWIG_IsOK(ecode2
)) {
14387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14389 arg2
= static_cast< int >(val2
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->SetWeight(arg2
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= SWIG_Py_Void();
14403 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
= 0;
14405 wxFont
*arg1
= (wxFont
*) 0 ;
14406 wxString
*arg2
= 0 ;
14410 bool temp2
= false ;
14411 PyObject
* obj0
= 0 ;
14412 PyObject
* obj1
= 0 ;
14413 char * kwnames
[] = {
14414 (char *) "self",(char *) "faceName", NULL
14417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14419 if (!SWIG_IsOK(res1
)) {
14420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14422 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14424 arg2
= wxString_in_helper(obj1
);
14425 if (arg2
== NULL
) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14451 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
= 0;
14453 wxFont
*arg1
= (wxFont
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 char * kwnames
[] = {
14462 (char *) "self",(char *) "underlined", NULL
14465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14467 if (!SWIG_IsOK(res1
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14470 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14471 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14472 if (!SWIG_IsOK(ecode2
)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14475 arg2
= static_cast< bool >(val2
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 (arg1
)->SetUnderlined(arg2
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_Py_Void();
14489 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= 0;
14491 wxFont
*arg1
= (wxFont
*) 0 ;
14492 wxFontEncoding arg2
;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 char * kwnames
[] = {
14500 (char *) "self",(char *) "encoding", NULL
14503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14505 if (!SWIG_IsOK(res1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14508 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14510 if (!SWIG_IsOK(ecode2
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14513 arg2
= static_cast< wxFontEncoding
>(val2
);
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 (arg1
)->SetEncoding(arg2
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= SWIG_Py_Void();
14527 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
= 0;
14529 wxFont
*arg1
= (wxFont
*) 0 ;
14530 wxNativeFontInfo
*arg2
= 0 ;
14535 PyObject
* obj0
= 0 ;
14536 PyObject
* obj1
= 0 ;
14537 char * kwnames
[] = {
14538 (char *) "self",(char *) "info", NULL
14541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14543 if (!SWIG_IsOK(res1
)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14546 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14548 if (!SWIG_IsOK(res2
)) {
14549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14554 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= SWIG_Py_Void();
14568 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
= 0;
14570 wxFont
*arg1
= (wxFont
*) 0 ;
14571 wxString
*arg2
= 0 ;
14575 bool temp2
= false ;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 char * kwnames
[] = {
14579 (char *) "self",(char *) "info", NULL
14582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14584 if (!SWIG_IsOK(res1
)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14587 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14589 arg2
= wxString_in_helper(obj1
);
14590 if (arg2
== NULL
) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14616 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
= 0;
14618 wxFont
*arg1
= (wxFont
*) 0 ;
14619 wxString
*arg2
= 0 ;
14623 bool temp2
= false ;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 char * kwnames
[] = {
14627 (char *) "self",(char *) "info", NULL
14630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14632 if (!SWIG_IsOK(res1
)) {
14633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14635 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14637 arg2
= wxString_in_helper(obj1
);
14638 if (arg2
== NULL
) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14665 PyObject
*resultobj
= 0;
14666 wxFont
*arg1
= (wxFont
*) 0 ;
14670 PyObject
*swig_obj
[1] ;
14672 if (!args
) SWIG_fail
;
14673 swig_obj
[0] = args
;
14674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14678 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14698 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14699 PyObject
*resultobj
= 0;
14700 wxFont
*arg1
= (wxFont
*) 0 ;
14704 PyObject
*swig_obj
[1] ;
14706 if (!args
) SWIG_fail
;
14707 swig_obj
[0] = args
;
14708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14709 if (!SWIG_IsOK(res1
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14712 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= ((wxFont
const *)arg1
)->GetStyleString();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14732 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14733 PyObject
*resultobj
= 0;
14734 wxFont
*arg1
= (wxFont
*) 0 ;
14738 PyObject
*swig_obj
[1] ;
14740 if (!args
) SWIG_fail
;
14741 swig_obj
[0] = args
;
14742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14743 if (!SWIG_IsOK(res1
)) {
14744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14746 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= ((wxFont
const *)arg1
)->GetWeightString();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14766 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
= 0;
14768 wxFont
*arg1
= (wxFont
*) 0 ;
14769 bool arg2
= (bool) true ;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 char * kwnames
[] = {
14777 (char *) "self",(char *) "no", NULL
14780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14782 if (!SWIG_IsOK(res1
)) {
14783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14785 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14787 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14788 if (!SWIG_IsOK(ecode2
)) {
14789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14791 arg2
= static_cast< bool >(val2
);
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->SetNoAntiAliasing(arg2
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_Py_Void();
14806 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14807 PyObject
*resultobj
= 0;
14808 wxFont
*arg1
= (wxFont
*) 0 ;
14812 PyObject
*swig_obj
[1] ;
14814 if (!args
) SWIG_fail
;
14815 swig_obj
[0] = args
;
14816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14817 if (!SWIG_IsOK(res1
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14820 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14836 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14837 PyObject
*resultobj
= 0;
14838 wxFontEncoding result
;
14840 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14842 if (!wxPyCheckForApp()) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= SWIG_From_int(static_cast< int >(result
));
14855 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14856 PyObject
*resultobj
= 0;
14857 wxFontEncoding arg1
;
14860 PyObject
* obj0
= 0 ;
14861 char * kwnames
[] = {
14862 (char *) "encoding", NULL
14865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14867 if (!SWIG_IsOK(ecode1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14870 arg1
= static_cast< wxFontEncoding
>(val1
);
14872 if (!wxPyCheckForApp()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 wxFont::SetDefaultEncoding(arg1
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_Py_Void();
14885 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14888 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14889 return SWIG_Py_Void();
14892 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14893 return SWIG_Python_InitShadowInstance(args
);
14896 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14897 PyObject
*resultobj
= 0;
14898 wxPyFontEnumerator
*result
= 0 ;
14900 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14902 if (!wxPyCheckForApp()) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14915 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14916 PyObject
*resultobj
= 0;
14917 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14920 PyObject
*swig_obj
[1] ;
14922 if (!args
) SWIG_fail
;
14923 swig_obj
[0] = args
;
14924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14928 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_Py_Void();
14943 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
= 0;
14945 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14946 PyObject
*arg2
= (PyObject
*) 0 ;
14947 PyObject
*arg3
= (PyObject
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 PyObject
* obj2
= 0 ;
14956 PyObject
* obj3
= 0 ;
14957 char * kwnames
[] = {
14958 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14963 if (!SWIG_IsOK(res1
)) {
14964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14966 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14969 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14970 if (!SWIG_IsOK(ecode4
)) {
14971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14973 arg4
= static_cast< bool >(val4
);
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_Py_Void();
14987 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
= 0;
14989 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14990 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14991 bool arg3
= (bool) false ;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 PyObject
* obj2
= 0 ;
15002 char * kwnames
[] = {
15003 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15011 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15014 if (!SWIG_IsOK(ecode2
)) {
15015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15017 arg2
= static_cast< wxFontEncoding
>(val2
);
15020 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15021 if (!SWIG_IsOK(ecode3
)) {
15022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15024 arg3
= static_cast< bool >(val3
);
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15041 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
= 0;
15043 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15044 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15045 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15049 bool temp2
= false ;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 char * kwnames
[] = {
15053 (char *) "self",(char *) "facename", NULL
15056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15061 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15064 arg2
= wxString_in_helper(obj1
);
15065 if (arg2
== NULL
) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15092 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15093 PyObject
*resultobj
= 0;
15094 PyObject
*result
= 0 ;
15096 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
;
15110 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15111 PyObject
*resultobj
= 0;
15112 PyObject
*result
= 0 ;
15114 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
;
15128 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxString
*arg1
= 0 ;
15132 bool temp1
= false ;
15133 PyObject
* obj0
= 0 ;
15134 char * kwnames
[] = {
15135 (char *) "str", NULL
15138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15140 arg1
= wxString_in_helper(obj0
);
15141 if (arg1
== NULL
) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15167 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15170 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15171 return SWIG_Py_Void();
15174 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15175 return SWIG_Python_InitShadowInstance(args
);
15178 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15179 PyObject
*resultobj
= 0;
15180 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15186 PyObject
*swig_obj
[2] ;
15188 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15193 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15194 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15195 if (!SWIG_IsOK(ecode2
)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15198 arg2
= static_cast< int >(val2
);
15199 if (arg1
) (arg1
)->Language
= arg2
;
15201 resultobj
= SWIG_Py_Void();
15208 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15209 PyObject
*resultobj
= 0;
15210 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15214 PyObject
*swig_obj
[1] ;
15216 if (!args
) SWIG_fail
;
15217 swig_obj
[0] = args
;
15218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15219 if (!SWIG_IsOK(res1
)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15222 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15223 result
= (int) ((arg1
)->Language
);
15224 resultobj
= SWIG_From_int(static_cast< int >(result
));
15231 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15232 PyObject
*resultobj
= 0;
15233 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15234 wxString
*arg2
= (wxString
*) 0 ;
15237 bool temp2
= false ;
15238 PyObject
*swig_obj
[2] ;
15240 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15242 if (!SWIG_IsOK(res1
)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15245 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15247 arg2
= wxString_in_helper(swig_obj
[1]);
15248 if (arg2
== NULL
) SWIG_fail
;
15251 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15253 resultobj
= SWIG_Py_Void();
15268 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 PyObject
*resultobj
= 0;
15270 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15271 wxString
*result
= 0 ;
15274 PyObject
*swig_obj
[1] ;
15276 if (!args
) SWIG_fail
;
15277 swig_obj
[0] = args
;
15278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15279 if (!SWIG_IsOK(res1
)) {
15280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15282 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15283 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15286 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15288 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15297 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15298 PyObject
*resultobj
= 0;
15299 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15300 wxString
*arg2
= (wxString
*) 0 ;
15303 bool temp2
= false ;
15304 PyObject
*swig_obj
[2] ;
15306 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15308 if (!SWIG_IsOK(res1
)) {
15309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15311 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15313 arg2
= wxString_in_helper(swig_obj
[1]);
15314 if (arg2
== NULL
) SWIG_fail
;
15317 if (arg1
) (arg1
)->Description
= *arg2
;
15319 resultobj
= SWIG_Py_Void();
15334 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15335 PyObject
*resultobj
= 0;
15336 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15337 wxString
*result
= 0 ;
15340 PyObject
*swig_obj
[1] ;
15342 if (!args
) SWIG_fail
;
15343 swig_obj
[0] = args
;
15344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15345 if (!SWIG_IsOK(res1
)) {
15346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15348 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15349 result
= (wxString
*)& ((arg1
)->Description
);
15352 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15354 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15363 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15366 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15367 return SWIG_Py_Void();
15370 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= 0;
15372 int arg1
= (int) -1 ;
15373 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15374 wxLocale
*result
= 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char * kwnames
[] = {
15382 (char *) "language",(char *) "flags", NULL
15385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15388 if (!SWIG_IsOK(ecode1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15391 arg1
= static_cast< int >(val1
);
15394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15395 if (!SWIG_IsOK(ecode2
)) {
15396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15398 arg2
= static_cast< int >(val2
);
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15413 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15414 PyObject
*resultobj
= 0;
15415 wxLocale
*arg1
= (wxLocale
*) 0 ;
15418 PyObject
*swig_obj
[1] ;
15420 if (!args
) SWIG_fail
;
15421 swig_obj
[0] = args
;
15422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15423 if (!SWIG_IsOK(res1
)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15426 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_Py_Void();
15441 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxLocale
*arg1
= (wxLocale
*) 0 ;
15444 wxString
*arg2
= 0 ;
15445 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15446 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15447 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15448 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15449 bool arg5
= (bool) true ;
15450 bool arg6
= (bool) false ;
15454 bool temp2
= false ;
15455 bool temp3
= false ;
15456 bool temp4
= false ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 PyObject
* obj2
= 0 ;
15464 PyObject
* obj3
= 0 ;
15465 PyObject
* obj4
= 0 ;
15466 PyObject
* obj5
= 0 ;
15467 char * kwnames
[] = {
15468 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15473 if (!SWIG_IsOK(res1
)) {
15474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15476 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15478 arg2
= wxString_in_helper(obj1
);
15479 if (arg2
== NULL
) SWIG_fail
;
15484 arg3
= wxString_in_helper(obj2
);
15485 if (arg3
== NULL
) SWIG_fail
;
15491 arg4
= wxString_in_helper(obj3
);
15492 if (arg4
== NULL
) SWIG_fail
;
15497 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15498 if (!SWIG_IsOK(ecode5
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15501 arg5
= static_cast< bool >(val5
);
15504 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15505 if (!SWIG_IsOK(ecode6
)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15508 arg6
= static_cast< bool >(val6
);
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15549 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
= 0;
15551 wxLocale
*arg1
= (wxLocale
*) 0 ;
15552 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15553 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 char * kwnames
[] = {
15565 (char *) "self",(char *) "language",(char *) "flags", NULL
15568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15570 if (!SWIG_IsOK(res1
)) {
15571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15573 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15576 if (!SWIG_IsOK(ecode2
)) {
15577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15579 arg2
= static_cast< int >(val2
);
15582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15583 if (!SWIG_IsOK(ecode3
)) {
15584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15586 arg3
= static_cast< int >(val3
);
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15603 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15604 PyObject
*resultobj
= 0;
15607 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (int)wxLocale::GetSystemLanguage();
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_From_int(static_cast< int >(result
));
15621 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15622 PyObject
*resultobj
= 0;
15623 wxFontEncoding result
;
15625 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_From_int(static_cast< int >(result
));
15639 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15640 PyObject
*resultobj
= 0;
15643 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= wxLocale::GetSystemEncodingName();
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15663 SWIGINTERN PyObject
*_wrap_Locale_IsOk(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_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15677 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15693 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 PyObject
*resultobj
= 0;
15695 wxLocale
*arg1
= (wxLocale
*) 0 ;
15699 PyObject
*swig_obj
[1] ;
15701 if (!args
) SWIG_fail
;
15702 swig_obj
[0] = args
;
15703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15704 if (!SWIG_IsOK(res1
)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15707 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= ((wxLocale
const *)arg1
)->GetLocale();
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15727 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15728 PyObject
*resultobj
= 0;
15729 wxLocale
*arg1
= (wxLocale
*) 0 ;
15733 PyObject
*swig_obj
[1] ;
15735 if (!args
) SWIG_fail
;
15736 swig_obj
[0] = args
;
15737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15741 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= SWIG_From_int(static_cast< int >(result
));
15755 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15756 PyObject
*resultobj
= 0;
15757 wxLocale
*arg1
= (wxLocale
*) 0 ;
15761 PyObject
*swig_obj
[1] ;
15763 if (!args
) SWIG_fail
;
15764 swig_obj
[0] = args
;
15765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15766 if (!SWIG_IsOK(res1
)) {
15767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15769 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= ((wxLocale
const *)arg1
)->GetSysName();
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15789 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15790 PyObject
*resultobj
= 0;
15791 wxLocale
*arg1
= (wxLocale
*) 0 ;
15795 PyObject
*swig_obj
[1] ;
15797 if (!args
) SWIG_fail
;
15798 swig_obj
[0] = args
;
15799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15803 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15823 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
= 0;
15825 wxString
*arg1
= 0 ;
15826 bool temp1
= false ;
15827 PyObject
* obj0
= 0 ;
15828 char * kwnames
[] = {
15829 (char *) "prefix", NULL
15832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15834 arg1
= wxString_in_helper(obj0
);
15835 if (arg1
== NULL
) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_Py_Void();
15859 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
= 0;
15861 wxLocale
*arg1
= (wxLocale
*) 0 ;
15862 wxString
*arg2
= 0 ;
15866 bool temp2
= false ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char * kwnames
[] = {
15870 (char *) "self",(char *) "szDomain", NULL
15873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15875 if (!SWIG_IsOK(res1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15878 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15880 arg2
= wxString_in_helper(obj1
);
15881 if (arg2
== NULL
) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15907 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
= 0;
15913 PyObject
* obj0
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "lang", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
15919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15920 if (!SWIG_IsOK(ecode1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
15923 arg1
= static_cast< int >(val1
);
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 result
= (bool)wxLocale::IsAvailable(arg1
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15939 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
= 0;
15941 wxLocale
*arg1
= (wxLocale
*) 0 ;
15942 wxString
*arg2
= 0 ;
15946 bool temp2
= false ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 char * kwnames
[] = {
15950 (char *) "self",(char *) "szDomain", NULL
15953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15955 if (!SWIG_IsOK(res1
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15958 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15960 arg2
= wxString_in_helper(obj1
);
15961 if (arg2
== NULL
) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15987 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= 0;
15990 wxLanguageInfo
*result
= 0 ;
15993 PyObject
* obj0
= 0 ;
15994 char * kwnames
[] = {
15995 (char *) "lang", NULL
15998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15999 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16000 if (!SWIG_IsOK(ecode1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16003 arg1
= static_cast< int >(val1
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16017 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
= 0;
16023 PyObject
* obj0
= 0 ;
16024 char * kwnames
[] = {
16025 (char *) "lang", NULL
16028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16030 if (!SWIG_IsOK(ecode1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16033 arg1
= static_cast< int >(val1
);
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= wxLocale::GetLanguageName(arg1
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16053 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16055 wxString
*arg1
= 0 ;
16056 wxLanguageInfo
*result
= 0 ;
16057 bool temp1
= false ;
16058 PyObject
* obj0
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "locale", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16065 arg1
= wxString_in_helper(obj0
);
16066 if (arg1
== NULL
) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16090 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
= 0;
16092 wxLanguageInfo
*arg1
= 0 ;
16095 PyObject
* obj0
= 0 ;
16096 char * kwnames
[] = {
16097 (char *) "info", NULL
16100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16101 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16102 if (!SWIG_IsOK(res1
)) {
16103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16108 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_Py_Void();
16122 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
= 0;
16124 wxLocale
*arg1
= (wxLocale
*) 0 ;
16125 wxString
*arg2
= 0 ;
16126 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16127 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16131 bool temp2
= false ;
16132 bool temp3
= false ;
16133 PyObject
* obj0
= 0 ;
16134 PyObject
* obj1
= 0 ;
16135 PyObject
* obj2
= 0 ;
16136 char * kwnames
[] = {
16137 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16142 if (!SWIG_IsOK(res1
)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16145 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16147 arg2
= wxString_in_helper(obj1
);
16148 if (arg2
== NULL
) SWIG_fail
;
16153 arg3
= wxString_in_helper(obj2
);
16154 if (arg3
== NULL
) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16193 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16194 PyObject
*resultobj
= 0;
16195 wxLocale
*arg1
= (wxLocale
*) 0 ;
16196 wxString
*result
= 0 ;
16199 PyObject
*swig_obj
[1] ;
16201 if (!args
) SWIG_fail
;
16202 swig_obj
[0] = args
;
16203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16204 if (!SWIG_IsOK(res1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16207 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16212 result
= (wxString
*) &_result_ref
;
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16221 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16230 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16233 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16234 return SWIG_Py_Void();
16237 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16238 return SWIG_Python_InitShadowInstance(args
);
16241 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
= 0;
16243 int arg1
= (int) -1 ;
16244 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16245 wxPyLocale
*result
= 0 ;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char * kwnames
[] = {
16253 (char *) "language",(char *) "flags", NULL
16256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16258 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16259 if (!SWIG_IsOK(ecode1
)) {
16260 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16262 arg1
= static_cast< int >(val1
);
16265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16266 if (!SWIG_IsOK(ecode2
)) {
16267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16269 arg2
= static_cast< int >(val2
);
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16284 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16285 PyObject
*resultobj
= 0;
16286 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16289 PyObject
*swig_obj
[1] ;
16291 if (!args
) SWIG_fail
;
16292 swig_obj
[0] = args
;
16293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16294 if (!SWIG_IsOK(res1
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16297 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= SWIG_Py_Void();
16312 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
= 0;
16314 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16315 PyObject
*arg2
= (PyObject
*) 0 ;
16316 PyObject
*arg3
= (PyObject
*) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 PyObject
* obj2
= 0 ;
16322 char * kwnames
[] = {
16323 (char *) "self",(char *) "self",(char *) "_class", NULL
16326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16331 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= SWIG_Py_Void();
16347 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
= 0;
16349 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16350 wxChar
*arg2
= (wxChar
*) 0 ;
16351 wxChar
*arg3
= (wxChar
*) NULL
;
16352 wxChar
*result
= 0 ;
16359 PyObject
* obj0
= 0 ;
16360 PyObject
* obj1
= 0 ;
16361 PyObject
* obj2
= 0 ;
16362 char * kwnames
[] = {
16363 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16371 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16373 if (!SWIG_IsOK(res2
)) {
16374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16376 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16378 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16379 if (!SWIG_IsOK(res3
)) {
16380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16382 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16397 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
= 0;
16399 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16400 wxChar
*arg2
= (wxChar
*) 0 ;
16401 wxChar
*arg3
= (wxChar
*) 0 ;
16403 wxChar
*arg5
= (wxChar
*) NULL
;
16404 wxChar
*result
= 0 ;
16415 PyObject
* obj0
= 0 ;
16416 PyObject
* obj1
= 0 ;
16417 PyObject
* obj2
= 0 ;
16418 PyObject
* obj3
= 0 ;
16419 PyObject
* obj4
= 0 ;
16420 char * kwnames
[] = {
16421 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16426 if (!SWIG_IsOK(res1
)) {
16427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16429 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16431 if (!SWIG_IsOK(res2
)) {
16432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16434 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16435 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16436 if (!SWIG_IsOK(res3
)) {
16437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16439 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16440 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16441 if (!SWIG_IsOK(ecode4
)) {
16442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16444 arg4
= static_cast< size_t >(val4
);
16446 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16447 if (!SWIG_IsOK(res5
)) {
16448 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16450 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16465 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16469 return SWIG_Py_Void();
16472 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16473 return SWIG_Python_InitShadowInstance(args
);
16476 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16477 PyObject
*resultobj
= 0;
16478 wxLocale
*result
= 0 ;
16480 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (wxLocale
*)wxGetLocale();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16494 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16495 PyObject
*resultobj
= 0;
16496 wxString
*arg1
= 0 ;
16498 bool temp1
= false ;
16500 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16502 arg1
= wxString_in_helper(swig_obj
[0]);
16503 if (arg1
== NULL
) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= wxGetTranslation((wxString
const &)*arg1
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16533 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16534 PyObject
*resultobj
= 0;
16535 wxString
*arg1
= 0 ;
16536 wxString
*arg2
= 0 ;
16538 bool temp1
= false ;
16539 bool temp2
= false ;
16541 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16543 arg1
= wxString_in_helper(swig_obj
[0]);
16544 if (arg1
== NULL
) SWIG_fail
;
16548 arg2
= wxString_in_helper(swig_obj
[1]);
16549 if (arg2
== NULL
) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
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_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16588 PyObject
*resultobj
= 0;
16589 wxString
*arg1
= 0 ;
16590 wxString
*arg2
= 0 ;
16593 bool temp1
= false ;
16594 bool temp2
= false ;
16598 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16600 arg1
= wxString_in_helper(swig_obj
[0]);
16601 if (arg1
== NULL
) SWIG_fail
;
16605 arg2
= wxString_in_helper(swig_obj
[1]);
16606 if (arg2
== NULL
) SWIG_fail
;
16609 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16610 if (!SWIG_IsOK(ecode3
)) {
16611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16613 arg3
= static_cast< size_t >(val3
);
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16649 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16650 PyObject
*resultobj
= 0;
16651 wxString
*arg1
= 0 ;
16652 wxString
*arg2
= 0 ;
16654 wxString
*arg4
= 0 ;
16656 bool temp1
= false ;
16657 bool temp2
= false ;
16660 bool temp4
= false ;
16662 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16664 arg1
= wxString_in_helper(swig_obj
[0]);
16665 if (arg1
== NULL
) SWIG_fail
;
16669 arg2
= wxString_in_helper(swig_obj
[1]);
16670 if (arg2
== NULL
) SWIG_fail
;
16673 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16674 if (!SWIG_IsOK(ecode3
)) {
16675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16677 arg3
= static_cast< size_t >(val3
);
16679 arg4
= wxString_in_helper(swig_obj
[3]);
16680 if (arg4
== NULL
) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16726 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16730 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16733 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16736 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16739 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16742 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16746 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16751 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 PyObject
*resultobj
= 0;
16753 wxEncodingConverter
*result
= 0 ;
16755 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16769 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16770 PyObject
*resultobj
= 0;
16771 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16774 PyObject
*swig_obj
[1] ;
16776 if (!args
) SWIG_fail
;
16777 swig_obj
[0] = args
;
16778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16779 if (!SWIG_IsOK(res1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16782 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= SWIG_Py_Void();
16797 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
= 0;
16799 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16800 wxFontEncoding arg2
;
16801 wxFontEncoding arg3
;
16802 int arg4
= (int) wxCONVERT_STRICT
;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 PyObject
* obj2
= 0 ;
16815 PyObject
* obj3
= 0 ;
16816 char * kwnames
[] = {
16817 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16825 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16827 if (!SWIG_IsOK(ecode2
)) {
16828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16830 arg2
= static_cast< wxFontEncoding
>(val2
);
16831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16832 if (!SWIG_IsOK(ecode3
)) {
16833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16835 arg3
= static_cast< wxFontEncoding
>(val3
);
16837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16838 if (!SWIG_IsOK(ecode4
)) {
16839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16841 arg4
= static_cast< int >(val4
);
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16858 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
= 0;
16860 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16861 wxString
*arg2
= 0 ;
16865 bool temp2
= false ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 char * kwnames
[] = {
16869 (char *) "self",(char *) "input", NULL
16872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16874 if (!SWIG_IsOK(res1
)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16877 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16879 arg2
= wxString_in_helper(obj1
);
16880 if (arg2
== NULL
) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16910 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxFontEncoding arg1
;
16913 int arg2
= (int) wxPLATFORM_CURRENT
;
16914 wxFontEncodingArray result
;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char * kwnames
[] = {
16922 (char *) "enc",(char *) "platform", NULL
16925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16927 if (!SWIG_IsOK(ecode1
)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16930 arg1
= static_cast< wxFontEncoding
>(val1
);
16932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16933 if (!SWIG_IsOK(ecode2
)) {
16934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16936 arg2
= static_cast< int >(val2
);
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= PyList_New(0);
16946 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16947 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16948 PyList_Append(resultobj
, number
);
16958 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
= 0;
16960 wxFontEncoding arg1
;
16961 wxFontEncodingArray result
;
16964 PyObject
* obj0
= 0 ;
16965 char * kwnames
[] = {
16966 (char *) "enc", NULL
16969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16971 if (!SWIG_IsOK(ecode1
)) {
16972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16974 arg1
= static_cast< wxFontEncoding
>(val1
);
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= PyList_New(0);
16983 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16984 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16985 PyList_Append(resultobj
, number
);
16995 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= 0;
16997 wxFontEncoding arg1
;
16998 wxFontEncoding arg2
;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "encIn",(char *) "encOut", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17012 if (!SWIG_IsOK(ecode1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17015 arg1
= static_cast< wxFontEncoding
>(val1
);
17016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17017 if (!SWIG_IsOK(ecode2
)) {
17018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17020 arg2
= static_cast< wxFontEncoding
>(val2
);
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17036 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17039 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17040 return SWIG_Py_Void();
17043 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17044 return SWIG_Python_InitShadowInstance(args
);
17047 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17048 PyObject
*resultobj
= 0;
17049 wxDC
*arg1
= (wxDC
*) 0 ;
17052 PyObject
*swig_obj
[1] ;
17054 if (!args
) SWIG_fail
;
17055 swig_obj
[0] = args
;
17056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17057 if (!SWIG_IsOK(res1
)) {
17058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= SWIG_Py_Void();
17075 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
= 0;
17077 wxDC
*arg1
= (wxDC
*) 0 ;
17080 wxColour
*arg4
= 0 ;
17081 int arg5
= (int) wxFLOOD_SURFACE
;
17092 PyObject
* obj0
= 0 ;
17093 PyObject
* obj1
= 0 ;
17094 PyObject
* obj2
= 0 ;
17095 PyObject
* obj3
= 0 ;
17096 PyObject
* obj4
= 0 ;
17097 char * kwnames
[] = {
17098 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17103 if (!SWIG_IsOK(res1
)) {
17104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17108 if (!SWIG_IsOK(ecode2
)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17111 arg2
= static_cast< int >(val2
);
17112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17113 if (!SWIG_IsOK(ecode3
)) {
17114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17116 arg3
= static_cast< int >(val3
);
17119 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17122 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17123 if (!SWIG_IsOK(ecode5
)) {
17124 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17126 arg5
= static_cast< int >(val5
);
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17143 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
= 0;
17145 wxDC
*arg1
= (wxDC
*) 0 ;
17146 wxPoint
*arg2
= 0 ;
17147 wxColour
*arg3
= 0 ;
17148 int arg4
= (int) wxFLOOD_SURFACE
;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 PyObject
* obj2
= 0 ;
17159 PyObject
* obj3
= 0 ;
17160 char * kwnames
[] = {
17161 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17166 if (!SWIG_IsOK(res1
)) {
17167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17172 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17176 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17179 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17180 if (!SWIG_IsOK(ecode4
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17183 arg4
= static_cast< int >(val4
);
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17200 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
= 0;
17202 wxDC
*arg1
= (wxDC
*) 0 ;
17204 wxColour
*arg3
= 0 ;
17205 wxColour
*arg4
= 0 ;
17206 wxPoint
*arg5
= 0 ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 PyObject
* obj2
= 0 ;
17216 PyObject
* obj3
= 0 ;
17217 PyObject
* obj4
= 0 ;
17218 char * kwnames
[] = {
17219 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17224 if (!SWIG_IsOK(res1
)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17230 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17234 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17238 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17242 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_Py_Void();
17257 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxDC
*arg1
= (wxDC
*) 0 ;
17261 wxColour
*arg3
= 0 ;
17262 wxColour
*arg4
= 0 ;
17263 wxDirection arg5
= (wxDirection
) wxEAST
;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 PyObject
* obj2
= 0 ;
17274 PyObject
* obj3
= 0 ;
17275 PyObject
* obj4
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17292 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17296 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17300 if (!SWIG_IsOK(ecode5
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17303 arg5
= static_cast< wxDirection
>(val5
);
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_Py_Void();
17318 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
= 0;
17320 wxDC
*arg1
= (wxDC
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 PyObject
* obj2
= 0 ;
17333 char * kwnames
[] = {
17334 (char *) "self",(char *) "x",(char *) "y", NULL
17337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17339 if (!SWIG_IsOK(res1
)) {
17340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17344 if (!SWIG_IsOK(ecode2
)) {
17345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17347 arg2
= static_cast< int >(val2
);
17348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17349 if (!SWIG_IsOK(ecode3
)) {
17350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17352 arg3
= static_cast< int >(val3
);
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17366 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
= 0;
17368 wxDC
*arg1
= (wxDC
*) 0 ;
17369 wxPoint
*arg2
= 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char * kwnames
[] = {
17377 (char *) "self",(char *) "pt", NULL
17380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17382 if (!SWIG_IsOK(res1
)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17403 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
= 0;
17405 wxDC
*arg1
= (wxDC
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 PyObject
* obj2
= 0 ;
17423 PyObject
* obj3
= 0 ;
17424 PyObject
* obj4
= 0 ;
17425 char * kwnames
[] = {
17426 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17431 if (!SWIG_IsOK(res1
)) {
17432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17436 if (!SWIG_IsOK(ecode2
)) {
17437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17439 arg2
= static_cast< int >(val2
);
17440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17441 if (!SWIG_IsOK(ecode3
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17444 arg3
= static_cast< int >(val3
);
17445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17446 if (!SWIG_IsOK(ecode4
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17449 arg4
= static_cast< int >(val4
);
17450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17451 if (!SWIG_IsOK(ecode5
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17454 arg5
= static_cast< int >(val5
);
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= SWIG_Py_Void();
17468 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
= 0;
17470 wxDC
*arg1
= (wxDC
*) 0 ;
17471 wxPoint
*arg2
= 0 ;
17472 wxPoint
*arg3
= 0 ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 PyObject
* obj2
= 0 ;
17480 char * kwnames
[] = {
17481 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17486 if (!SWIG_IsOK(res1
)) {
17487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= SWIG_Py_Void();
17511 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
= 0;
17513 wxDC
*arg1
= (wxDC
*) 0 ;
17522 PyObject
* obj0
= 0 ;
17523 PyObject
* obj1
= 0 ;
17524 PyObject
* obj2
= 0 ;
17525 char * kwnames
[] = {
17526 (char *) "self",(char *) "x",(char *) "y", NULL
17529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17531 if (!SWIG_IsOK(res1
)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17536 if (!SWIG_IsOK(ecode2
)) {
17537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17539 arg2
= static_cast< int >(val2
);
17540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17541 if (!SWIG_IsOK(ecode3
)) {
17542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17544 arg3
= static_cast< int >(val3
);
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->CrossHair(arg2
,arg3
);
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= SWIG_Py_Void();
17558 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
= 0;
17560 wxDC
*arg1
= (wxDC
*) 0 ;
17561 wxPoint
*arg2
= 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char * kwnames
[] = {
17568 (char *) "self",(char *) "pt", NULL
17571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17573 if (!SWIG_IsOK(res1
)) {
17574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_Py_Void();
17594 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
= 0;
17596 wxDC
*arg1
= (wxDC
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 PyObject
* obj2
= 0 ;
17620 PyObject
* obj3
= 0 ;
17621 PyObject
* obj4
= 0 ;
17622 PyObject
* obj5
= 0 ;
17623 PyObject
* obj6
= 0 ;
17624 char * kwnames
[] = {
17625 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17630 if (!SWIG_IsOK(res1
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17635 if (!SWIG_IsOK(ecode2
)) {
17636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17638 arg2
= static_cast< int >(val2
);
17639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17640 if (!SWIG_IsOK(ecode3
)) {
17641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17643 arg3
= static_cast< int >(val3
);
17644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17645 if (!SWIG_IsOK(ecode4
)) {
17646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17648 arg4
= static_cast< int >(val4
);
17649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17650 if (!SWIG_IsOK(ecode5
)) {
17651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17653 arg5
= static_cast< int >(val5
);
17654 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17655 if (!SWIG_IsOK(ecode6
)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17658 arg6
= static_cast< int >(val6
);
17659 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17660 if (!SWIG_IsOK(ecode7
)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17663 arg7
= static_cast< int >(val7
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_Py_Void();
17677 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
= 0;
17679 wxDC
*arg1
= (wxDC
*) 0 ;
17680 wxPoint
*arg2
= 0 ;
17681 wxPoint
*arg3
= 0 ;
17682 wxPoint
*arg4
= 0 ;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 PyObject
* obj2
= 0 ;
17691 PyObject
* obj3
= 0 ;
17692 char * kwnames
[] = {
17693 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17698 if (!SWIG_IsOK(res1
)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17704 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17708 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= SWIG_Py_Void();
17727 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
= 0;
17729 wxDC
*arg1
= (wxDC
*) 0 ;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 PyObject
* obj2
= 0 ;
17747 PyObject
* obj3
= 0 ;
17748 PyObject
* obj4
= 0 ;
17749 char * kwnames
[] = {
17750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17755 if (!SWIG_IsOK(res1
)) {
17756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17760 if (!SWIG_IsOK(ecode2
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17763 arg2
= static_cast< int >(val2
);
17764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17765 if (!SWIG_IsOK(ecode3
)) {
17766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17768 arg3
= static_cast< int >(val3
);
17769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17770 if (!SWIG_IsOK(ecode4
)) {
17771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17773 arg4
= static_cast< int >(val4
);
17774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17775 if (!SWIG_IsOK(ecode5
)) {
17776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17778 arg5
= static_cast< int >(val5
);
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= SWIG_Py_Void();
17792 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
= 0;
17794 wxDC
*arg1
= (wxDC
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 char * kwnames
[] = {
17802 (char *) "self",(char *) "rect", NULL
17805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17807 if (!SWIG_IsOK(res1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17813 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_Py_Void();
17828 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
= 0;
17830 wxDC
*arg1
= (wxDC
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 PyObject
* obj2
= 0 ;
17854 PyObject
* obj3
= 0 ;
17855 PyObject
* obj4
= 0 ;
17856 PyObject
* obj5
= 0 ;
17857 PyObject
* obj6
= 0 ;
17858 char * kwnames
[] = {
17859 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17864 if (!SWIG_IsOK(res1
)) {
17865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17869 if (!SWIG_IsOK(ecode2
)) {
17870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17872 arg2
= static_cast< int >(val2
);
17873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17874 if (!SWIG_IsOK(ecode3
)) {
17875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17877 arg3
= static_cast< int >(val3
);
17878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17879 if (!SWIG_IsOK(ecode4
)) {
17880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17882 arg4
= static_cast< int >(val4
);
17883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17884 if (!SWIG_IsOK(ecode5
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17887 arg5
= static_cast< int >(val5
);
17888 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17889 if (!SWIG_IsOK(ecode6
)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17892 arg6
= static_cast< double >(val6
);
17893 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17894 if (!SWIG_IsOK(ecode7
)) {
17895 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17897 arg7
= static_cast< double >(val7
);
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_Py_Void();
17911 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
= 0;
17913 wxDC
*arg1
= (wxDC
*) 0 ;
17914 wxPoint
*arg2
= 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 PyObject
* obj2
= 0 ;
17929 PyObject
* obj3
= 0 ;
17930 PyObject
* obj4
= 0 ;
17931 char * kwnames
[] = {
17932 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17947 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17949 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17950 if (!SWIG_IsOK(ecode4
)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17953 arg4
= static_cast< double >(val4
);
17954 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17955 if (!SWIG_IsOK(ecode5
)) {
17956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17958 arg5
= static_cast< double >(val5
);
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_Py_Void();
17972 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= 0;
17974 wxDC
*arg1
= (wxDC
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 PyObject
* obj2
= 0 ;
17986 char * kwnames
[] = {
17987 (char *) "self",(char *) "x",(char *) "y", NULL
17990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17992 if (!SWIG_IsOK(res1
)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17997 if (!SWIG_IsOK(ecode2
)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18000 arg2
= static_cast< int >(val2
);
18001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18002 if (!SWIG_IsOK(ecode3
)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18005 arg3
= static_cast< int >(val3
);
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->DrawPoint(arg2
,arg3
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= SWIG_Py_Void();
18019 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
= 0;
18021 wxDC
*arg1
= (wxDC
*) 0 ;
18022 wxPoint
*arg2
= 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char * kwnames
[] = {
18029 (char *) "self",(char *) "pt", NULL
18032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18034 if (!SWIG_IsOK(res1
)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_Py_Void();
18055 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
= 0;
18057 wxDC
*arg1
= (wxDC
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 PyObject
* obj3
= 0 ;
18076 PyObject
* obj4
= 0 ;
18077 char * kwnames
[] = {
18078 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18083 if (!SWIG_IsOK(res1
)) {
18084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18088 if (!SWIG_IsOK(ecode2
)) {
18089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18091 arg2
= static_cast< int >(val2
);
18092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18093 if (!SWIG_IsOK(ecode3
)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18096 arg3
= static_cast< int >(val3
);
18097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18098 if (!SWIG_IsOK(ecode4
)) {
18099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18101 arg4
= static_cast< int >(val4
);
18102 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18103 if (!SWIG_IsOK(ecode5
)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18106 arg5
= static_cast< int >(val5
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_Py_Void();
18120 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
= 0;
18122 wxDC
*arg1
= (wxDC
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "rect", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18141 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_Py_Void();
18156 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
= 0;
18158 wxDC
*arg1
= (wxDC
*) 0 ;
18159 wxPoint
*arg2
= 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 PyObject
* obj2
= 0 ;
18168 char * kwnames
[] = {
18169 (char *) "self",(char *) "pt",(char *) "sz", NULL
18172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18184 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_Py_Void();
18199 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxDC
*arg1
= (wxDC
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 PyObject
* obj3
= 0 ;
18223 PyObject
* obj4
= 0 ;
18224 PyObject
* obj5
= 0 ;
18225 char * kwnames
[] = {
18226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18234 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18236 if (!SWIG_IsOK(ecode2
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18239 arg2
= static_cast< int >(val2
);
18240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18241 if (!SWIG_IsOK(ecode3
)) {
18242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18244 arg3
= static_cast< int >(val3
);
18245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18246 if (!SWIG_IsOK(ecode4
)) {
18247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18249 arg4
= static_cast< int >(val4
);
18250 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18251 if (!SWIG_IsOK(ecode5
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18254 arg5
= static_cast< int >(val5
);
18255 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18256 if (!SWIG_IsOK(ecode6
)) {
18257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18259 arg6
= static_cast< double >(val6
);
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_Py_Void();
18273 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= 0;
18275 wxDC
*arg1
= (wxDC
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 PyObject
* obj2
= 0 ;
18286 char * kwnames
[] = {
18287 (char *) "self",(char *) "r",(char *) "radius", NULL
18290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18292 if (!SWIG_IsOK(res1
)) {
18293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18298 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18300 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18301 if (!SWIG_IsOK(ecode3
)) {
18302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18304 arg3
= static_cast< double >(val3
);
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_Py_Void();
18318 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
= 0;
18320 wxDC
*arg1
= (wxDC
*) 0 ;
18321 wxPoint
*arg2
= 0 ;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 PyObject
* obj2
= 0 ;
18333 PyObject
* obj3
= 0 ;
18334 char * kwnames
[] = {
18335 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18340 if (!SWIG_IsOK(res1
)) {
18341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18350 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18352 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18353 if (!SWIG_IsOK(ecode4
)) {
18354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18356 arg4
= static_cast< double >(val4
);
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_Py_Void();
18370 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
= 0;
18372 wxDC
*arg1
= (wxDC
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 PyObject
* obj1
= 0 ;
18386 PyObject
* obj2
= 0 ;
18387 PyObject
* obj3
= 0 ;
18388 char * kwnames
[] = {
18389 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18394 if (!SWIG_IsOK(res1
)) {
18395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18399 if (!SWIG_IsOK(ecode2
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18402 arg2
= static_cast< int >(val2
);
18403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18404 if (!SWIG_IsOK(ecode3
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18407 arg3
= static_cast< int >(val3
);
18408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18409 if (!SWIG_IsOK(ecode4
)) {
18410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18412 arg4
= static_cast< int >(val4
);
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_Py_Void();
18426 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
= 0;
18428 wxDC
*arg1
= (wxDC
*) 0 ;
18429 wxPoint
*arg2
= 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 PyObject
* obj2
= 0 ;
18439 char * kwnames
[] = {
18440 (char *) "self",(char *) "pt",(char *) "radius", NULL
18443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18445 if (!SWIG_IsOK(res1
)) {
18446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18451 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18454 if (!SWIG_IsOK(ecode3
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18457 arg3
= static_cast< int >(val3
);
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= SWIG_Py_Void();
18471 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
= 0;
18473 wxDC
*arg1
= (wxDC
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 PyObject
* obj2
= 0 ;
18491 PyObject
* obj3
= 0 ;
18492 PyObject
* obj4
= 0 ;
18493 char * kwnames
[] = {
18494 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18499 if (!SWIG_IsOK(res1
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18504 if (!SWIG_IsOK(ecode2
)) {
18505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18507 arg2
= static_cast< int >(val2
);
18508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18509 if (!SWIG_IsOK(ecode3
)) {
18510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18512 arg3
= static_cast< int >(val3
);
18513 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18514 if (!SWIG_IsOK(ecode4
)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18517 arg4
= static_cast< int >(val4
);
18518 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18519 if (!SWIG_IsOK(ecode5
)) {
18520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18522 arg5
= static_cast< int >(val5
);
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_Py_Void();
18536 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
= 0;
18538 wxDC
*arg1
= (wxDC
*) 0 ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 char * kwnames
[] = {
18546 (char *) "self",(char *) "rect", NULL
18549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18551 if (!SWIG_IsOK(res1
)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_Py_Void();
18572 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
= 0;
18574 wxDC
*arg1
= (wxDC
*) 0 ;
18575 wxPoint
*arg2
= 0 ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 PyObject
* obj2
= 0 ;
18584 char * kwnames
[] = {
18585 (char *) "self",(char *) "pt",(char *) "sz", NULL
18588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18590 if (!SWIG_IsOK(res1
)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18600 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_Py_Void();
18615 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
= 0;
18617 wxDC
*arg1
= (wxDC
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 PyObject
* obj2
= 0 ;
18632 PyObject
* obj3
= 0 ;
18633 char * kwnames
[] = {
18634 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18639 if (!SWIG_IsOK(res1
)) {
18640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18644 if (!SWIG_IsOK(res2
)) {
18645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18650 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18652 if (!SWIG_IsOK(ecode3
)) {
18653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18655 arg3
= static_cast< int >(val3
);
18656 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18657 if (!SWIG_IsOK(ecode4
)) {
18658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18660 arg4
= static_cast< int >(val4
);
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_Py_Void();
18674 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= 0;
18676 wxDC
*arg1
= (wxDC
*) 0 ;
18678 wxPoint
*arg3
= 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 PyObject
* obj2
= 0 ;
18687 char * kwnames
[] = {
18688 (char *) "self",(char *) "icon",(char *) "pt", NULL
18691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18693 if (!SWIG_IsOK(res1
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18698 if (!SWIG_IsOK(res2
)) {
18699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18704 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_Py_Void();
18722 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
= 0;
18724 wxDC
*arg1
= (wxDC
*) 0 ;
18725 wxBitmap
*arg2
= 0 ;
18728 bool arg5
= (bool) false ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 PyObject
* obj3
= 0 ;
18743 PyObject
* obj4
= 0 ;
18744 char * kwnames
[] = {
18745 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18755 if (!SWIG_IsOK(res2
)) {
18756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18761 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18763 if (!SWIG_IsOK(ecode3
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18766 arg3
= static_cast< int >(val3
);
18767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18768 if (!SWIG_IsOK(ecode4
)) {
18769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18771 arg4
= static_cast< int >(val4
);
18773 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18774 if (!SWIG_IsOK(ecode5
)) {
18775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18777 arg5
= static_cast< bool >(val5
);
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= SWIG_Py_Void();
18792 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
= 0;
18794 wxDC
*arg1
= (wxDC
*) 0 ;
18795 wxBitmap
*arg2
= 0 ;
18796 wxPoint
*arg3
= 0 ;
18797 bool arg4
= (bool) false ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 PyObject
* obj2
= 0 ;
18808 PyObject
* obj3
= 0 ;
18809 char * kwnames
[] = {
18810 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18815 if (!SWIG_IsOK(res1
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18820 if (!SWIG_IsOK(res2
)) {
18821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18826 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18832 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18833 if (!SWIG_IsOK(ecode4
)) {
18834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18836 arg4
= static_cast< bool >(val4
);
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_Py_Void();
18851 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
= 0;
18853 wxDC
*arg1
= (wxDC
*) 0 ;
18854 wxString
*arg2
= 0 ;
18859 bool temp2
= false ;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 PyObject
* obj2
= 0 ;
18867 PyObject
* obj3
= 0 ;
18868 char * kwnames
[] = {
18869 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18879 arg2
= wxString_in_helper(obj1
);
18880 if (arg2
== NULL
) SWIG_fail
;
18883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18884 if (!SWIG_IsOK(ecode3
)) {
18885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18887 arg3
= static_cast< int >(val3
);
18888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18889 if (!SWIG_IsOK(ecode4
)) {
18890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18892 arg4
= static_cast< int >(val4
);
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_Py_Void();
18914 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
= 0;
18916 wxDC
*arg1
= (wxDC
*) 0 ;
18917 wxString
*arg2
= 0 ;
18918 wxPoint
*arg3
= 0 ;
18921 bool temp2
= false ;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 PyObject
* obj2
= 0 ;
18926 char * kwnames
[] = {
18927 (char *) "self",(char *) "text",(char *) "pt", NULL
18930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18937 arg2
= wxString_in_helper(obj1
);
18938 if (arg2
== NULL
) SWIG_fail
;
18943 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
= 0;
18968 wxDC
*arg1
= (wxDC
*) 0 ;
18969 wxString
*arg2
= 0 ;
18975 bool temp2
= false ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 PyObject
* obj2
= 0 ;
18985 PyObject
* obj3
= 0 ;
18986 PyObject
* obj4
= 0 ;
18987 char * kwnames
[] = {
18988 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18993 if (!SWIG_IsOK(res1
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18998 arg2
= wxString_in_helper(obj1
);
18999 if (arg2
== NULL
) SWIG_fail
;
19002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19003 if (!SWIG_IsOK(ecode3
)) {
19004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19006 arg3
= static_cast< int >(val3
);
19007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19008 if (!SWIG_IsOK(ecode4
)) {
19009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19011 arg4
= static_cast< int >(val4
);
19012 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19013 if (!SWIG_IsOK(ecode5
)) {
19014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19016 arg5
= static_cast< double >(val5
);
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 resultobj
= SWIG_Py_Void();
19038 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
= 0;
19040 wxDC
*arg1
= (wxDC
*) 0 ;
19041 wxString
*arg2
= 0 ;
19042 wxPoint
*arg3
= 0 ;
19046 bool temp2
= false ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 PyObject
* obj2
= 0 ;
19053 PyObject
* obj3
= 0 ;
19054 char * kwnames
[] = {
19055 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19060 if (!SWIG_IsOK(res1
)) {
19061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19065 arg2
= wxString_in_helper(obj1
);
19066 if (arg2
== NULL
) SWIG_fail
;
19071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19073 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19074 if (!SWIG_IsOK(ecode4
)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19077 arg4
= static_cast< double >(val4
);
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_Py_Void();
19099 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
= 0;
19101 wxDC
*arg1
= (wxDC
*) 0 ;
19106 wxDC
*arg6
= (wxDC
*) 0 ;
19109 int arg9
= (int) wxCOPY
;
19110 bool arg10
= (bool) false ;
19111 int arg11
= (int) -1 ;
19112 int arg12
= (int) -1 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 PyObject
* obj2
= 0 ;
19141 PyObject
* obj3
= 0 ;
19142 PyObject
* obj4
= 0 ;
19143 PyObject
* obj5
= 0 ;
19144 PyObject
* obj6
= 0 ;
19145 PyObject
* obj7
= 0 ;
19146 PyObject
* obj8
= 0 ;
19147 PyObject
* obj9
= 0 ;
19148 PyObject
* obj10
= 0 ;
19149 PyObject
* obj11
= 0 ;
19150 char * kwnames
[] = {
19151 (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
19154 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
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19161 if (!SWIG_IsOK(ecode2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19164 arg2
= static_cast< int >(val2
);
19165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19166 if (!SWIG_IsOK(ecode3
)) {
19167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19169 arg3
= static_cast< int >(val3
);
19170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19171 if (!SWIG_IsOK(ecode4
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19174 arg4
= static_cast< int >(val4
);
19175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19176 if (!SWIG_IsOK(ecode5
)) {
19177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19179 arg5
= static_cast< int >(val5
);
19180 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19181 if (!SWIG_IsOK(res6
)) {
19182 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19184 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19185 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19186 if (!SWIG_IsOK(ecode7
)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19189 arg7
= static_cast< int >(val7
);
19190 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19191 if (!SWIG_IsOK(ecode8
)) {
19192 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19194 arg8
= static_cast< int >(val8
);
19196 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19197 if (!SWIG_IsOK(ecode9
)) {
19198 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19200 arg9
= static_cast< int >(val9
);
19203 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19204 if (!SWIG_IsOK(ecode10
)) {
19205 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19207 arg10
= static_cast< bool >(val10
);
19210 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19211 if (!SWIG_IsOK(ecode11
)) {
19212 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19214 arg11
= static_cast< int >(val11
);
19217 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19218 if (!SWIG_IsOK(ecode12
)) {
19219 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19221 arg12
= static_cast< int >(val12
);
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19238 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
= 0;
19240 wxDC
*arg1
= (wxDC
*) 0 ;
19241 wxPoint
*arg2
= 0 ;
19243 wxDC
*arg4
= (wxDC
*) 0 ;
19244 wxPoint
*arg5
= 0 ;
19245 int arg6
= (int) wxCOPY
;
19246 bool arg7
= (bool) false ;
19247 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19248 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 PyObject
* obj2
= 0 ;
19265 PyObject
* obj3
= 0 ;
19266 PyObject
* obj4
= 0 ;
19267 PyObject
* obj5
= 0 ;
19268 PyObject
* obj6
= 0 ;
19269 PyObject
* obj7
= 0 ;
19270 char * kwnames
[] = {
19271 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19286 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19288 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19289 if (!SWIG_IsOK(res4
)) {
19290 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19292 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19295 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19298 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19299 if (!SWIG_IsOK(ecode6
)) {
19300 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19302 arg6
= static_cast< int >(val6
);
19305 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19306 if (!SWIG_IsOK(ecode7
)) {
19307 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19309 arg7
= static_cast< bool >(val7
);
19314 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19332 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
= 0;
19334 wxDC
*arg1
= (wxDC
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 PyObject
* obj2
= 0 ;
19352 PyObject
* obj3
= 0 ;
19353 PyObject
* obj4
= 0 ;
19354 char * kwnames
[] = {
19355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19360 if (!SWIG_IsOK(res1
)) {
19361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19365 if (!SWIG_IsOK(ecode2
)) {
19366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19368 arg2
= static_cast< int >(val2
);
19369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19370 if (!SWIG_IsOK(ecode3
)) {
19371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19373 arg3
= static_cast< int >(val3
);
19374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19375 if (!SWIG_IsOK(ecode4
)) {
19376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19378 arg4
= static_cast< int >(val4
);
19379 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19380 if (!SWIG_IsOK(ecode5
)) {
19381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19383 arg5
= static_cast< int >(val5
);
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_Py_Void();
19397 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= 0;
19399 wxDC
*arg1
= (wxDC
*) 0 ;
19400 wxPoint
*arg2
= 0 ;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 PyObject
* obj2
= 0 ;
19409 char * kwnames
[] = {
19410 (char *) "self",(char *) "pt",(char *) "sz", NULL
19413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19415 if (!SWIG_IsOK(res1
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19425 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= SWIG_Py_Void();
19440 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
= 0;
19442 wxDC
*arg1
= (wxDC
*) 0 ;
19443 wxRegion
*arg2
= 0 ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char * kwnames
[] = {
19451 (char *) "self",(char *) "region", NULL
19454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19456 if (!SWIG_IsOK(res1
)) {
19457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19461 if (!SWIG_IsOK(res2
)) {
19462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19467 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_Py_Void();
19481 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
= 0;
19483 wxDC
*arg1
= (wxDC
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 char * kwnames
[] = {
19491 (char *) "self",(char *) "rect", NULL
19494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19496 if (!SWIG_IsOK(res1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19502 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19517 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= 0;
19519 wxDC
*arg1
= (wxDC
*) 0 ;
19521 wxPoint
*arg3
= (wxPoint
*) 0 ;
19522 int arg4
= (int) 0 ;
19523 int arg5
= (int) 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 PyObject
* obj3
= 0 ;
19534 char * kwnames
[] = {
19535 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19540 if (!SWIG_IsOK(res1
)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19545 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19546 if (arg3
== NULL
) SWIG_fail
;
19549 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19550 if (!SWIG_IsOK(ecode4
)) {
19551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19553 arg4
= static_cast< int >(val4
);
19556 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19557 if (!SWIG_IsOK(ecode5
)) {
19558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19560 arg5
= static_cast< int >(val5
);
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= SWIG_Py_Void();
19570 if (arg3
) delete [] arg3
;
19575 if (arg3
) delete [] arg3
;
19581 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
= 0;
19583 wxDC
*arg1
= (wxDC
*) 0 ;
19585 wxPoint
*arg3
= (wxPoint
*) 0 ;
19586 int arg4
= (int) 0 ;
19587 int arg5
= (int) 0 ;
19588 int arg6
= (int) wxODDEVEN_RULE
;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 PyObject
* obj2
= 0 ;
19600 PyObject
* obj3
= 0 ;
19601 PyObject
* obj4
= 0 ;
19602 char * kwnames
[] = {
19603 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19608 if (!SWIG_IsOK(res1
)) {
19609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19613 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19614 if (arg3
== NULL
) SWIG_fail
;
19617 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19618 if (!SWIG_IsOK(ecode4
)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19621 arg4
= static_cast< int >(val4
);
19624 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19625 if (!SWIG_IsOK(ecode5
)) {
19626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19628 arg5
= static_cast< int >(val5
);
19631 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19632 if (!SWIG_IsOK(ecode6
)) {
19633 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19635 arg6
= static_cast< int >(val6
);
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_Py_Void();
19645 if (arg3
) delete [] arg3
;
19650 if (arg3
) delete [] arg3
;
19656 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
= 0;
19658 wxDC
*arg1
= (wxDC
*) 0 ;
19659 wxString
*arg2
= 0 ;
19661 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19662 int arg5
= (int) -1 ;
19665 bool temp2
= false ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 PyObject
* obj2
= 0 ;
19674 PyObject
* obj3
= 0 ;
19675 PyObject
* obj4
= 0 ;
19676 char * kwnames
[] = {
19677 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19682 if (!SWIG_IsOK(res1
)) {
19683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19687 arg2
= wxString_in_helper(obj1
);
19688 if (arg2
== NULL
) SWIG_fail
;
19693 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19697 if (!SWIG_IsOK(ecode4
)) {
19698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19700 arg4
= static_cast< int >(val4
);
19703 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19704 if (!SWIG_IsOK(ecode5
)) {
19705 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19707 arg5
= static_cast< int >(val5
);
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
= 0;
19732 wxDC
*arg1
= (wxDC
*) 0 ;
19733 wxString
*arg2
= 0 ;
19734 wxBitmap
*arg3
= 0 ;
19736 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19737 int arg6
= (int) -1 ;
19741 bool temp2
= false ;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 PyObject
* obj2
= 0 ;
19752 PyObject
* obj3
= 0 ;
19753 PyObject
* obj4
= 0 ;
19754 PyObject
* obj5
= 0 ;
19755 char * kwnames
[] = {
19756 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19761 if (!SWIG_IsOK(res1
)) {
19762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19766 arg2
= wxString_in_helper(obj1
);
19767 if (arg2
== NULL
) SWIG_fail
;
19770 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19771 if (!SWIG_IsOK(res3
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19777 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19780 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19783 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19784 if (!SWIG_IsOK(ecode5
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19787 arg5
= static_cast< int >(val5
);
19790 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19791 if (!SWIG_IsOK(ecode6
)) {
19792 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19794 arg6
= static_cast< int >(val6
);
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19817 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
= 0;
19819 wxDC
*arg1
= (wxDC
*) 0 ;
19821 wxPoint
*arg3
= (wxPoint
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char * kwnames
[] = {
19827 (char *) "self",(char *) "points", NULL
19830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19832 if (!SWIG_IsOK(res1
)) {
19833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19837 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19838 if (arg3
== NULL
) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 (arg1
)->DrawSpline(arg2
,arg3
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_Py_Void();
19848 if (arg3
) delete [] arg3
;
19853 if (arg3
) delete [] arg3
;
19859 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19860 PyObject
*resultobj
= 0;
19861 wxDC
*arg1
= (wxDC
*) 0 ;
19864 PyObject
*swig_obj
[1] ;
19866 if (!args
) SWIG_fail
;
19867 swig_obj
[0] = args
;
19868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19869 if (!SWIG_IsOK(res1
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= SWIG_Py_Void();
19886 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
= 0;
19888 wxDC
*arg1
= (wxDC
*) 0 ;
19889 wxString
*arg2
= 0 ;
19893 bool temp2
= false ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "message", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19907 arg2
= wxString_in_helper(obj1
);
19908 if (arg2
== NULL
) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19934 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19935 PyObject
*resultobj
= 0;
19936 wxDC
*arg1
= (wxDC
*) 0 ;
19939 PyObject
*swig_obj
[1] ;
19941 if (!args
) SWIG_fail
;
19942 swig_obj
[0] = args
;
19943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19944 if (!SWIG_IsOK(res1
)) {
19945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= SWIG_Py_Void();
19961 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19962 PyObject
*resultobj
= 0;
19963 wxDC
*arg1
= (wxDC
*) 0 ;
19966 PyObject
*swig_obj
[1] ;
19968 if (!args
) SWIG_fail
;
19969 swig_obj
[0] = args
;
19970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19971 if (!SWIG_IsOK(res1
)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 (arg1
)->StartPage();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_Py_Void();
19988 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19989 PyObject
*resultobj
= 0;
19990 wxDC
*arg1
= (wxDC
*) 0 ;
19993 PyObject
*swig_obj
[1] ;
19995 if (!args
) SWIG_fail
;
19996 swig_obj
[0] = args
;
19997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19998 if (!SWIG_IsOK(res1
)) {
19999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_Py_Void();
20015 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
= 0;
20017 wxDC
*arg1
= (wxDC
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char * kwnames
[] = {
20026 (char *) "self",(char *) "font", NULL
20029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20031 if (!SWIG_IsOK(res1
)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20036 if (!SWIG_IsOK(res2
)) {
20037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20042 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 (arg1
)->SetFont((wxFont
const &)*arg2
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= SWIG_Py_Void();
20056 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
= 0;
20058 wxDC
*arg1
= (wxDC
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 char * kwnames
[] = {
20067 (char *) "self",(char *) "pen", NULL
20070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20072 if (!SWIG_IsOK(res1
)) {
20073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20077 if (!SWIG_IsOK(res2
)) {
20078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20083 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 (arg1
)->SetPen((wxPen
const &)*arg2
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_Py_Void();
20097 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
= 0;
20099 wxDC
*arg1
= (wxDC
*) 0 ;
20100 wxBrush
*arg2
= 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 char * kwnames
[] = {
20108 (char *) "self",(char *) "brush", NULL
20111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20113 if (!SWIG_IsOK(res1
)) {
20114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20118 if (!SWIG_IsOK(res2
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20124 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_Py_Void();
20138 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
= 0;
20140 wxDC
*arg1
= (wxDC
*) 0 ;
20141 wxBrush
*arg2
= 0 ;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20148 char * kwnames
[] = {
20149 (char *) "self",(char *) "brush", NULL
20152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20159 if (!SWIG_IsOK(res2
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20165 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= SWIG_Py_Void();
20179 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= 0;
20181 wxDC
*arg1
= (wxDC
*) 0 ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char * kwnames
[] = {
20190 (char *) "self",(char *) "mode", NULL
20193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20195 if (!SWIG_IsOK(res1
)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20200 if (!SWIG_IsOK(ecode2
)) {
20201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20203 arg2
= static_cast< int >(val2
);
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 (arg1
)->SetBackgroundMode(arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_Py_Void();
20217 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxDC
*arg1
= (wxDC
*) 0 ;
20220 wxPalette
*arg2
= 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char * kwnames
[] = {
20228 (char *) "self",(char *) "palette", NULL
20231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20238 if (!SWIG_IsOK(res2
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20244 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_Py_Void();
20258 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20259 PyObject
*resultobj
= 0;
20260 wxDC
*arg1
= (wxDC
*) 0 ;
20263 PyObject
*swig_obj
[1] ;
20265 if (!args
) SWIG_fail
;
20266 swig_obj
[0] = args
;
20267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20268 if (!SWIG_IsOK(res1
)) {
20269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->DestroyClippingRegion();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 resultobj
= SWIG_Py_Void();
20285 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20286 PyObject
*resultobj
= 0;
20287 wxDC
*arg1
= (wxDC
*) 0 ;
20288 int *arg2
= (int *) 0 ;
20289 int *arg3
= (int *) 0 ;
20290 int *arg4
= (int *) 0 ;
20291 int *arg5
= (int *) 0 ;
20295 int res2
= SWIG_TMPOBJ
;
20297 int res3
= SWIG_TMPOBJ
;
20299 int res4
= SWIG_TMPOBJ
;
20301 int res5
= SWIG_TMPOBJ
;
20302 PyObject
*swig_obj
[1] ;
20308 if (!args
) SWIG_fail
;
20309 swig_obj
[0] = args
;
20310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20311 if (!SWIG_IsOK(res1
)) {
20312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 resultobj
= SWIG_Py_Void();
20322 if (SWIG_IsTmpObj(res2
)) {
20323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20325 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20328 if (SWIG_IsTmpObj(res3
)) {
20329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20331 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20334 if (SWIG_IsTmpObj(res4
)) {
20335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20337 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20340 if (SWIG_IsTmpObj(res5
)) {
20341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20343 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20352 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20353 PyObject
*resultobj
= 0;
20354 wxDC
*arg1
= (wxDC
*) 0 ;
20358 PyObject
*swig_obj
[1] ;
20360 if (!args
) SWIG_fail
;
20361 swig_obj
[0] = args
;
20362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20363 if (!SWIG_IsOK(res1
)) {
20364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= wxDC_GetClippingRect(arg1
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20380 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20381 PyObject
*resultobj
= 0;
20382 wxDC
*arg1
= (wxDC
*) 0 ;
20386 PyObject
*swig_obj
[1] ;
20388 if (!args
) SWIG_fail
;
20389 swig_obj
[0] = args
;
20390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20391 if (!SWIG_IsOK(res1
)) {
20392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= SWIG_From_int(static_cast< int >(result
));
20408 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20409 PyObject
*resultobj
= 0;
20410 wxDC
*arg1
= (wxDC
*) 0 ;
20414 PyObject
*swig_obj
[1] ;
20416 if (!args
) SWIG_fail
;
20417 swig_obj
[0] = args
;
20418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20419 if (!SWIG_IsOK(res1
)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= SWIG_From_int(static_cast< int >(result
));
20436 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
= 0;
20438 wxDC
*arg1
= (wxDC
*) 0 ;
20439 wxString
*arg2
= 0 ;
20440 int *arg3
= (int *) 0 ;
20441 int *arg4
= (int *) 0 ;
20444 bool temp2
= false ;
20446 int res3
= SWIG_TMPOBJ
;
20448 int res4
= SWIG_TMPOBJ
;
20449 PyObject
* obj0
= 0 ;
20450 PyObject
* obj1
= 0 ;
20451 char * kwnames
[] = {
20452 (char *) "self",(char *) "string", NULL
20457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20459 if (!SWIG_IsOK(res1
)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20464 arg2
= wxString_in_helper(obj1
);
20465 if (arg2
== NULL
) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= SWIG_Py_Void();
20475 if (SWIG_IsTmpObj(res3
)) {
20476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20478 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20481 if (SWIG_IsTmpObj(res4
)) {
20482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20484 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20501 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
= 0;
20503 wxDC
*arg1
= (wxDC
*) 0 ;
20504 wxString
*arg2
= 0 ;
20505 int *arg3
= (int *) 0 ;
20506 int *arg4
= (int *) 0 ;
20507 int *arg5
= (int *) 0 ;
20508 int *arg6
= (int *) 0 ;
20509 wxFont
*arg7
= (wxFont
*) NULL
;
20512 bool temp2
= false ;
20514 int res3
= SWIG_TMPOBJ
;
20516 int res4
= SWIG_TMPOBJ
;
20518 int res5
= SWIG_TMPOBJ
;
20520 int res6
= SWIG_TMPOBJ
;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 PyObject
* obj2
= 0 ;
20526 char * kwnames
[] = {
20527 (char *) "self",(char *) "string",(char *) "font", NULL
20534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20536 if (!SWIG_IsOK(res1
)) {
20537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20541 arg2
= wxString_in_helper(obj1
);
20542 if (arg2
== NULL
) SWIG_fail
;
20546 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20547 if (!SWIG_IsOK(res7
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20550 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_Py_Void();
20559 if (SWIG_IsTmpObj(res3
)) {
20560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20562 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20565 if (SWIG_IsTmpObj(res4
)) {
20566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20568 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20571 if (SWIG_IsTmpObj(res5
)) {
20572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20574 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20577 if (SWIG_IsTmpObj(res6
)) {
20578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20580 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20597 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxDC
*arg1
= (wxDC
*) 0 ;
20600 wxString
*arg2
= 0 ;
20601 int *arg3
= (int *) 0 ;
20602 int *arg4
= (int *) 0 ;
20603 int *arg5
= (int *) 0 ;
20604 wxFont
*arg6
= (wxFont
*) NULL
;
20607 bool temp2
= false ;
20609 int res3
= SWIG_TMPOBJ
;
20611 int res4
= SWIG_TMPOBJ
;
20613 int res5
= SWIG_TMPOBJ
;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 PyObject
* obj2
= 0 ;
20619 char * kwnames
[] = {
20620 (char *) "self",(char *) "text",(char *) "font", NULL
20626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20628 if (!SWIG_IsOK(res1
)) {
20629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20633 arg2
= wxString_in_helper(obj1
);
20634 if (arg2
== NULL
) SWIG_fail
;
20638 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20639 if (!SWIG_IsOK(res6
)) {
20640 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20642 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_Py_Void();
20651 if (SWIG_IsTmpObj(res3
)) {
20652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20654 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20657 if (SWIG_IsTmpObj(res4
)) {
20658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20660 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20663 if (SWIG_IsTmpObj(res5
)) {
20664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20666 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20683 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxDC
*arg1
= (wxDC
*) 0 ;
20686 wxString
*arg2
= 0 ;
20690 bool temp2
= false ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char * kwnames
[] = {
20694 (char *) "self",(char *) "text", NULL
20697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20699 if (!SWIG_IsOK(res1
)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20704 arg2
= wxString_in_helper(obj1
);
20705 if (arg2
== NULL
) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= PyList_New(0);
20717 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20718 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20719 PyList_Append(resultobj
, val
);
20737 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20738 PyObject
*resultobj
= 0;
20739 wxDC
*arg1
= (wxDC
*) 0 ;
20743 PyObject
*swig_obj
[1] ;
20745 if (!args
) SWIG_fail
;
20746 swig_obj
[0] = args
;
20747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20748 if (!SWIG_IsOK(res1
)) {
20749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (arg1
)->GetSize();
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20765 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20766 PyObject
*resultobj
= 0;
20767 wxDC
*arg1
= (wxDC
*) 0 ;
20768 int *arg2
= (int *) 0 ;
20769 int *arg3
= (int *) 0 ;
20773 int res2
= SWIG_TMPOBJ
;
20775 int res3
= SWIG_TMPOBJ
;
20776 PyObject
*swig_obj
[1] ;
20780 if (!args
) SWIG_fail
;
20781 swig_obj
[0] = args
;
20782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20783 if (!SWIG_IsOK(res1
)) {
20784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 (arg1
)->GetSize(arg2
,arg3
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_Py_Void();
20794 if (SWIG_IsTmpObj(res2
)) {
20795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20797 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20800 if (SWIG_IsTmpObj(res3
)) {
20801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20803 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20812 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20813 PyObject
*resultobj
= 0;
20814 wxDC
*arg1
= (wxDC
*) 0 ;
20818 PyObject
*swig_obj
[1] ;
20820 if (!args
) SWIG_fail
;
20821 swig_obj
[0] = args
;
20822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20823 if (!SWIG_IsOK(res1
)) {
20824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20840 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20841 PyObject
*resultobj
= 0;
20842 wxDC
*arg1
= (wxDC
*) 0 ;
20843 int *arg2
= (int *) 0 ;
20844 int *arg3
= (int *) 0 ;
20848 int res2
= SWIG_TMPOBJ
;
20850 int res3
= SWIG_TMPOBJ
;
20851 PyObject
*swig_obj
[1] ;
20855 if (!args
) SWIG_fail
;
20856 swig_obj
[0] = args
;
20857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_Py_Void();
20869 if (SWIG_IsTmpObj(res2
)) {
20870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20872 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20875 if (SWIG_IsTmpObj(res3
)) {
20876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20878 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20887 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
= 0;
20889 wxDC
*arg1
= (wxDC
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 char * kwnames
[] = {
20899 (char *) "self",(char *) "x", NULL
20902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20909 if (!SWIG_IsOK(ecode2
)) {
20910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20912 arg2
= static_cast< int >(val2
);
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_From_int(static_cast< int >(result
));
20926 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
= 0;
20928 wxDC
*arg1
= (wxDC
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 char * kwnames
[] = {
20938 (char *) "self",(char *) "y", NULL
20941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20943 if (!SWIG_IsOK(res1
)) {
20944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20948 if (!SWIG_IsOK(ecode2
)) {
20949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20951 arg2
= static_cast< int >(val2
);
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_From_int(static_cast< int >(result
));
20965 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
= 0;
20967 wxDC
*arg1
= (wxDC
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "x", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20987 if (!SWIG_IsOK(ecode2
)) {
20988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20990 arg2
= static_cast< int >(val2
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_From_int(static_cast< int >(result
));
21004 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
= 0;
21006 wxDC
*arg1
= (wxDC
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 char * kwnames
[] = {
21016 (char *) "self",(char *) "y", NULL
21019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21021 if (!SWIG_IsOK(res1
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21026 if (!SWIG_IsOK(ecode2
)) {
21027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21029 arg2
= static_cast< int >(val2
);
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_From_int(static_cast< int >(result
));
21043 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
= 0;
21045 wxDC
*arg1
= (wxDC
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char * kwnames
[] = {
21055 (char *) "self",(char *) "x", NULL
21058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21060 if (!SWIG_IsOK(res1
)) {
21061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21065 if (!SWIG_IsOK(ecode2
)) {
21066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21068 arg2
= static_cast< int >(val2
);
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_From_int(static_cast< int >(result
));
21082 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
= 0;
21084 wxDC
*arg1
= (wxDC
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21093 char * kwnames
[] = {
21094 (char *) "self",(char *) "y", NULL
21097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21099 if (!SWIG_IsOK(res1
)) {
21100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21104 if (!SWIG_IsOK(ecode2
)) {
21105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21107 arg2
= static_cast< int >(val2
);
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_From_int(static_cast< int >(result
));
21121 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
= 0;
21123 wxDC
*arg1
= (wxDC
*) 0 ;
21130 PyObject
* obj0
= 0 ;
21131 PyObject
* obj1
= 0 ;
21132 char * kwnames
[] = {
21133 (char *) "self",(char *) "x", NULL
21136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21138 if (!SWIG_IsOK(res1
)) {
21139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21143 if (!SWIG_IsOK(ecode2
)) {
21144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21146 arg2
= static_cast< int >(val2
);
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_From_int(static_cast< int >(result
));
21160 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
= 0;
21162 wxDC
*arg1
= (wxDC
*) 0 ;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 char * kwnames
[] = {
21172 (char *) "self",(char *) "y", NULL
21175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21177 if (!SWIG_IsOK(res1
)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21182 if (!SWIG_IsOK(ecode2
)) {
21183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21185 arg2
= static_cast< int >(val2
);
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= SWIG_From_int(static_cast< int >(result
));
21199 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21200 PyObject
*resultobj
= 0;
21201 wxDC
*arg1
= (wxDC
*) 0 ;
21205 PyObject
*swig_obj
[1] ;
21207 if (!args
) SWIG_fail
;
21208 swig_obj
[0] = args
;
21209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21210 if (!SWIG_IsOK(res1
)) {
21211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21229 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21230 PyObject
*resultobj
= 0;
21231 wxDC
*arg1
= (wxDC
*) 0 ;
21235 PyObject
*swig_obj
[1] ;
21237 if (!args
) SWIG_fail
;
21238 swig_obj
[0] = args
;
21239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21259 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21260 PyObject
*resultobj
= 0;
21261 wxDC
*arg1
= (wxDC
*) 0 ;
21265 PyObject
*swig_obj
[1] ;
21267 if (!args
) SWIG_fail
;
21268 swig_obj
[0] = args
;
21269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21270 if (!SWIG_IsOK(res1
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_From_int(static_cast< int >(result
));
21287 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21288 PyObject
*resultobj
= 0;
21289 wxDC
*arg1
= (wxDC
*) 0 ;
21293 PyObject
*swig_obj
[1] ;
21295 if (!args
) SWIG_fail
;
21296 swig_obj
[0] = args
;
21297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21298 if (!SWIG_IsOK(res1
)) {
21299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= ((wxDC
const *)arg1
)->GetPPI();
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21315 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21316 PyObject
*resultobj
= 0;
21317 wxDC
*arg1
= (wxDC
*) 0 ;
21321 PyObject
*swig_obj
[1] ;
21323 if (!args
) SWIG_fail
;
21324 swig_obj
[0] = args
;
21325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21326 if (!SWIG_IsOK(res1
)) {
21327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (bool)((wxDC
const *)arg1
)->Ok();
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21345 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21346 PyObject
*resultobj
= 0;
21347 wxDC
*arg1
= (wxDC
*) 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_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= SWIG_From_int(static_cast< int >(result
));
21373 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21374 PyObject
*resultobj
= 0;
21375 wxDC
*arg1
= (wxDC
*) 0 ;
21376 wxBrush
*result
= 0 ;
21379 PyObject
*swig_obj
[1] ;
21381 if (!args
) SWIG_fail
;
21382 swig_obj
[0] = args
;
21383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21384 if (!SWIG_IsOK(res1
)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21392 result
= (wxBrush
*) &_result_ref
;
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 wxBrush
* resultptr
= new wxBrush(*result
);
21399 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21407 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21408 PyObject
*resultobj
= 0;
21409 wxDC
*arg1
= (wxDC
*) 0 ;
21410 wxBrush
*result
= 0 ;
21413 PyObject
*swig_obj
[1] ;
21415 if (!args
) SWIG_fail
;
21416 swig_obj
[0] = args
;
21417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21418 if (!SWIG_IsOK(res1
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21426 result
= (wxBrush
*) &_result_ref
;
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21432 wxBrush
* resultptr
= new wxBrush(*result
);
21433 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21441 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21442 PyObject
*resultobj
= 0;
21443 wxDC
*arg1
= (wxDC
*) 0 ;
21444 wxFont
*result
= 0 ;
21447 PyObject
*swig_obj
[1] ;
21449 if (!args
) SWIG_fail
;
21450 swig_obj
[0] = args
;
21451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21452 if (!SWIG_IsOK(res1
)) {
21453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21460 result
= (wxFont
*) &_result_ref
;
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 wxFont
* resultptr
= new wxFont(*result
);
21467 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21475 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21476 PyObject
*resultobj
= 0;
21477 wxDC
*arg1
= (wxDC
*) 0 ;
21478 wxPen
*result
= 0 ;
21481 PyObject
*swig_obj
[1] ;
21483 if (!args
) SWIG_fail
;
21484 swig_obj
[0] = args
;
21485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21486 if (!SWIG_IsOK(res1
)) {
21487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21494 result
= (wxPen
*) &_result_ref
;
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 wxPen
* resultptr
= new wxPen(*result
);
21501 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21509 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21510 PyObject
*resultobj
= 0;
21511 wxDC
*arg1
= (wxDC
*) 0 ;
21512 wxColour
*result
= 0 ;
21515 PyObject
*swig_obj
[1] ;
21517 if (!args
) SWIG_fail
;
21518 swig_obj
[0] = args
;
21519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21520 if (!SWIG_IsOK(res1
)) {
21521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21528 result
= (wxColour
*) &_result_ref
;
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21540 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21541 PyObject
*resultobj
= 0;
21542 wxDC
*arg1
= (wxDC
*) 0 ;
21543 wxColour
*result
= 0 ;
21546 PyObject
*swig_obj
[1] ;
21548 if (!args
) SWIG_fail
;
21549 swig_obj
[0] = args
;
21550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21551 if (!SWIG_IsOK(res1
)) {
21552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21559 result
= (wxColour
*) &_result_ref
;
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21571 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
= 0;
21573 wxDC
*arg1
= (wxDC
*) 0 ;
21574 wxColour
*arg2
= 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char * kwnames
[] = {
21581 (char *) "self",(char *) "colour", NULL
21584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21586 if (!SWIG_IsOK(res1
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_Py_Void();
21607 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
= 0;
21609 wxDC
*arg1
= (wxDC
*) 0 ;
21610 wxColour
*arg2
= 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 char * kwnames
[] = {
21617 (char *) "self",(char *) "colour", NULL
21620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21622 if (!SWIG_IsOK(res1
)) {
21623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= SWIG_Py_Void();
21643 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21644 PyObject
*resultobj
= 0;
21645 wxDC
*arg1
= (wxDC
*) 0 ;
21649 PyObject
*swig_obj
[1] ;
21651 if (!args
) SWIG_fail
;
21652 swig_obj
[0] = args
;
21653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= SWIG_From_int(static_cast< int >(result
));
21671 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
= 0;
21673 wxDC
*arg1
= (wxDC
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 char * kwnames
[] = {
21682 (char *) "self",(char *) "mode", NULL
21685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21687 if (!SWIG_IsOK(res1
)) {
21688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21692 if (!SWIG_IsOK(ecode2
)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21695 arg2
= static_cast< int >(val2
);
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 (arg1
)->SetMapMode(arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_Py_Void();
21709 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21710 PyObject
*resultobj
= 0;
21711 wxDC
*arg1
= (wxDC
*) 0 ;
21712 double *arg2
= (double *) 0 ;
21713 double *arg3
= (double *) 0 ;
21717 int res2
= SWIG_TMPOBJ
;
21719 int res3
= SWIG_TMPOBJ
;
21720 PyObject
*swig_obj
[1] ;
21724 if (!args
) SWIG_fail
;
21725 swig_obj
[0] = args
;
21726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21738 if (SWIG_IsTmpObj(res2
)) {
21739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21741 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21744 if (SWIG_IsTmpObj(res3
)) {
21745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21747 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21756 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
= 0;
21758 wxDC
*arg1
= (wxDC
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 PyObject
* obj2
= 0 ;
21770 char * kwnames
[] = {
21771 (char *) "self",(char *) "x",(char *) "y", NULL
21774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21776 if (!SWIG_IsOK(res1
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21780 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21781 if (!SWIG_IsOK(ecode2
)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21784 arg2
= static_cast< double >(val2
);
21785 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21786 if (!SWIG_IsOK(ecode3
)) {
21787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21789 arg3
= static_cast< double >(val3
);
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 (arg1
)->SetUserScale(arg2
,arg3
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_Py_Void();
21803 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21804 PyObject
*resultobj
= 0;
21805 wxDC
*arg1
= (wxDC
*) 0 ;
21806 double *arg2
= (double *) 0 ;
21807 double *arg3
= (double *) 0 ;
21811 int res2
= SWIG_TMPOBJ
;
21813 int res3
= SWIG_TMPOBJ
;
21814 PyObject
*swig_obj
[1] ;
21818 if (!args
) SWIG_fail
;
21819 swig_obj
[0] = args
;
21820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21821 if (!SWIG_IsOK(res1
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 (arg1
)->GetLogicalScale(arg2
,arg3
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_Py_Void();
21832 if (SWIG_IsTmpObj(res2
)) {
21833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21835 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21838 if (SWIG_IsTmpObj(res3
)) {
21839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21841 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21850 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
= 0;
21852 wxDC
*arg1
= (wxDC
*) 0 ;
21861 PyObject
* obj0
= 0 ;
21862 PyObject
* obj1
= 0 ;
21863 PyObject
* obj2
= 0 ;
21864 char * kwnames
[] = {
21865 (char *) "self",(char *) "x",(char *) "y", NULL
21868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21874 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21875 if (!SWIG_IsOK(ecode2
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21878 arg2
= static_cast< double >(val2
);
21879 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21880 if (!SWIG_IsOK(ecode3
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21883 arg3
= static_cast< double >(val3
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 (arg1
)->SetLogicalScale(arg2
,arg3
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_Py_Void();
21897 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21898 PyObject
*resultobj
= 0;
21899 wxDC
*arg1
= (wxDC
*) 0 ;
21903 PyObject
*swig_obj
[1] ;
21905 if (!args
) SWIG_fail
;
21906 swig_obj
[0] = args
;
21907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21908 if (!SWIG_IsOK(res1
)) {
21909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21925 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21926 PyObject
*resultobj
= 0;
21927 wxDC
*arg1
= (wxDC
*) 0 ;
21928 int *arg2
= (int *) 0 ;
21929 int *arg3
= (int *) 0 ;
21933 int res2
= SWIG_TMPOBJ
;
21935 int res3
= SWIG_TMPOBJ
;
21936 PyObject
*swig_obj
[1] ;
21940 if (!args
) SWIG_fail
;
21941 swig_obj
[0] = args
;
21942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= SWIG_Py_Void();
21954 if (SWIG_IsTmpObj(res2
)) {
21955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21957 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21960 if (SWIG_IsTmpObj(res3
)) {
21961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21963 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21972 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
= 0;
21974 wxDC
*arg1
= (wxDC
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 char * kwnames
[] = {
21987 (char *) "self",(char *) "x",(char *) "y", NULL
21990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21997 if (!SWIG_IsOK(ecode2
)) {
21998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22000 arg2
= static_cast< int >(val2
);
22001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22002 if (!SWIG_IsOK(ecode3
)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22005 arg3
= static_cast< int >(val3
);
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_Py_Void();
22019 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
= 0;
22021 wxDC
*arg1
= (wxDC
*) 0 ;
22022 wxPoint
*arg2
= 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char * kwnames
[] = {
22029 (char *) "self",(char *) "point", NULL
22032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22034 if (!SWIG_IsOK(res1
)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_Py_Void();
22055 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22056 PyObject
*resultobj
= 0;
22057 wxDC
*arg1
= (wxDC
*) 0 ;
22061 PyObject
*swig_obj
[1] ;
22063 if (!args
) SWIG_fail
;
22064 swig_obj
[0] = args
;
22065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22066 if (!SWIG_IsOK(res1
)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22083 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22084 PyObject
*resultobj
= 0;
22085 wxDC
*arg1
= (wxDC
*) 0 ;
22086 int *arg2
= (int *) 0 ;
22087 int *arg3
= (int *) 0 ;
22091 int res2
= SWIG_TMPOBJ
;
22093 int res3
= SWIG_TMPOBJ
;
22094 PyObject
*swig_obj
[1] ;
22098 if (!args
) SWIG_fail
;
22099 swig_obj
[0] = args
;
22100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22101 if (!SWIG_IsOK(res1
)) {
22102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_Py_Void();
22112 if (SWIG_IsTmpObj(res2
)) {
22113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22115 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22118 if (SWIG_IsTmpObj(res3
)) {
22119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22121 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22130 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
= 0;
22132 wxDC
*arg1
= (wxDC
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 char * kwnames
[] = {
22145 (char *) "self",(char *) "x",(char *) "y", NULL
22148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22150 if (!SWIG_IsOK(res1
)) {
22151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22155 if (!SWIG_IsOK(ecode2
)) {
22156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22158 arg2
= static_cast< int >(val2
);
22159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22160 if (!SWIG_IsOK(ecode3
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22163 arg3
= static_cast< int >(val3
);
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_Py_Void();
22177 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= 0;
22179 wxDC
*arg1
= (wxDC
*) 0 ;
22180 wxPoint
*arg2
= 0 ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 char * kwnames
[] = {
22187 (char *) "self",(char *) "point", NULL
22190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22192 if (!SWIG_IsOK(res1
)) {
22193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_Py_Void();
22213 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
= 0;
22215 wxDC
*arg1
= (wxDC
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 PyObject
* obj2
= 0 ;
22227 char * kwnames
[] = {
22228 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22237 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22238 if (!SWIG_IsOK(ecode2
)) {
22239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22241 arg2
= static_cast< bool >(val2
);
22242 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22243 if (!SWIG_IsOK(ecode3
)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22246 arg3
= static_cast< bool >(val3
);
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= SWIG_Py_Void();
22260 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 PyObject
*resultobj
= 0;
22262 wxDC
*arg1
= (wxDC
*) 0 ;
22266 PyObject
*swig_obj
[1] ;
22268 if (!args
) SWIG_fail
;
22269 swig_obj
[0] = args
;
22270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_From_int(static_cast< int >(result
));
22288 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
= 0;
22290 wxDC
*arg1
= (wxDC
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 char * kwnames
[] = {
22299 (char *) "self",(char *) "function", NULL
22302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22304 if (!SWIG_IsOK(res1
)) {
22305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22309 if (!SWIG_IsOK(ecode2
)) {
22310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22312 arg2
= static_cast< int >(val2
);
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->SetLogicalFunction(arg2
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= SWIG_Py_Void();
22326 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22327 PyObject
*resultobj
= 0;
22328 wxDC
*arg1
= (wxDC
*) 0 ;
22331 PyObject
*swig_obj
[1] ;
22333 if (!args
) SWIG_fail
;
22334 swig_obj
[0] = args
;
22335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22336 if (!SWIG_IsOK(res1
)) {
22337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 (arg1
)->ComputeScaleAndOrigin();
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= SWIG_Py_Void();
22353 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
= 0;
22355 wxDC
*arg1
= (wxDC
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22367 char * kwnames
[] = {
22368 (char *) "self",(char *) "x",(char *) "y", NULL
22371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22378 if (!SWIG_IsOK(ecode2
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22381 arg2
= static_cast< int >(val2
);
22382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22383 if (!SWIG_IsOK(ecode3
)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22386 arg3
= static_cast< int >(val3
);
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_Py_Void();
22400 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
= 0;
22402 wxDC
*arg1
= (wxDC
*) 0 ;
22403 wxPoint
*arg2
= 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char * kwnames
[] = {
22410 (char *) "self",(char *) "point", NULL
22413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22415 if (!SWIG_IsOK(res1
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_Py_Void();
22436 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22437 PyObject
*resultobj
= 0;
22438 wxDC
*arg1
= (wxDC
*) 0 ;
22441 PyObject
*swig_obj
[1] ;
22443 if (!args
) SWIG_fail
;
22444 swig_obj
[0] = args
;
22445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22446 if (!SWIG_IsOK(res1
)) {
22447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->ResetBoundingBox();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_Py_Void();
22463 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22464 PyObject
*resultobj
= 0;
22465 wxDC
*arg1
= (wxDC
*) 0 ;
22469 PyObject
*swig_obj
[1] ;
22471 if (!args
) SWIG_fail
;
22472 swig_obj
[0] = args
;
22473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= (int)((wxDC
const *)arg1
)->MinX();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= SWIG_From_int(static_cast< int >(result
));
22491 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22492 PyObject
*resultobj
= 0;
22493 wxDC
*arg1
= (wxDC
*) 0 ;
22497 PyObject
*swig_obj
[1] ;
22499 if (!args
) SWIG_fail
;
22500 swig_obj
[0] = args
;
22501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22502 if (!SWIG_IsOK(res1
)) {
22503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (int)((wxDC
const *)arg1
)->MaxX();
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= SWIG_From_int(static_cast< int >(result
));
22519 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22520 PyObject
*resultobj
= 0;
22521 wxDC
*arg1
= (wxDC
*) 0 ;
22525 PyObject
*swig_obj
[1] ;
22527 if (!args
) SWIG_fail
;
22528 swig_obj
[0] = args
;
22529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22530 if (!SWIG_IsOK(res1
)) {
22531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (int)((wxDC
const *)arg1
)->MinY();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= SWIG_From_int(static_cast< int >(result
));
22547 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22548 PyObject
*resultobj
= 0;
22549 wxDC
*arg1
= (wxDC
*) 0 ;
22553 PyObject
*swig_obj
[1] ;
22555 if (!args
) SWIG_fail
;
22556 swig_obj
[0] = args
;
22557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22558 if (!SWIG_IsOK(res1
)) {
22559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (int)((wxDC
const *)arg1
)->MaxY();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_From_int(static_cast< int >(result
));
22575 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22576 PyObject
*resultobj
= 0;
22577 wxDC
*arg1
= (wxDC
*) 0 ;
22578 int *arg2
= (int *) 0 ;
22579 int *arg3
= (int *) 0 ;
22580 int *arg4
= (int *) 0 ;
22581 int *arg5
= (int *) 0 ;
22585 int res2
= SWIG_TMPOBJ
;
22587 int res3
= SWIG_TMPOBJ
;
22589 int res4
= SWIG_TMPOBJ
;
22591 int res5
= SWIG_TMPOBJ
;
22592 PyObject
*swig_obj
[1] ;
22598 if (!args
) SWIG_fail
;
22599 swig_obj
[0] = args
;
22600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_Py_Void();
22612 if (SWIG_IsTmpObj(res2
)) {
22613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22615 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22618 if (SWIG_IsTmpObj(res3
)) {
22619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22621 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22624 if (SWIG_IsTmpObj(res4
)) {
22625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22627 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22630 if (SWIG_IsTmpObj(res5
)) {
22631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22633 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22642 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
= 0;
22644 wxDC
*arg1
= (wxDC
*) 0 ;
22645 PyObject
*arg2
= (PyObject
*) 0 ;
22646 PyObject
*arg3
= (PyObject
*) 0 ;
22647 PyObject
*arg4
= (PyObject
*) 0 ;
22648 PyObject
*result
= 0 ;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22653 PyObject
* obj2
= 0 ;
22654 PyObject
* obj3
= 0 ;
22655 char * kwnames
[] = {
22656 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= result
;
22681 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
= 0;
22683 wxDC
*arg1
= (wxDC
*) 0 ;
22684 PyObject
*arg2
= (PyObject
*) 0 ;
22685 PyObject
*arg3
= (PyObject
*) 0 ;
22686 PyObject
*arg4
= (PyObject
*) 0 ;
22687 PyObject
*result
= 0 ;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 PyObject
* obj2
= 0 ;
22693 PyObject
* obj3
= 0 ;
22694 char * kwnames
[] = {
22695 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= result
;
22720 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
= 0;
22722 wxDC
*arg1
= (wxDC
*) 0 ;
22723 PyObject
*arg2
= (PyObject
*) 0 ;
22724 PyObject
*arg3
= (PyObject
*) 0 ;
22725 PyObject
*arg4
= (PyObject
*) 0 ;
22726 PyObject
*result
= 0 ;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 PyObject
* obj2
= 0 ;
22732 PyObject
* obj3
= 0 ;
22733 char * kwnames
[] = {
22734 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22739 if (!SWIG_IsOK(res1
)) {
22740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= result
;
22759 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
= 0;
22761 wxDC
*arg1
= (wxDC
*) 0 ;
22762 PyObject
*arg2
= (PyObject
*) 0 ;
22763 PyObject
*arg3
= (PyObject
*) 0 ;
22764 PyObject
*arg4
= (PyObject
*) 0 ;
22765 PyObject
*result
= 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 PyObject
* obj3
= 0 ;
22772 char * kwnames
[] = {
22773 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= result
;
22798 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
= 0;
22800 wxDC
*arg1
= (wxDC
*) 0 ;
22801 PyObject
*arg2
= (PyObject
*) 0 ;
22802 PyObject
*arg3
= (PyObject
*) 0 ;
22803 PyObject
*arg4
= (PyObject
*) 0 ;
22804 PyObject
*result
= 0 ;
22807 PyObject
* obj0
= 0 ;
22808 PyObject
* obj1
= 0 ;
22809 PyObject
* obj2
= 0 ;
22810 PyObject
* obj3
= 0 ;
22811 char * kwnames
[] = {
22812 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22817 if (!SWIG_IsOK(res1
)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= result
;
22837 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
= 0;
22839 wxDC
*arg1
= (wxDC
*) 0 ;
22840 PyObject
*arg2
= (PyObject
*) 0 ;
22841 PyObject
*arg3
= (PyObject
*) 0 ;
22842 PyObject
*arg4
= (PyObject
*) 0 ;
22843 PyObject
*arg5
= (PyObject
*) 0 ;
22844 PyObject
*result
= 0 ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 PyObject
* obj2
= 0 ;
22850 PyObject
* obj3
= 0 ;
22851 PyObject
* obj4
= 0 ;
22852 char * kwnames
[] = {
22853 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= result
;
22879 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22882 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22883 return SWIG_Py_Void();
22886 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22887 PyObject
*resultobj
= 0;
22888 wxMemoryDC
*result
= 0 ;
22890 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22892 if (!wxPyCheckForApp()) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= (wxMemoryDC
*)new wxMemoryDC();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22905 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
= 0;
22907 wxDC
*arg1
= (wxDC
*) 0 ;
22908 wxMemoryDC
*result
= 0 ;
22911 PyObject
* obj0
= 0 ;
22912 char * kwnames
[] = {
22913 (char *) "oldDC", NULL
22916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22918 if (!SWIG_IsOK(res1
)) {
22919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22923 if (!wxPyCheckForApp()) SWIG_fail
;
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22936 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
= 0;
22938 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22939 wxBitmap
*arg2
= 0 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char * kwnames
[] = {
22947 (char *) "self",(char *) "bitmap", NULL
22950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22952 if (!SWIG_IsOK(res1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22955 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22957 if (!SWIG_IsOK(res2
)) {
22958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22963 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_Py_Void();
22977 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22980 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22981 return SWIG_Py_Void();
22984 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22985 return SWIG_Python_InitShadowInstance(args
);
22988 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22989 PyObject
*resultobj
= 0;
22990 wxDC
*arg1
= (wxDC
*) 0 ;
22991 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22992 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22993 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22994 wxBufferedDC
*result
= 0 ;
23002 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23009 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23010 if (!SWIG_IsOK(res2
)) {
23011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23016 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23019 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23020 if (!SWIG_IsOK(ecode3
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23023 arg3
= static_cast< int >(val3
);
23026 if (!wxPyCheckForApp()) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23039 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23040 PyObject
*resultobj
= 0;
23041 wxDC
*arg1
= (wxDC
*) 0 ;
23043 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23044 wxBufferedDC
*result
= 0 ;
23051 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23053 if (!SWIG_IsOK(res1
)) {
23054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23059 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23062 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23063 if (!SWIG_IsOK(ecode3
)) {
23064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23066 arg3
= static_cast< int >(val3
);
23069 if (!wxPyCheckForApp()) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23082 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23086 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23088 if ((argc
>= 1) && (argc
<= 3)) {
23092 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23093 _v
= SWIG_CheckState(res
);
23095 if (!_v
) goto check_1
;
23097 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23101 if ((argc
>= 2) && (argc
<= 3)) {
23102 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23106 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23111 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23112 PyObject
*resultobj
= 0;
23113 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23116 PyObject
*swig_obj
[1] ;
23118 if (!args
) SWIG_fail
;
23119 swig_obj
[0] = args
;
23120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23121 if (!SWIG_IsOK(res1
)) {
23122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23124 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_Py_Void();
23139 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23140 PyObject
*resultobj
= 0;
23141 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23144 PyObject
*swig_obj
[1] ;
23146 if (!args
) SWIG_fail
;
23147 swig_obj
[0] = args
;
23148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23152 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_Py_Void();
23166 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23169 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23170 return SWIG_Py_Void();
23173 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 return SWIG_Python_InitShadowInstance(args
);
23177 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
= 0;
23179 wxWindow
*arg1
= (wxWindow
*) 0 ;
23180 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23181 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23182 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23183 wxBufferedPaintDC
*result
= 0 ;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 PyObject
* obj2
= 0 ;
23193 char * kwnames
[] = {
23194 (char *) "window",(char *) "buffer",(char *) "style", NULL
23197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23205 if (!SWIG_IsOK(res2
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23211 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23215 if (!SWIG_IsOK(ecode3
)) {
23216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23218 arg3
= static_cast< int >(val3
);
23221 if (!wxPyCheckForApp()) SWIG_fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23234 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23237 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23238 return SWIG_Py_Void();
23241 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23242 return SWIG_Python_InitShadowInstance(args
);
23245 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23246 PyObject
*resultobj
= 0;
23247 wxScreenDC
*result
= 0 ;
23249 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23251 if (!wxPyCheckForApp()) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (wxScreenDC
*)new wxScreenDC();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23264 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
= 0;
23266 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23267 wxWindow
*arg2
= (wxWindow
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 PyObject
* obj1
= 0 ;
23275 char * kwnames
[] = {
23276 (char *) "self",(char *) "window", NULL
23279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23281 if (!SWIG_IsOK(res1
)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23284 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23286 if (!SWIG_IsOK(res2
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23289 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23305 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= 0;
23307 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23308 wxRect
*arg2
= (wxRect
*) NULL
;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "self",(char *) "rect", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23325 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23328 if (!SWIG_IsOK(res2
)) {
23329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23331 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23348 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 PyObject
*resultobj
= 0;
23350 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23354 PyObject
*swig_obj
[1] ;
23356 if (!args
) SWIG_fail
;
23357 swig_obj
[0] = args
;
23358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23362 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (bool)(arg1
)->EndDrawingOnTop();
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23378 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23381 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23382 return SWIG_Py_Void();
23385 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23386 return SWIG_Python_InitShadowInstance(args
);
23389 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
= 0;
23391 wxWindow
*arg1
= (wxWindow
*) 0 ;
23392 wxClientDC
*result
= 0 ;
23395 PyObject
* obj0
= 0 ;
23396 char * kwnames
[] = {
23397 (char *) "win", NULL
23400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23407 if (!wxPyCheckForApp()) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (wxClientDC
*)new wxClientDC(arg1
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23420 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23423 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23424 return SWIG_Py_Void();
23427 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23428 return SWIG_Python_InitShadowInstance(args
);
23431 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
= 0;
23433 wxWindow
*arg1
= (wxWindow
*) 0 ;
23434 wxPaintDC
*result
= 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char * kwnames
[] = {
23439 (char *) "win", NULL
23442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23444 if (!SWIG_IsOK(res1
)) {
23445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23449 if (!wxPyCheckForApp()) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23462 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23465 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23466 return SWIG_Py_Void();
23469 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 return SWIG_Python_InitShadowInstance(args
);
23473 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
= 0;
23475 wxWindow
*arg1
= (wxWindow
*) 0 ;
23476 wxWindowDC
*result
= 0 ;
23479 PyObject
* obj0
= 0 ;
23480 char * kwnames
[] = {
23481 (char *) "win", NULL
23484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23489 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23491 if (!wxPyCheckForApp()) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23504 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23507 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23508 return SWIG_Py_Void();
23511 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23512 return SWIG_Python_InitShadowInstance(args
);
23515 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
= 0;
23519 wxMirrorDC
*result
= 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 char * kwnames
[] = {
23527 (char *) "dc",(char *) "mirror", NULL
23530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23531 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23532 if (!SWIG_IsOK(res1
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23539 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23540 if (!SWIG_IsOK(ecode2
)) {
23541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23543 arg2
= static_cast< bool >(val2
);
23545 if (!wxPyCheckForApp()) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23558 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23561 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23562 return SWIG_Py_Void();
23565 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23566 return SWIG_Python_InitShadowInstance(args
);
23569 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
= 0;
23571 wxPrintData
*arg1
= 0 ;
23572 wxPostScriptDC
*result
= 0 ;
23575 PyObject
* obj0
= 0 ;
23576 char * kwnames
[] = {
23577 (char *) "printData", NULL
23580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23581 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23588 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23590 if (!wxPyCheckForApp()) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23603 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23604 PyObject
*resultobj
= 0;
23605 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23606 wxPrintData
*result
= 0 ;
23609 PyObject
*swig_obj
[1] ;
23611 if (!args
) SWIG_fail
;
23612 swig_obj
[0] = args
;
23613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23614 if (!SWIG_IsOK(res1
)) {
23615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23617 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23622 result
= (wxPrintData
*) &_result_ref
;
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23634 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
= 0;
23636 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23637 wxPrintData
*arg2
= 0 ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char * kwnames
[] = {
23645 (char *) "self",(char *) "data", NULL
23648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23650 if (!SWIG_IsOK(res1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23653 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23655 if (!SWIG_IsOK(res2
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23661 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_Py_Void();
23675 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
= 0;
23680 PyObject
* obj0
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "ppi", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23687 if (!SWIG_IsOK(ecode1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23690 arg1
= static_cast< int >(val1
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 wxPostScriptDC::SetResolution(arg1
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_Py_Void();
23704 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23705 PyObject
*resultobj
= 0;
23708 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (int)wxPostScriptDC::GetResolution();
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_From_int(static_cast< int >(result
));
23722 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23725 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23726 return SWIG_Py_Void();
23729 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 return SWIG_Python_InitShadowInstance(args
);
23733 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
= 0;
23735 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23736 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23737 wxMetaFile
*result
= 0 ;
23738 bool temp1
= false ;
23739 PyObject
* obj0
= 0 ;
23740 char * kwnames
[] = {
23741 (char *) "filename", NULL
23744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23747 arg1
= wxString_in_helper(obj0
);
23748 if (arg1
== NULL
) SWIG_fail
;
23753 if (!wxPyCheckForApp()) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23774 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23775 PyObject
*resultobj
= 0;
23776 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23779 PyObject
*swig_obj
[1] ;
23781 if (!args
) SWIG_fail
;
23782 swig_obj
[0] = args
;
23783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23787 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_Py_Void();
23802 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23803 PyObject
*resultobj
= 0;
23804 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23808 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23816 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (bool)(arg1
)->Ok();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23832 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
= 0;
23834 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23835 int arg2
= (int) 0 ;
23836 int arg3
= (int) 0 ;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 PyObject
* obj2
= 0 ;
23847 char * kwnames
[] = {
23848 (char *) "self",(char *) "width",(char *) "height", NULL
23851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23853 if (!SWIG_IsOK(res1
)) {
23854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23856 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23859 if (!SWIG_IsOK(ecode2
)) {
23860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
23862 arg2
= static_cast< int >(val2
);
23865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23866 if (!SWIG_IsOK(ecode3
)) {
23867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
23869 arg3
= static_cast< int >(val3
);
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23886 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23887 PyObject
*resultobj
= 0;
23888 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23892 PyObject
*swig_obj
[1] ;
23894 if (!args
) SWIG_fail
;
23895 swig_obj
[0] = args
;
23896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23897 if (!SWIG_IsOK(res1
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23900 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 result
= (arg1
)->GetSize();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23914 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23915 PyObject
*resultobj
= 0;
23916 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23920 PyObject
*swig_obj
[1] ;
23922 if (!args
) SWIG_fail
;
23923 swig_obj
[0] = args
;
23924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23925 if (!SWIG_IsOK(res1
)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23928 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= (int)(arg1
)->GetWidth();
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23935 resultobj
= SWIG_From_int(static_cast< int >(result
));
23942 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23943 PyObject
*resultobj
= 0;
23944 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23948 PyObject
*swig_obj
[1] ;
23950 if (!args
) SWIG_fail
;
23951 swig_obj
[0] = args
;
23952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23953 if (!SWIG_IsOK(res1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23956 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (int)(arg1
)->GetHeight();
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= SWIG_From_int(static_cast< int >(result
));
23970 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23973 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23974 return SWIG_Py_Void();
23977 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23978 return SWIG_Python_InitShadowInstance(args
);
23981 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= 0;
23983 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23984 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23985 int arg2
= (int) 0 ;
23986 int arg3
= (int) 0 ;
23987 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23988 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23989 wxMetaFileDC
*result
= 0 ;
23990 bool temp1
= false ;
23995 bool temp4
= false ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 PyObject
* obj3
= 0 ;
24000 char * kwnames
[] = {
24001 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24007 arg1
= wxString_in_helper(obj0
);
24008 if (arg1
== NULL
) SWIG_fail
;
24013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24014 if (!SWIG_IsOK(ecode2
)) {
24015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24017 arg2
= static_cast< int >(val2
);
24020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24021 if (!SWIG_IsOK(ecode3
)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24024 arg3
= static_cast< int >(val3
);
24028 arg4
= wxString_in_helper(obj3
);
24029 if (arg4
== NULL
) SWIG_fail
;
24034 if (!wxPyCheckForApp()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24063 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24064 PyObject
*resultobj
= 0;
24065 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24066 wxMetaFile
*result
= 0 ;
24069 PyObject
*swig_obj
[1] ;
24071 if (!args
) SWIG_fail
;
24072 swig_obj
[0] = args
;
24073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24077 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (wxMetaFile
*)(arg1
)->Close();
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24091 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24094 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24095 return SWIG_Py_Void();
24098 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24099 return SWIG_Python_InitShadowInstance(args
);
24102 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
= 0;
24104 wxPrintData
*arg1
= 0 ;
24105 wxPrinterDC
*result
= 0 ;
24108 PyObject
* obj0
= 0 ;
24109 char * kwnames
[] = {
24110 (char *) "printData", NULL
24113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24114 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24121 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24123 if (!wxPyCheckForApp()) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24136 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24139 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24140 return SWIG_Py_Void();
24143 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24144 return SWIG_Python_InitShadowInstance(args
);
24147 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
= 0;
24151 int arg3
= (int) true ;
24152 int arg4
= (int) 1 ;
24153 wxImageList
*result
= 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 PyObject
* obj2
= 0 ;
24165 PyObject
* obj3
= 0 ;
24166 char * kwnames
[] = {
24167 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24172 if (!SWIG_IsOK(ecode1
)) {
24173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24175 arg1
= static_cast< int >(val1
);
24176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24177 if (!SWIG_IsOK(ecode2
)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24180 arg2
= static_cast< int >(val2
);
24182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24183 if (!SWIG_IsOK(ecode3
)) {
24184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24186 arg3
= static_cast< int >(val3
);
24189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24190 if (!SWIG_IsOK(ecode4
)) {
24191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24193 arg4
= static_cast< int >(val4
);
24196 if (!wxPyCheckForApp()) SWIG_fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24211 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24212 PyObject
*resultobj
= 0;
24213 wxImageList
*arg1
= (wxImageList
*) 0 ;
24216 PyObject
*swig_obj
[1] ;
24218 if (!args
) SWIG_fail
;
24219 swig_obj
[0] = args
;
24220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24221 if (!SWIG_IsOK(res1
)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24224 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= SWIG_Py_Void();
24239 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
= 0;
24241 wxImageList
*arg1
= (wxImageList
*) 0 ;
24242 wxBitmap
*arg2
= 0 ;
24243 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24244 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 PyObject
* obj2
= 0 ;
24255 char * kwnames
[] = {
24256 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24261 if (!SWIG_IsOK(res1
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24264 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24266 if (!SWIG_IsOK(res2
)) {
24267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24272 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24275 if (!SWIG_IsOK(res3
)) {
24276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24281 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_From_int(static_cast< int >(result
));
24296 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
= 0;
24298 wxImageList
*arg1
= (wxImageList
*) 0 ;
24299 wxBitmap
*arg2
= 0 ;
24300 wxColour
*arg3
= 0 ;
24307 PyObject
* obj0
= 0 ;
24308 PyObject
* obj1
= 0 ;
24309 PyObject
* obj2
= 0 ;
24310 char * kwnames
[] = {
24311 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24316 if (!SWIG_IsOK(res1
)) {
24317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24319 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24321 if (!SWIG_IsOK(res2
)) {
24322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24327 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24330 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= SWIG_From_int(static_cast< int >(result
));
24345 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
= 0;
24347 wxImageList
*arg1
= (wxImageList
*) 0 ;
24354 PyObject
* obj0
= 0 ;
24355 PyObject
* obj1
= 0 ;
24356 char * kwnames
[] = {
24357 (char *) "self",(char *) "icon", NULL
24360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24362 if (!SWIG_IsOK(res1
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24365 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24367 if (!SWIG_IsOK(res2
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24373 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= SWIG_From_int(static_cast< int >(result
));
24387 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
= 0;
24389 wxImageList
*arg1
= (wxImageList
*) 0 ;
24391 SwigValueWrapper
<wxBitmap
> result
;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char * kwnames
[] = {
24399 (char *) "self",(char *) "index", NULL
24402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24407 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24409 if (!SWIG_IsOK(ecode2
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24412 arg2
= static_cast< int >(val2
);
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24426 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
= 0;
24428 wxImageList
*arg1
= (wxImageList
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char * kwnames
[] = {
24438 (char *) "self",(char *) "index", NULL
24441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24443 if (!SWIG_IsOK(res1
)) {
24444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24446 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24448 if (!SWIG_IsOK(ecode2
)) {
24449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24451 arg2
= static_cast< int >(val2
);
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24465 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
= 0;
24467 wxImageList
*arg1
= (wxImageList
*) 0 ;
24469 wxBitmap
*arg3
= 0 ;
24470 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24471 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 PyObject
* obj2
= 0 ;
24484 PyObject
* obj3
= 0 ;
24485 char * kwnames
[] = {
24486 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24491 if (!SWIG_IsOK(res1
)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24494 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24496 if (!SWIG_IsOK(ecode2
)) {
24497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24499 arg2
= static_cast< int >(val2
);
24500 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24501 if (!SWIG_IsOK(res3
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24507 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24509 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24510 if (!SWIG_IsOK(res4
)) {
24511 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24516 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24533 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
= 0;
24535 wxImageList
*arg1
= (wxImageList
*) 0 ;
24540 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24541 bool arg7
= (bool) (bool)false ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 PyObject
* obj2
= 0 ;
24560 PyObject
* obj3
= 0 ;
24561 PyObject
* obj4
= 0 ;
24562 PyObject
* obj5
= 0 ;
24563 PyObject
* obj6
= 0 ;
24564 char * kwnames
[] = {
24565 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24570 if (!SWIG_IsOK(res1
)) {
24571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24573 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24575 if (!SWIG_IsOK(ecode2
)) {
24576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24578 arg2
= static_cast< int >(val2
);
24579 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24580 if (!SWIG_IsOK(res3
)) {
24581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24586 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24587 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24588 if (!SWIG_IsOK(ecode4
)) {
24589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24591 arg4
= static_cast< int >(val4
);
24592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24593 if (!SWIG_IsOK(ecode5
)) {
24594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24596 arg5
= static_cast< int >(val5
);
24598 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24599 if (!SWIG_IsOK(ecode6
)) {
24600 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24602 arg6
= static_cast< int >(val6
);
24605 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24606 if (!SWIG_IsOK(ecode7
)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24609 arg7
= static_cast< bool >(val7
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24626 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 PyObject
*resultobj
= 0;
24628 wxImageList
*arg1
= (wxImageList
*) 0 ;
24632 PyObject
*swig_obj
[1] ;
24634 if (!args
) SWIG_fail
;
24635 swig_obj
[0] = args
;
24636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24637 if (!SWIG_IsOK(res1
)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24640 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (int)(arg1
)->GetImageCount();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_From_int(static_cast< int >(result
));
24654 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= 0;
24656 wxImageList
*arg1
= (wxImageList
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 char * kwnames
[] = {
24666 (char *) "self",(char *) "index", NULL
24669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24674 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24676 if (!SWIG_IsOK(ecode2
)) {
24677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24679 arg2
= static_cast< int >(val2
);
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (bool)(arg1
)->Remove(arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24695 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24696 PyObject
*resultobj
= 0;
24697 wxImageList
*arg1
= (wxImageList
*) 0 ;
24701 PyObject
*swig_obj
[1] ;
24703 if (!args
) SWIG_fail
;
24704 swig_obj
[0] = args
;
24705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24706 if (!SWIG_IsOK(res1
)) {
24707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24709 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 result
= (bool)(arg1
)->RemoveAll();
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24725 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
= 0;
24727 wxImageList
*arg1
= (wxImageList
*) 0 ;
24736 int res3
= SWIG_TMPOBJ
;
24738 int res4
= SWIG_TMPOBJ
;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 char * kwnames
[] = {
24742 (char *) "self",(char *) "index", NULL
24747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24749 if (!SWIG_IsOK(res1
)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24752 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24754 if (!SWIG_IsOK(ecode2
)) {
24755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24757 arg2
= static_cast< int >(val2
);
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= SWIG_Py_Void();
24765 if (SWIG_IsTmpObj(res3
)) {
24766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24768 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24771 if (SWIG_IsTmpObj(res4
)) {
24772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24774 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24783 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24786 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24787 return SWIG_Py_Void();
24790 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24791 return SWIG_Python_InitShadowInstance(args
);
24794 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24795 PyObject
*resultobj
= 0;
24796 wxStockGDI
*result
= 0 ;
24798 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (wxStockGDI
*)new wxStockGDI();
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24812 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24813 PyObject
*resultobj
= 0;
24814 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24817 PyObject
*swig_obj
[1] ;
24819 if (!args
) SWIG_fail
;
24820 swig_obj
[0] = args
;
24821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24822 if (!SWIG_IsOK(res1
)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24825 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_Py_Void();
24840 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24841 PyObject
*resultobj
= 0;
24843 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 wxStockGDI::DeleteAll();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_Py_Void();
24857 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24858 PyObject
*resultobj
= 0;
24859 wxStockGDI
*result
= 0 ;
24861 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24866 result
= (wxStockGDI
*) &_result_ref
;
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24878 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= 0;
24880 wxStockGDI::Item arg1
;
24881 wxBrush
*result
= 0 ;
24884 PyObject
* obj0
= 0 ;
24885 char * kwnames
[] = {
24886 (char *) "item", NULL
24889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24890 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24891 if (!SWIG_IsOK(ecode1
)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24894 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24908 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
= 0;
24910 wxStockGDI::Item arg1
;
24911 wxColour
*result
= 0 ;
24914 PyObject
* obj0
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "item", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24921 if (!SWIG_IsOK(ecode1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24924 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24938 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
= 0;
24940 wxStockGDI::Item arg1
;
24941 wxCursor
*result
= 0 ;
24944 PyObject
* obj0
= 0 ;
24945 char * kwnames
[] = {
24946 (char *) "item", NULL
24949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24951 if (!SWIG_IsOK(ecode1
)) {
24952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24954 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24968 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
= 0;
24970 wxStockGDI::Item arg1
;
24971 wxPen
*result
= 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char * kwnames
[] = {
24976 (char *) "item", NULL
24979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24981 if (!SWIG_IsOK(ecode1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24984 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24998 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
= 0;
25000 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25001 wxStockGDI::Item arg2
;
25002 wxFont
*result
= 0 ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 char * kwnames
[] = {
25010 (char *) "self",(char *) "item", NULL
25013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25018 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25020 if (!SWIG_IsOK(ecode2
)) {
25021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
25023 arg2
= static_cast< wxStockGDI::Item
>(val2
);
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25037 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25040 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
25041 return SWIG_Py_Void();
25044 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25045 return SWIG_Python_InitShadowInstance(args
);
25048 SWIGINTERN
int NullBitmap_set(PyObject
*) {
25049 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
25054 SWIGINTERN PyObject
*NullBitmap_get(void) {
25055 PyObject
*pyobj
= 0;
25057 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
25062 SWIGINTERN
int NullIcon_set(PyObject
*) {
25063 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
25068 SWIGINTERN PyObject
*NullIcon_get(void) {
25069 PyObject
*pyobj
= 0;
25071 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
25076 SWIGINTERN
int NullCursor_set(PyObject
*) {
25077 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25082 SWIGINTERN PyObject
*NullCursor_get(void) {
25083 PyObject
*pyobj
= 0;
25085 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25090 SWIGINTERN
int NullPen_set(PyObject
*) {
25091 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25096 SWIGINTERN PyObject
*NullPen_get(void) {
25097 PyObject
*pyobj
= 0;
25099 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25104 SWIGINTERN
int NullBrush_set(PyObject
*) {
25105 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25110 SWIGINTERN PyObject
*NullBrush_get(void) {
25111 PyObject
*pyobj
= 0;
25113 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25118 SWIGINTERN
int NullPalette_set(PyObject
*) {
25119 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25124 SWIGINTERN PyObject
*NullPalette_get(void) {
25125 PyObject
*pyobj
= 0;
25127 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25132 SWIGINTERN
int NullFont_set(PyObject
*) {
25133 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25138 SWIGINTERN PyObject
*NullFont_get(void) {
25139 PyObject
*pyobj
= 0;
25141 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25146 SWIGINTERN
int NullColour_set(PyObject
*) {
25147 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25152 SWIGINTERN PyObject
*NullColour_get(void) {
25153 PyObject
*pyobj
= 0;
25155 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25160 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25161 PyObject
*resultobj
= 0;
25162 wxGDIObjListBase
*result
= 0 ;
25164 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25178 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25179 PyObject
*resultobj
= 0;
25180 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25183 PyObject
*swig_obj
[1] ;
25185 if (!args
) SWIG_fail
;
25186 swig_obj
[0] = args
;
25187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25188 if (!SWIG_IsOK(res1
)) {
25189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25191 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= SWIG_Py_Void();
25206 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25209 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25210 return SWIG_Py_Void();
25213 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25214 return SWIG_Python_InitShadowInstance(args
);
25217 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
= 0;
25219 wxPenList
*arg1
= (wxPenList
*) 0 ;
25220 wxColour
*arg2
= 0 ;
25223 wxPen
*result
= 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 PyObject
* obj2
= 0 ;
25234 PyObject
* obj3
= 0 ;
25235 char * kwnames
[] = {
25236 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25244 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25247 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25250 if (!SWIG_IsOK(ecode3
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25253 arg3
= static_cast< int >(val3
);
25254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25255 if (!SWIG_IsOK(ecode4
)) {
25256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25258 arg4
= static_cast< int >(val4
);
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25272 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
= 0;
25274 wxPenList
*arg1
= (wxPenList
*) 0 ;
25275 wxPen
*arg2
= (wxPen
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char * kwnames
[] = {
25283 (char *) "self",(char *) "pen", NULL
25286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25291 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25293 if (!SWIG_IsOK(res2
)) {
25294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25296 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 (arg1
)->AddPen(arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_Py_Void();
25310 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
= 0;
25312 wxPenList
*arg1
= (wxPenList
*) 0 ;
25313 wxPen
*arg2
= (wxPen
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char * kwnames
[] = {
25321 (char *) "self",(char *) "pen", NULL
25324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25329 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25331 if (!SWIG_IsOK(res2
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25334 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 (arg1
)->RemovePen(arg2
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_Py_Void();
25348 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25352 return SWIG_Py_Void();
25355 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
= 0;
25357 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25358 wxColour
*arg2
= 0 ;
25359 int arg3
= (int) wxSOLID
;
25360 wxBrush
*result
= 0 ;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 PyObject
* obj2
= 0 ;
25369 char * kwnames
[] = {
25370 (char *) "self",(char *) "colour",(char *) "style", NULL
25373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25375 if (!SWIG_IsOK(res1
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25378 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25381 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25385 if (!SWIG_IsOK(ecode3
)) {
25386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25388 arg3
= static_cast< int >(val3
);
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25403 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= 0;
25405 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25406 wxBrush
*arg2
= (wxBrush
*) 0 ;
25411 PyObject
* obj0
= 0 ;
25412 PyObject
* obj1
= 0 ;
25413 char * kwnames
[] = {
25414 (char *) "self",(char *) "brush", NULL
25417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25419 if (!SWIG_IsOK(res1
)) {
25420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25422 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25424 if (!SWIG_IsOK(res2
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25427 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 (arg1
)->AddBrush(arg2
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_Py_Void();
25441 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
= 0;
25443 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25444 wxBrush
*arg2
= (wxBrush
*) 0 ;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 char * kwnames
[] = {
25452 (char *) "self",(char *) "brush", NULL
25455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25457 if (!SWIG_IsOK(res1
)) {
25458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25460 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25462 if (!SWIG_IsOK(res2
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25465 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 (arg1
)->RemoveBrush(arg2
);
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 resultobj
= SWIG_Py_Void();
25479 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25482 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25483 return SWIG_Py_Void();
25486 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
= 0;
25488 wxFontList
*arg1
= (wxFontList
*) 0 ;
25493 bool arg6
= (bool) false ;
25494 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25495 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25496 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25497 wxFont
*result
= 0 ;
25510 bool temp7
= false ;
25513 PyObject
* obj0
= 0 ;
25514 PyObject
* obj1
= 0 ;
25515 PyObject
* obj2
= 0 ;
25516 PyObject
* obj3
= 0 ;
25517 PyObject
* obj4
= 0 ;
25518 PyObject
* obj5
= 0 ;
25519 PyObject
* obj6
= 0 ;
25520 PyObject
* obj7
= 0 ;
25521 char * kwnames
[] = {
25522 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25527 if (!SWIG_IsOK(res1
)) {
25528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25530 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25532 if (!SWIG_IsOK(ecode2
)) {
25533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25535 arg2
= static_cast< int >(val2
);
25536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25537 if (!SWIG_IsOK(ecode3
)) {
25538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25540 arg3
= static_cast< int >(val3
);
25541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25542 if (!SWIG_IsOK(ecode4
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25545 arg4
= static_cast< int >(val4
);
25546 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25547 if (!SWIG_IsOK(ecode5
)) {
25548 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25550 arg5
= static_cast< int >(val5
);
25552 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25553 if (!SWIG_IsOK(ecode6
)) {
25554 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25556 arg6
= static_cast< bool >(val6
);
25560 arg7
= wxString_in_helper(obj6
);
25561 if (arg7
== NULL
) SWIG_fail
;
25566 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25567 if (!SWIG_IsOK(ecode8
)) {
25568 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25570 arg8
= static_cast< wxFontEncoding
>(val8
);
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25593 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
= 0;
25595 wxFontList
*arg1
= (wxFontList
*) 0 ;
25596 wxFont
*arg2
= (wxFont
*) 0 ;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 char * kwnames
[] = {
25604 (char *) "self",(char *) "font", NULL
25607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25609 if (!SWIG_IsOK(res1
)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25612 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25614 if (!SWIG_IsOK(res2
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25617 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 (arg1
)->AddFont(arg2
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_Py_Void();
25631 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
= 0;
25633 wxFontList
*arg1
= (wxFontList
*) 0 ;
25634 wxFont
*arg2
= (wxFont
*) 0 ;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 char * kwnames
[] = {
25642 (char *) "self",(char *) "font", NULL
25645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25647 if (!SWIG_IsOK(res1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25650 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25652 if (!SWIG_IsOK(res2
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25655 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->RemoveFont(arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_Py_Void();
25669 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25672 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25673 return SWIG_Py_Void();
25676 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25677 PyObject
*resultobj
= 0;
25678 wxColourDatabase
*result
= 0 ;
25680 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25682 if (!wxPyCheckForApp()) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (wxColourDatabase
*)new wxColourDatabase();
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25695 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25696 PyObject
*resultobj
= 0;
25697 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25700 PyObject
*swig_obj
[1] ;
25702 if (!args
) SWIG_fail
;
25703 swig_obj
[0] = args
;
25704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25705 if (!SWIG_IsOK(res1
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25708 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_Py_Void();
25723 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
= 0;
25725 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25726 wxString
*arg2
= 0 ;
25730 bool temp2
= false ;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 char * kwnames
[] = {
25734 (char *) "self",(char *) "name", NULL
25737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25742 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25744 arg2
= wxString_in_helper(obj1
);
25745 if (arg2
== NULL
) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25769 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
= 0;
25771 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25772 wxColour
*arg2
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char * kwnames
[] = {
25780 (char *) "self",(char *) "colour", NULL
25783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25785 if (!SWIG_IsOK(res1
)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25788 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25791 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25812 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
= 0;
25814 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25815 wxString
*arg2
= 0 ;
25816 wxColour
*arg3
= 0 ;
25819 bool temp2
= false ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 PyObject
* obj2
= 0 ;
25824 char * kwnames
[] = {
25825 (char *) "self",(char *) "name",(char *) "colour", NULL
25828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25830 if (!SWIG_IsOK(res1
)) {
25831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25833 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25835 arg2
= wxString_in_helper(obj1
);
25836 if (arg2
== NULL
) SWIG_fail
;
25841 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_Py_Void();
25864 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
= 0;
25866 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25867 wxString
*arg2
= 0 ;
25873 bool temp2
= false ;
25880 PyObject
* obj0
= 0 ;
25881 PyObject
* obj1
= 0 ;
25882 PyObject
* obj2
= 0 ;
25883 PyObject
* obj3
= 0 ;
25884 PyObject
* obj4
= 0 ;
25885 char * kwnames
[] = {
25886 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25891 if (!SWIG_IsOK(res1
)) {
25892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25894 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25896 arg2
= wxString_in_helper(obj1
);
25897 if (arg2
== NULL
) SWIG_fail
;
25900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25901 if (!SWIG_IsOK(ecode3
)) {
25902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25904 arg3
= static_cast< int >(val3
);
25905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25906 if (!SWIG_IsOK(ecode4
)) {
25907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25909 arg4
= static_cast< int >(val4
);
25910 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25911 if (!SWIG_IsOK(ecode5
)) {
25912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25914 arg5
= static_cast< int >(val5
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_Py_Void();
25936 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25939 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25940 return SWIG_Py_Void();
25943 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25944 return SWIG_Python_InitShadowInstance(args
);
25947 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25948 PyObject
*resultobj
= 0;
25949 wxFontList
*result
= 0 ;
25951 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (wxFontList
*)_wxPyInitTheFontList();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25965 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxPenList
*result
= 0 ;
25969 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 result
= (wxPenList
*)_wxPyInitThePenList();
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25983 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25984 PyObject
*resultobj
= 0;
25985 wxBrushList
*result
= 0 ;
25987 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
26001 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26002 PyObject
*resultobj
= 0;
26003 wxColourDatabase
*result
= 0 ;
26005 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26019 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26020 PyObject
*resultobj
= 0;
26021 wxEffects
*result
= 0 ;
26023 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= (wxEffects
*)new wxEffects();
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
26037 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26038 PyObject
*resultobj
= 0;
26039 wxEffects
*arg1
= (wxEffects
*) 0 ;
26043 PyObject
*swig_obj
[1] ;
26045 if (!args
) SWIG_fail
;
26046 swig_obj
[0] = args
;
26047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26051 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26065 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26066 PyObject
*resultobj
= 0;
26067 wxEffects
*arg1
= (wxEffects
*) 0 ;
26071 PyObject
*swig_obj
[1] ;
26073 if (!args
) SWIG_fail
;
26074 swig_obj
[0] = args
;
26075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26076 if (!SWIG_IsOK(res1
)) {
26077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26079 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26093 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26094 PyObject
*resultobj
= 0;
26095 wxEffects
*arg1
= (wxEffects
*) 0 ;
26099 PyObject
*swig_obj
[1] ;
26101 if (!args
) SWIG_fail
;
26102 swig_obj
[0] = args
;
26103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26104 if (!SWIG_IsOK(res1
)) {
26105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26107 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26121 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26122 PyObject
*resultobj
= 0;
26123 wxEffects
*arg1
= (wxEffects
*) 0 ;
26127 PyObject
*swig_obj
[1] ;
26129 if (!args
) SWIG_fail
;
26130 swig_obj
[0] = args
;
26131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26132 if (!SWIG_IsOK(res1
)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26135 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26149 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26150 PyObject
*resultobj
= 0;
26151 wxEffects
*arg1
= (wxEffects
*) 0 ;
26155 PyObject
*swig_obj
[1] ;
26157 if (!args
) SWIG_fail
;
26158 swig_obj
[0] = args
;
26159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26160 if (!SWIG_IsOK(res1
)) {
26161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26163 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26177 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
= 0;
26179 wxEffects
*arg1
= (wxEffects
*) 0 ;
26180 wxColour
*arg2
= 0 ;
26184 PyObject
* obj0
= 0 ;
26185 PyObject
* obj1
= 0 ;
26186 char * kwnames
[] = {
26187 (char *) "self",(char *) "c", NULL
26190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26192 if (!SWIG_IsOK(res1
)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26195 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= SWIG_Py_Void();
26213 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
= 0;
26215 wxEffects
*arg1
= (wxEffects
*) 0 ;
26216 wxColour
*arg2
= 0 ;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 char * kwnames
[] = {
26223 (char *) "self",(char *) "c", NULL
26226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26228 if (!SWIG_IsOK(res1
)) {
26229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26231 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26234 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_Py_Void();
26249 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
= 0;
26251 wxEffects
*arg1
= (wxEffects
*) 0 ;
26252 wxColour
*arg2
= 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 char * kwnames
[] = {
26259 (char *) "self",(char *) "c", NULL
26262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26264 if (!SWIG_IsOK(res1
)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26267 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 resultobj
= SWIG_Py_Void();
26285 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
= 0;
26287 wxEffects
*arg1
= (wxEffects
*) 0 ;
26288 wxColour
*arg2
= 0 ;
26292 PyObject
* obj0
= 0 ;
26293 PyObject
* obj1
= 0 ;
26294 char * kwnames
[] = {
26295 (char *) "self",(char *) "c", NULL
26298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26303 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26306 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_Py_Void();
26321 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
= 0;
26323 wxEffects
*arg1
= (wxEffects
*) 0 ;
26324 wxColour
*arg2
= 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 char * kwnames
[] = {
26331 (char *) "self",(char *) "c", NULL
26334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26336 if (!SWIG_IsOK(res1
)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26339 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26342 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_Py_Void();
26357 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
= 0;
26359 wxEffects
*arg1
= (wxEffects
*) 0 ;
26360 wxColour
*arg2
= 0 ;
26361 wxColour
*arg3
= 0 ;
26362 wxColour
*arg4
= 0 ;
26363 wxColour
*arg5
= 0 ;
26364 wxColour
*arg6
= 0 ;
26372 PyObject
* obj0
= 0 ;
26373 PyObject
* obj1
= 0 ;
26374 PyObject
* obj2
= 0 ;
26375 PyObject
* obj3
= 0 ;
26376 PyObject
* obj4
= 0 ;
26377 PyObject
* obj5
= 0 ;
26378 char * kwnames
[] = {
26379 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26384 if (!SWIG_IsOK(res1
)) {
26385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26387 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26390 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26394 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26398 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26402 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26406 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_Py_Void();
26421 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
= 0;
26423 wxEffects
*arg1
= (wxEffects
*) 0 ;
26426 int arg4
= (int) 1 ;
26434 PyObject
* obj0
= 0 ;
26435 PyObject
* obj1
= 0 ;
26436 PyObject
* obj2
= 0 ;
26437 PyObject
* obj3
= 0 ;
26438 char * kwnames
[] = {
26439 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26444 if (!SWIG_IsOK(res1
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26447 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26449 if (!SWIG_IsOK(res2
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26455 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26458 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26462 if (!SWIG_IsOK(ecode4
)) {
26463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26465 arg4
= static_cast< int >(val4
);
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_Py_Void();
26480 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
= 0;
26482 wxEffects
*arg1
= (wxEffects
*) 0 ;
26485 wxBitmap
*arg4
= 0 ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 PyObject
* obj2
= 0 ;
26497 PyObject
* obj3
= 0 ;
26498 char * kwnames
[] = {
26499 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26507 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26510 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26512 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26513 if (!SWIG_IsOK(res3
)) {
26514 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26519 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26520 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26521 if (!SWIG_IsOK(res4
)) {
26522 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26527 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26543 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26546 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26547 return SWIG_Py_Void();
26550 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26551 return SWIG_Python_InitShadowInstance(args
);
26554 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
= 0;
26559 wxSplitterRenderParams
*result
= 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 PyObject
* obj2
= 0 ;
26569 char * kwnames
[] = {
26570 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26575 if (!SWIG_IsOK(ecode1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26578 arg1
= static_cast< int >(val1
);
26579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26580 if (!SWIG_IsOK(ecode2
)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26583 arg2
= static_cast< int >(val2
);
26584 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26585 if (!SWIG_IsOK(ecode3
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26588 arg3
= static_cast< bool >(val3
);
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26602 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26603 PyObject
*resultobj
= 0;
26604 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26607 PyObject
*swig_obj
[1] ;
26609 if (!args
) SWIG_fail
;
26610 swig_obj
[0] = args
;
26611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26612 if (!SWIG_IsOK(res1
)) {
26613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26615 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= SWIG_Py_Void();
26630 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26631 PyObject
*resultobj
= 0;
26632 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26636 PyObject
*swig_obj
[1] ;
26638 if (!args
) SWIG_fail
;
26639 swig_obj
[0] = args
;
26640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26641 if (!SWIG_IsOK(res1
)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26644 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26645 result
= (int)(int) ((arg1
)->widthSash
);
26646 resultobj
= SWIG_From_int(static_cast< int >(result
));
26653 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26654 PyObject
*resultobj
= 0;
26655 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26659 PyObject
*swig_obj
[1] ;
26661 if (!args
) SWIG_fail
;
26662 swig_obj
[0] = args
;
26663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26664 if (!SWIG_IsOK(res1
)) {
26665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26667 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26668 result
= (int)(int) ((arg1
)->border
);
26669 resultobj
= SWIG_From_int(static_cast< int >(result
));
26676 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26677 PyObject
*resultobj
= 0;
26678 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26682 PyObject
*swig_obj
[1] ;
26684 if (!args
) SWIG_fail
;
26685 swig_obj
[0] = args
;
26686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26690 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26691 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26692 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26699 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26702 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26703 return SWIG_Py_Void();
26706 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26707 return SWIG_Python_InitShadowInstance(args
);
26710 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26711 PyObject
*resultobj
= 0;
26712 wxHeaderButtonParams
*result
= 0 ;
26714 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
26728 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26729 PyObject
*resultobj
= 0;
26730 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26733 PyObject
*swig_obj
[1] ;
26735 if (!args
) SWIG_fail
;
26736 swig_obj
[0] = args
;
26737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26741 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_Py_Void();
26756 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26757 PyObject
*resultobj
= 0;
26758 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26759 wxColour
*arg2
= (wxColour
*) 0 ;
26763 PyObject
*swig_obj
[2] ;
26765 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
26766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26770 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26773 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26775 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
26777 resultobj
= SWIG_Py_Void();
26784 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26785 PyObject
*resultobj
= 0;
26786 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26787 wxColour
*result
= 0 ;
26790 PyObject
*swig_obj
[1] ;
26792 if (!args
) SWIG_fail
;
26793 swig_obj
[0] = args
;
26794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26798 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26799 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
26800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26807 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26808 PyObject
*resultobj
= 0;
26809 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26810 wxColour
*arg2
= (wxColour
*) 0 ;
26814 PyObject
*swig_obj
[2] ;
26816 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
26817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26818 if (!SWIG_IsOK(res1
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26821 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26824 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26826 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
26828 resultobj
= SWIG_Py_Void();
26835 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26836 PyObject
*resultobj
= 0;
26837 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26838 wxColour
*result
= 0 ;
26841 PyObject
*swig_obj
[1] ;
26843 if (!args
) SWIG_fail
;
26844 swig_obj
[0] = args
;
26845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26849 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26850 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
26851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26858 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26859 PyObject
*resultobj
= 0;
26860 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26861 wxString
*arg2
= (wxString
*) 0 ;
26864 bool temp2
= false ;
26865 PyObject
*swig_obj
[2] ;
26867 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
26868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26872 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26874 arg2
= wxString_in_helper(swig_obj
[1]);
26875 if (arg2
== NULL
) SWIG_fail
;
26878 if (arg1
) (arg1
)->m_labelText
= *arg2
;
26880 resultobj
= SWIG_Py_Void();
26895 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26896 PyObject
*resultobj
= 0;
26897 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26898 wxString
*result
= 0 ;
26901 PyObject
*swig_obj
[1] ;
26903 if (!args
) SWIG_fail
;
26904 swig_obj
[0] = args
;
26905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26909 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26910 result
= (wxString
*)& ((arg1
)->m_labelText
);
26913 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26915 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26924 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26925 PyObject
*resultobj
= 0;
26926 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26927 wxFont
*arg2
= (wxFont
*) 0 ;
26932 PyObject
*swig_obj
[2] ;
26934 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
26935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26936 if (!SWIG_IsOK(res1
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26939 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26940 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26941 if (!SWIG_IsOK(res2
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
26944 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26945 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
26947 resultobj
= SWIG_Py_Void();
26954 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26955 PyObject
*resultobj
= 0;
26956 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26957 wxFont
*result
= 0 ;
26960 PyObject
*swig_obj
[1] ;
26962 if (!args
) SWIG_fail
;
26963 swig_obj
[0] = args
;
26964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26968 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26969 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
26970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26977 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26978 PyObject
*resultobj
= 0;
26979 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26980 wxColour
*arg2
= (wxColour
*) 0 ;
26984 PyObject
*swig_obj
[2] ;
26986 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
26987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26991 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26994 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26996 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
26998 resultobj
= SWIG_Py_Void();
27005 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27006 PyObject
*resultobj
= 0;
27007 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27008 wxColour
*result
= 0 ;
27011 PyObject
*swig_obj
[1] ;
27013 if (!args
) SWIG_fail
;
27014 swig_obj
[0] = args
;
27015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27019 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27020 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
27021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27028 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27029 PyObject
*resultobj
= 0;
27030 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27031 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
27036 PyObject
*swig_obj
[2] ;
27038 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
27039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27040 if (!SWIG_IsOK(res1
)) {
27041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27043 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27044 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
27045 if (!SWIG_IsOK(res2
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
27048 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27049 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
27051 resultobj
= SWIG_Py_Void();
27058 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27059 PyObject
*resultobj
= 0;
27060 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27061 wxBitmap
*result
= 0 ;
27064 PyObject
*swig_obj
[1] ;
27066 if (!args
) SWIG_fail
;
27067 swig_obj
[0] = args
;
27068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27069 if (!SWIG_IsOK(res1
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27072 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27073 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
27074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
27081 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27082 PyObject
*resultobj
= 0;
27083 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27089 PyObject
*swig_obj
[2] ;
27091 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
27092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27093 if (!SWIG_IsOK(res1
)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27096 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27097 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27098 if (!SWIG_IsOK(ecode2
)) {
27099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
27101 arg2
= static_cast< int >(val2
);
27102 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
27104 resultobj
= SWIG_Py_Void();
27111 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27112 PyObject
*resultobj
= 0;
27113 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27117 PyObject
*swig_obj
[1] ;
27119 if (!args
) SWIG_fail
;
27120 swig_obj
[0] = args
;
27121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27122 if (!SWIG_IsOK(res1
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27125 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27126 result
= (int) ((arg1
)->m_labelAlignment
);
27127 resultobj
= SWIG_From_int(static_cast< int >(result
));
27134 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27137 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
27138 return SWIG_Py_Void();
27141 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27142 return SWIG_Python_InitShadowInstance(args
);
27145 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
= 0;
27149 wxRendererVersion
*result
= 0 ;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 char * kwnames
[] = {
27157 (char *) "version_",(char *) "age_", NULL
27160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27162 if (!SWIG_IsOK(ecode1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
27165 arg1
= static_cast< int >(val1
);
27166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27167 if (!SWIG_IsOK(ecode2
)) {
27168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
27170 arg2
= static_cast< int >(val2
);
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
27184 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27185 PyObject
*resultobj
= 0;
27186 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27189 PyObject
*swig_obj
[1] ;
27191 if (!args
) SWIG_fail
;
27192 swig_obj
[0] = args
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27197 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_Py_Void();
27212 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
= 0;
27214 wxRendererVersion
*arg1
= 0 ;
27218 PyObject
* obj0
= 0 ;
27219 char * kwnames
[] = {
27220 (char *) "ver", NULL
27223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27224 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27231 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27247 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27248 PyObject
*resultobj
= 0;
27249 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27253 PyObject
*swig_obj
[1] ;
27255 if (!args
) SWIG_fail
;
27256 swig_obj
[0] = args
;
27257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27261 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27262 result
= (int)(int) ((arg1
)->version
);
27263 resultobj
= SWIG_From_int(static_cast< int >(result
));
27270 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27271 PyObject
*resultobj
= 0;
27272 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27276 PyObject
*swig_obj
[1] ;
27278 if (!args
) SWIG_fail
;
27279 swig_obj
[0] = args
;
27280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27281 if (!SWIG_IsOK(res1
)) {
27282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27284 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27285 result
= (int)(int) ((arg1
)->age
);
27286 resultobj
= SWIG_From_int(static_cast< int >(result
));
27293 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27296 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27297 return SWIG_Py_Void();
27300 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 return SWIG_Python_InitShadowInstance(args
);
27304 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
= 0;
27306 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27307 wxWindow
*arg2
= (wxWindow
*) 0 ;
27310 int arg5
= (int) 0 ;
27311 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27312 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 PyObject
* obj2
= 0 ;
27329 PyObject
* obj3
= 0 ;
27330 PyObject
* obj4
= 0 ;
27331 PyObject
* obj5
= 0 ;
27332 PyObject
* obj6
= 0 ;
27333 char * kwnames
[] = {
27334 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27342 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27344 if (!SWIG_IsOK(res2
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27347 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27348 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27349 if (!SWIG_IsOK(res3
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27355 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27358 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27361 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27362 if (!SWIG_IsOK(ecode5
)) {
27363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
27365 arg5
= static_cast< int >(val5
);
27368 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27369 if (!SWIG_IsOK(ecode6
)) {
27370 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27372 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27375 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27376 if (!SWIG_IsOK(res7
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27379 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_Py_Void();
27394 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
= 0;
27396 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27397 wxWindow
*arg2
= (wxWindow
*) 0 ;
27400 int arg5
= (int) 0 ;
27401 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27402 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27416 PyObject
* obj0
= 0 ;
27417 PyObject
* obj1
= 0 ;
27418 PyObject
* obj2
= 0 ;
27419 PyObject
* obj3
= 0 ;
27420 PyObject
* obj4
= 0 ;
27421 PyObject
* obj5
= 0 ;
27422 PyObject
* obj6
= 0 ;
27423 char * kwnames
[] = {
27424 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27429 if (!SWIG_IsOK(res1
)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27432 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27434 if (!SWIG_IsOK(res2
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
27437 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27438 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27439 if (!SWIG_IsOK(res3
)) {
27440 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27445 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27448 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27451 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27452 if (!SWIG_IsOK(ecode5
)) {
27453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
27455 arg5
= static_cast< int >(val5
);
27458 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27459 if (!SWIG_IsOK(ecode6
)) {
27460 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27462 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27465 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27466 if (!SWIG_IsOK(res7
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27469 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_Py_Void();
27484 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
= 0;
27486 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27487 wxWindow
*arg2
= (wxWindow
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "self",(char *) "win", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27504 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27506 if (!SWIG_IsOK(res2
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
27509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 resultobj
= SWIG_From_int(static_cast< int >(result
));
27523 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
= 0;
27525 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27526 wxWindow
*arg2
= (wxWindow
*) 0 ;
27529 int arg5
= (int) 0 ;
27539 PyObject
* obj0
= 0 ;
27540 PyObject
* obj1
= 0 ;
27541 PyObject
* obj2
= 0 ;
27542 PyObject
* obj3
= 0 ;
27543 PyObject
* obj4
= 0 ;
27544 char * kwnames
[] = {
27545 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27553 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27555 if (!SWIG_IsOK(res2
)) {
27556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27558 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27559 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27560 if (!SWIG_IsOK(res3
)) {
27561 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27566 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27569 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27572 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27573 if (!SWIG_IsOK(ecode5
)) {
27574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
27576 arg5
= static_cast< int >(val5
);
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= SWIG_Py_Void();
27591 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
= 0;
27593 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27594 wxWindow
*arg2
= (wxWindow
*) 0 ;
27597 int arg5
= (int) 0 ;
27607 PyObject
* obj0
= 0 ;
27608 PyObject
* obj1
= 0 ;
27609 PyObject
* obj2
= 0 ;
27610 PyObject
* obj3
= 0 ;
27611 PyObject
* obj4
= 0 ;
27612 char * kwnames
[] = {
27613 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27618 if (!SWIG_IsOK(res1
)) {
27619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27621 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27623 if (!SWIG_IsOK(res2
)) {
27624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
27626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27627 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27628 if (!SWIG_IsOK(res3
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27634 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27637 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27641 if (!SWIG_IsOK(ecode5
)) {
27642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
27644 arg5
= static_cast< int >(val5
);
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_Py_Void();
27659 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
= 0;
27661 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27662 wxWindow
*arg2
= (wxWindow
*) 0 ;
27666 wxOrientation arg6
;
27667 int arg7
= (int) 0 ;
27681 PyObject
* obj0
= 0 ;
27682 PyObject
* obj1
= 0 ;
27683 PyObject
* obj2
= 0 ;
27684 PyObject
* obj3
= 0 ;
27685 PyObject
* obj4
= 0 ;
27686 PyObject
* obj5
= 0 ;
27687 PyObject
* obj6
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27697 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27698 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27699 if (!SWIG_IsOK(res2
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27702 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27703 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27704 if (!SWIG_IsOK(res3
)) {
27705 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27710 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27713 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27715 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27716 if (!SWIG_IsOK(ecode5
)) {
27717 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27719 arg5
= static_cast< int >(val5
);
27720 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27721 if (!SWIG_IsOK(ecode6
)) {
27722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27724 arg6
= static_cast< wxOrientation
>(val6
);
27726 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27727 if (!SWIG_IsOK(ecode7
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27730 arg7
= static_cast< int >(val7
);
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= SWIG_Py_Void();
27745 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
= 0;
27747 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27748 wxWindow
*arg2
= (wxWindow
*) 0 ;
27751 int arg5
= (int) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 PyObject
* obj2
= 0 ;
27764 PyObject
* obj3
= 0 ;
27765 PyObject
* obj4
= 0 ;
27766 char * kwnames
[] = {
27767 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27772 if (!SWIG_IsOK(res1
)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27775 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27777 if (!SWIG_IsOK(res2
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27780 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27781 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27782 if (!SWIG_IsOK(res3
)) {
27783 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27788 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27791 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27794 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27795 if (!SWIG_IsOK(ecode5
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27798 arg5
= static_cast< int >(val5
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_Py_Void();
27813 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
= 0;
27815 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27816 wxWindow
*arg2
= (wxWindow
*) 0 ;
27819 int arg5
= (int) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 PyObject
* obj1
= 0 ;
27831 PyObject
* obj2
= 0 ;
27832 PyObject
* obj3
= 0 ;
27833 PyObject
* obj4
= 0 ;
27834 char * kwnames
[] = {
27835 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27840 if (!SWIG_IsOK(res1
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27843 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27845 if (!SWIG_IsOK(res2
)) {
27846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27848 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27849 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27850 if (!SWIG_IsOK(res3
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27856 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27859 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27863 if (!SWIG_IsOK(ecode5
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27866 arg5
= static_cast< int >(val5
);
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= SWIG_Py_Void();
27881 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
= 0;
27883 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27884 wxWindow
*arg2
= (wxWindow
*) 0 ;
27887 int arg5
= (int) 0 ;
27897 PyObject
* obj0
= 0 ;
27898 PyObject
* obj1
= 0 ;
27899 PyObject
* obj2
= 0 ;
27900 PyObject
* obj3
= 0 ;
27901 PyObject
* obj4
= 0 ;
27902 char * kwnames
[] = {
27903 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27911 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27913 if (!SWIG_IsOK(res2
)) {
27914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27917 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27918 if (!SWIG_IsOK(res3
)) {
27919 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27924 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27927 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27931 if (!SWIG_IsOK(ecode5
)) {
27932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27934 arg5
= static_cast< int >(val5
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27952 wxWindow
*arg2
= (wxWindow
*) 0 ;
27955 int arg5
= (int) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 PyObject
* obj2
= 0 ;
27968 PyObject
* obj3
= 0 ;
27969 PyObject
* obj4
= 0 ;
27970 char * kwnames
[] = {
27971 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27979 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27980 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27981 if (!SWIG_IsOK(res2
)) {
27982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27984 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27985 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27986 if (!SWIG_IsOK(res3
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27992 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27995 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27998 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27999 if (!SWIG_IsOK(ecode5
)) {
28000 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
28002 arg5
= static_cast< int >(val5
);
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 resultobj
= SWIG_Py_Void();
28017 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
= 0;
28019 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28020 wxWindow
*arg2
= (wxWindow
*) 0 ;
28023 int arg5
= (int) 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 PyObject
* obj2
= 0 ;
28036 PyObject
* obj3
= 0 ;
28037 PyObject
* obj4
= 0 ;
28038 char * kwnames
[] = {
28039 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28044 if (!SWIG_IsOK(res1
)) {
28045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28047 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28048 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28049 if (!SWIG_IsOK(res2
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
28052 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28053 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28054 if (!SWIG_IsOK(res3
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28060 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28063 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28066 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28067 if (!SWIG_IsOK(ecode5
)) {
28068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
28070 arg5
= static_cast< int >(val5
);
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28078 resultobj
= SWIG_Py_Void();
28085 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
= 0;
28087 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28088 wxWindow
*arg2
= (wxWindow
*) 0 ;
28089 SwigValueWrapper
<wxSplitterRenderParams
> result
;
28094 PyObject
* obj0
= 0 ;
28095 PyObject
* obj1
= 0 ;
28096 char * kwnames
[] = {
28097 (char *) "self",(char *) "win", NULL
28100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28105 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28107 if (!SWIG_IsOK(res2
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
28110 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
28124 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28125 PyObject
*resultobj
= 0;
28126 wxRendererNative
*result
= 0 ;
28128 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
28130 if (!wxPyCheckForApp()) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 wxRendererNative
&_result_ref
= wxRendererNative::Get();
28134 result
= (wxRendererNative
*) &_result_ref
;
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28146 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28147 PyObject
*resultobj
= 0;
28148 wxRendererNative
*result
= 0 ;
28150 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
28152 if (!wxPyCheckForApp()) SWIG_fail
;
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
28156 result
= (wxRendererNative
*) &_result_ref
;
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28168 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28169 PyObject
*resultobj
= 0;
28170 wxRendererNative
*result
= 0 ;
28172 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
28174 if (!wxPyCheckForApp()) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
28178 result
= (wxRendererNative
*) &_result_ref
;
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28190 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
= 0;
28192 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28193 wxRendererNative
*result
= 0 ;
28196 PyObject
* obj0
= 0 ;
28197 char * kwnames
[] = {
28198 (char *) "renderer", NULL
28201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
28202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28206 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28208 if (!wxPyCheckForApp()) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28221 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28222 PyObject
*resultobj
= 0;
28223 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28224 SwigValueWrapper
<wxRendererVersion
> result
;
28227 PyObject
*swig_obj
[1] ;
28229 if (!args
) SWIG_fail
;
28230 swig_obj
[0] = args
;
28231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28232 if (!SWIG_IsOK(res1
)) {
28233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28235 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28249 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28252 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28253 return SWIG_Py_Void();
28256 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28257 PyObject
*resultobj
= 0;
28258 wxPseudoDC
*result
= 0 ;
28260 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 result
= (wxPseudoDC
*)new wxPseudoDC();
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28274 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28275 PyObject
*resultobj
= 0;
28276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28279 PyObject
*swig_obj
[1] ;
28281 if (!args
) SWIG_fail
;
28282 swig_obj
[0] = args
;
28283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28284 if (!SWIG_IsOK(res1
)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28287 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 (arg1
)->BeginDrawing();
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_Py_Void();
28301 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28302 PyObject
*resultobj
= 0;
28303 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28306 PyObject
*swig_obj
[1] ;
28308 if (!args
) SWIG_fail
;
28309 swig_obj
[0] = args
;
28310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 (arg1
)->EndDrawing();
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= SWIG_Py_Void();
28328 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28329 PyObject
*resultobj
= 0;
28330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28333 PyObject
*swig_obj
[1] ;
28335 if (!args
) SWIG_fail
;
28336 swig_obj
[0] = args
;
28337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
28338 if (!SWIG_IsOK(res1
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28341 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= SWIG_Py_Void();
28356 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28357 PyObject
*resultobj
= 0;
28358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28361 PyObject
*swig_obj
[1] ;
28363 if (!args
) SWIG_fail
;
28364 swig_obj
[0] = args
;
28365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28366 if (!SWIG_IsOK(res1
)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 (arg1
)->RemoveAll();
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_Py_Void();
28383 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28384 PyObject
*resultobj
= 0;
28385 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28389 PyObject
*swig_obj
[1] ;
28391 if (!args
) SWIG_fail
;
28392 swig_obj
[0] = args
;
28393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28394 if (!SWIG_IsOK(res1
)) {
28395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28397 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 result
= (int)(arg1
)->GetLen();
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= SWIG_From_int(static_cast< int >(result
));
28411 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
= 0;
28413 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28419 PyObject
* obj0
= 0 ;
28420 PyObject
* obj1
= 0 ;
28421 char * kwnames
[] = {
28422 (char *) "self",(char *) "id", NULL
28425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28427 if (!SWIG_IsOK(res1
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28432 if (!SWIG_IsOK(ecode2
)) {
28433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
28435 arg2
= static_cast< int >(val2
);
28437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28438 (arg1
)->SetId(arg2
);
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28442 resultobj
= SWIG_Py_Void();
28449 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
= 0;
28451 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28457 PyObject
* obj0
= 0 ;
28458 PyObject
* obj1
= 0 ;
28459 char * kwnames
[] = {
28460 (char *) "self",(char *) "id", NULL
28463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28465 if (!SWIG_IsOK(res1
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28468 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28470 if (!SWIG_IsOK(ecode2
)) {
28471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
28473 arg2
= static_cast< int >(val2
);
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 (arg1
)->ClearId(arg2
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= SWIG_Py_Void();
28487 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
= 0;
28489 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 char * kwnames
[] = {
28498 (char *) "self",(char *) "id", NULL
28501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28506 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28508 if (!SWIG_IsOK(ecode2
)) {
28509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
28511 arg2
= static_cast< int >(val2
);
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 (arg1
)->RemoveId(arg2
);
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= SWIG_Py_Void();
28525 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
= 0;
28527 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28539 PyObject
* obj0
= 0 ;
28540 PyObject
* obj1
= 0 ;
28541 PyObject
* obj2
= 0 ;
28542 PyObject
* obj3
= 0 ;
28543 char * kwnames
[] = {
28544 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
28547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28549 if (!SWIG_IsOK(res1
)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28552 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28554 if (!SWIG_IsOK(ecode2
)) {
28555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
28557 arg2
= static_cast< int >(val2
);
28558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28559 if (!SWIG_IsOK(ecode3
)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
28562 arg3
= static_cast< int >(val3
);
28563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28564 if (!SWIG_IsOK(ecode4
)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
28567 arg4
= static_cast< int >(val4
);
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
28571 wxPyEndAllowThreads(__tstate
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= SWIG_Py_Void();
28581 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
= 0;
28583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28585 wxDC
*arg3
= (wxDC
*) 0 ;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 PyObject
* obj2
= 0 ;
28595 char * kwnames
[] = {
28596 (char *) "self",(char *) "id",(char *) "dc", NULL
28599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28601 if (!SWIG_IsOK(res1
)) {
28602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28606 if (!SWIG_IsOK(ecode2
)) {
28607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
28609 arg2
= static_cast< int >(val2
);
28610 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
28611 if (!SWIG_IsOK(res3
)) {
28612 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
28614 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 (arg1
)->DrawIdToDC(arg2
,arg3
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_Py_Void();
28628 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
= 0;
28630 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 PyObject
* obj2
= 0 ;
28641 char * kwnames
[] = {
28642 (char *) "self",(char *) "id",(char *) "rect", NULL
28645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28650 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28652 if (!SWIG_IsOK(ecode2
)) {
28653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
28655 arg2
= static_cast< int >(val2
);
28658 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 (arg1
)->SetIdBounds(arg2
,*arg3
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_Py_Void();
28673 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
= 0;
28675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28682 PyObject
* obj0
= 0 ;
28683 PyObject
* obj1
= 0 ;
28684 char * kwnames
[] = {
28685 (char *) "self",(char *) "id", NULL
28688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28690 if (!SWIG_IsOK(res1
)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28693 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28695 if (!SWIG_IsOK(ecode2
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28698 arg2
= static_cast< int >(val2
);
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28712 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
= 0;
28714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28715 wxDC
*arg2
= (wxDC
*) 0 ;
28722 PyObject
* obj0
= 0 ;
28723 PyObject
* obj1
= 0 ;
28724 PyObject
* obj2
= 0 ;
28725 char * kwnames
[] = {
28726 (char *) "self",(char *) "dc",(char *) "rect", NULL
28729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28731 if (!SWIG_IsOK(res1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28734 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28736 if (!SWIG_IsOK(res2
)) {
28737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28739 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28742 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_Py_Void();
28757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28758 PyObject
*resultobj
= 0;
28759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28760 wxDC
*arg2
= (wxDC
*) 0 ;
28761 wxRegion
*arg3
= 0 ;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 PyObject
* obj2
= 0 ;
28771 char * kwnames
[] = {
28772 (char *) "self",(char *) "dc",(char *) "region", NULL
28775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28777 if (!SWIG_IsOK(res1
)) {
28778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28780 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28782 if (!SWIG_IsOK(res2
)) {
28783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28785 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28786 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28787 if (!SWIG_IsOK(res3
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28793 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_Py_Void();
28807 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
= 0;
28809 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28810 wxDC
*arg2
= (wxDC
*) 0 ;
28815 PyObject
* obj0
= 0 ;
28816 PyObject
* obj1
= 0 ;
28817 char * kwnames
[] = {
28818 (char *) "self",(char *) "dc", NULL
28821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28823 if (!SWIG_IsOK(res1
)) {
28824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28826 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28828 if (!SWIG_IsOK(res2
)) {
28829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28831 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 (arg1
)->DrawToDC(arg2
);
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= SWIG_Py_Void();
28845 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
= 0;
28847 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28850 wxColour
*arg4
= 0 ;
28851 int arg5
= (int) wxFLOOD_SURFACE
;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 PyObject
* obj2
= 0 ;
28864 PyObject
* obj3
= 0 ;
28865 PyObject
* obj4
= 0 ;
28866 char * kwnames
[] = {
28867 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28872 if (!SWIG_IsOK(res1
)) {
28873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28875 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28877 if (!SWIG_IsOK(ecode2
)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28880 arg2
= static_cast< int >(val2
);
28881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28882 if (!SWIG_IsOK(ecode3
)) {
28883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28885 arg3
= static_cast< int >(val3
);
28888 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28892 if (!SWIG_IsOK(ecode5
)) {
28893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28895 arg5
= static_cast< int >(val5
);
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_Py_Void();
28910 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28913 wxPoint
*arg2
= 0 ;
28914 wxColour
*arg3
= 0 ;
28915 int arg4
= (int) wxFLOOD_SURFACE
;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 PyObject
* obj2
= 0 ;
28925 PyObject
* obj3
= 0 ;
28926 char * kwnames
[] = {
28927 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28932 if (!SWIG_IsOK(res1
)) {
28933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28942 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28946 if (!SWIG_IsOK(ecode4
)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28949 arg4
= static_cast< int >(val4
);
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_Py_Void();
28964 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
= 0;
28966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 PyObject
* obj2
= 0 ;
28984 PyObject
* obj3
= 0 ;
28985 PyObject
* obj4
= 0 ;
28986 char * kwnames
[] = {
28987 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28992 if (!SWIG_IsOK(res1
)) {
28993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28997 if (!SWIG_IsOK(ecode2
)) {
28998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
29000 arg2
= static_cast< int >(val2
);
29001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29002 if (!SWIG_IsOK(ecode3
)) {
29003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
29005 arg3
= static_cast< int >(val3
);
29006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29007 if (!SWIG_IsOK(ecode4
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
29010 arg4
= static_cast< int >(val4
);
29011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29012 if (!SWIG_IsOK(ecode5
)) {
29013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
29015 arg5
= static_cast< int >(val5
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_Py_Void();
29029 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
= 0;
29031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29032 wxPoint
*arg2
= 0 ;
29033 wxPoint
*arg3
= 0 ;
29038 PyObject
* obj0
= 0 ;
29039 PyObject
* obj1
= 0 ;
29040 PyObject
* obj2
= 0 ;
29041 char * kwnames
[] = {
29042 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
29045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29047 if (!SWIG_IsOK(res1
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29050 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= SWIG_Py_Void();
29072 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
= 0;
29074 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 PyObject
* obj2
= 0 ;
29086 char * kwnames
[] = {
29087 (char *) "self",(char *) "x",(char *) "y", NULL
29090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29092 if (!SWIG_IsOK(res1
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29095 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29097 if (!SWIG_IsOK(ecode2
)) {
29098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
29100 arg2
= static_cast< int >(val2
);
29101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29102 if (!SWIG_IsOK(ecode3
)) {
29103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
29105 arg3
= static_cast< int >(val3
);
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 (arg1
)->CrossHair(arg2
,arg3
);
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 resultobj
= SWIG_Py_Void();
29119 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
= 0;
29121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29122 wxPoint
*arg2
= 0 ;
29126 PyObject
* obj0
= 0 ;
29127 PyObject
* obj1
= 0 ;
29128 char * kwnames
[] = {
29129 (char *) "self",(char *) "pt", NULL
29132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) 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_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29137 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_Py_Void();
29155 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
= 0;
29157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29178 PyObject
* obj0
= 0 ;
29179 PyObject
* obj1
= 0 ;
29180 PyObject
* obj2
= 0 ;
29181 PyObject
* obj3
= 0 ;
29182 PyObject
* obj4
= 0 ;
29183 PyObject
* obj5
= 0 ;
29184 PyObject
* obj6
= 0 ;
29185 char * kwnames
[] = {
29186 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
29189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29191 if (!SWIG_IsOK(res1
)) {
29192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29196 if (!SWIG_IsOK(ecode2
)) {
29197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
29199 arg2
= static_cast< int >(val2
);
29200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29201 if (!SWIG_IsOK(ecode3
)) {
29202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
29204 arg3
= static_cast< int >(val3
);
29205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29206 if (!SWIG_IsOK(ecode4
)) {
29207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29209 arg4
= static_cast< int >(val4
);
29210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29211 if (!SWIG_IsOK(ecode5
)) {
29212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29214 arg5
= static_cast< int >(val5
);
29215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29216 if (!SWIG_IsOK(ecode6
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29219 arg6
= static_cast< int >(val6
);
29220 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29221 if (!SWIG_IsOK(ecode7
)) {
29222 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29224 arg7
= static_cast< int >(val7
);
29226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29227 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= SWIG_Py_Void();
29238 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
= 0;
29240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29241 wxPoint
*arg2
= 0 ;
29242 wxPoint
*arg3
= 0 ;
29243 wxPoint
*arg4
= 0 ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 PyObject
* obj2
= 0 ;
29252 PyObject
* obj3
= 0 ;
29253 char * kwnames
[] = {
29254 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29259 if (!SWIG_IsOK(res1
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29281 resultobj
= SWIG_Py_Void();
29288 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
= 0;
29290 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29305 PyObject
* obj0
= 0 ;
29306 PyObject
* obj1
= 0 ;
29307 PyObject
* obj2
= 0 ;
29308 PyObject
* obj3
= 0 ;
29309 PyObject
* obj4
= 0 ;
29310 char * kwnames
[] = {
29311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29316 if (!SWIG_IsOK(res1
)) {
29317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29321 if (!SWIG_IsOK(ecode2
)) {
29322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
29324 arg2
= static_cast< int >(val2
);
29325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29326 if (!SWIG_IsOK(ecode3
)) {
29327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
29329 arg3
= static_cast< int >(val3
);
29330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29331 if (!SWIG_IsOK(ecode4
)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
29334 arg4
= static_cast< int >(val4
);
29335 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29336 if (!SWIG_IsOK(ecode5
)) {
29337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
29339 arg5
= static_cast< int >(val5
);
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= SWIG_Py_Void();
29353 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29354 PyObject
*resultobj
= 0;
29355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "self",(char *) "rect", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29371 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29374 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= SWIG_Py_Void();
29389 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
= 0;
29391 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 PyObject
* obj2
= 0 ;
29415 PyObject
* obj3
= 0 ;
29416 PyObject
* obj4
= 0 ;
29417 PyObject
* obj5
= 0 ;
29418 PyObject
* obj6
= 0 ;
29419 char * kwnames
[] = {
29420 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
29423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29428 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29430 if (!SWIG_IsOK(ecode2
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
29433 arg2
= static_cast< int >(val2
);
29434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29435 if (!SWIG_IsOK(ecode3
)) {
29436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
29438 arg3
= static_cast< int >(val3
);
29439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29440 if (!SWIG_IsOK(ecode4
)) {
29441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
29443 arg4
= static_cast< int >(val4
);
29444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29445 if (!SWIG_IsOK(ecode5
)) {
29446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
29448 arg5
= static_cast< int >(val5
);
29449 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29450 if (!SWIG_IsOK(ecode6
)) {
29451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
29453 arg6
= static_cast< double >(val6
);
29454 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29455 if (!SWIG_IsOK(ecode7
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
29458 arg7
= static_cast< double >(val7
);
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= SWIG_Py_Void();
29472 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
= 0;
29474 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29475 wxPoint
*arg2
= 0 ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 PyObject
* obj2
= 0 ;
29490 PyObject
* obj3
= 0 ;
29491 PyObject
* obj4
= 0 ;
29492 char * kwnames
[] = {
29493 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
29496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29498 if (!SWIG_IsOK(res1
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29508 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29510 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29511 if (!SWIG_IsOK(ecode4
)) {
29512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
29514 arg4
= static_cast< double >(val4
);
29515 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29516 if (!SWIG_IsOK(ecode5
)) {
29517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
29519 arg5
= static_cast< double >(val5
);
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29526 resultobj
= SWIG_Py_Void();
29533 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29534 PyObject
*resultobj
= 0;
29535 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29544 PyObject
* obj0
= 0 ;
29545 PyObject
* obj1
= 0 ;
29546 PyObject
* obj2
= 0 ;
29547 char * kwnames
[] = {
29548 (char *) "self",(char *) "x",(char *) "y", NULL
29551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29553 if (!SWIG_IsOK(res1
)) {
29554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29556 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29558 if (!SWIG_IsOK(ecode2
)) {
29559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
29561 arg2
= static_cast< int >(val2
);
29562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29563 if (!SWIG_IsOK(ecode3
)) {
29564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
29566 arg3
= static_cast< int >(val3
);
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 (arg1
)->DrawPoint(arg2
,arg3
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= SWIG_Py_Void();
29580 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
= 0;
29582 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29583 wxPoint
*arg2
= 0 ;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 char * kwnames
[] = {
29590 (char *) "self",(char *) "pt", NULL
29593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
29606 wxPyEndAllowThreads(__tstate
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29609 resultobj
= SWIG_Py_Void();
29616 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
= 0;
29618 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 PyObject
* obj2
= 0 ;
29636 PyObject
* obj3
= 0 ;
29637 PyObject
* obj4
= 0 ;
29638 char * kwnames
[] = {
29639 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29649 if (!SWIG_IsOK(ecode2
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
29652 arg2
= static_cast< int >(val2
);
29653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29654 if (!SWIG_IsOK(ecode3
)) {
29655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
29657 arg3
= static_cast< int >(val3
);
29658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29659 if (!SWIG_IsOK(ecode4
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
29662 arg4
= static_cast< int >(val4
);
29663 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29664 if (!SWIG_IsOK(ecode5
)) {
29665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29667 arg5
= static_cast< int >(val5
);
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= SWIG_Py_Void();
29681 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
= 0;
29683 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char * kwnames
[] = {
29691 (char *) "self",(char *) "rect", NULL
29694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_Py_Void();
29717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
= 0;
29719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29720 wxPoint
*arg2
= 0 ;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 PyObject
* obj2
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "pt",(char *) "sz", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29745 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 resultobj
= SWIG_Py_Void();
29760 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
= 0;
29762 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29780 PyObject
* obj0
= 0 ;
29781 PyObject
* obj1
= 0 ;
29782 PyObject
* obj2
= 0 ;
29783 PyObject
* obj3
= 0 ;
29784 PyObject
* obj4
= 0 ;
29785 PyObject
* obj5
= 0 ;
29786 char * kwnames
[] = {
29787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29792 if (!SWIG_IsOK(res1
)) {
29793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29795 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29797 if (!SWIG_IsOK(ecode2
)) {
29798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29800 arg2
= static_cast< int >(val2
);
29801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29802 if (!SWIG_IsOK(ecode3
)) {
29803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29805 arg3
= static_cast< int >(val3
);
29806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29807 if (!SWIG_IsOK(ecode4
)) {
29808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29810 arg4
= static_cast< int >(val4
);
29811 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29812 if (!SWIG_IsOK(ecode5
)) {
29813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29815 arg5
= static_cast< int >(val5
);
29816 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29817 if (!SWIG_IsOK(ecode6
)) {
29818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29820 arg6
= static_cast< double >(val6
);
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29827 resultobj
= SWIG_Py_Void();
29834 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
= 0;
29836 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29844 PyObject
* obj0
= 0 ;
29845 PyObject
* obj1
= 0 ;
29846 PyObject
* obj2
= 0 ;
29847 char * kwnames
[] = {
29848 (char *) "self",(char *) "r",(char *) "radius", NULL
29851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29856 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29859 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29861 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29862 if (!SWIG_IsOK(ecode3
)) {
29863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29865 arg3
= static_cast< double >(val3
);
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 resultobj
= SWIG_Py_Void();
29879 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
= 0;
29881 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29882 wxPoint
*arg2
= 0 ;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 PyObject
* obj2
= 0 ;
29894 PyObject
* obj3
= 0 ;
29895 char * kwnames
[] = {
29896 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29901 if (!SWIG_IsOK(res1
)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29904 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29911 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29913 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29914 if (!SWIG_IsOK(ecode4
)) {
29915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29917 arg4
= static_cast< double >(val4
);
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= SWIG_Py_Void();
29931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
= 0;
29933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 PyObject
* obj2
= 0 ;
29948 PyObject
* obj3
= 0 ;
29949 char * kwnames
[] = {
29950 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29955 if (!SWIG_IsOK(res1
)) {
29956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29960 if (!SWIG_IsOK(ecode2
)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29963 arg2
= static_cast< int >(val2
);
29964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29965 if (!SWIG_IsOK(ecode3
)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29968 arg3
= static_cast< int >(val3
);
29969 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29970 if (!SWIG_IsOK(ecode4
)) {
29971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29973 arg4
= static_cast< int >(val4
);
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_Py_Void();
29987 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= 0;
29989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29990 wxPoint
*arg2
= 0 ;
29997 PyObject
* obj0
= 0 ;
29998 PyObject
* obj1
= 0 ;
29999 PyObject
* obj2
= 0 ;
30000 char * kwnames
[] = {
30001 (char *) "self",(char *) "pt",(char *) "radius", NULL
30004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30006 if (!SWIG_IsOK(res1
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30015 if (!SWIG_IsOK(ecode3
)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
30018 arg3
= static_cast< int >(val3
);
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_Py_Void();
30032 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
= 0;
30034 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30049 PyObject
* obj0
= 0 ;
30050 PyObject
* obj1
= 0 ;
30051 PyObject
* obj2
= 0 ;
30052 PyObject
* obj3
= 0 ;
30053 PyObject
* obj4
= 0 ;
30054 char * kwnames
[] = {
30055 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30060 if (!SWIG_IsOK(res1
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30063 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30065 if (!SWIG_IsOK(ecode2
)) {
30066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
30068 arg2
= static_cast< int >(val2
);
30069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30070 if (!SWIG_IsOK(ecode3
)) {
30071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
30073 arg3
= static_cast< int >(val3
);
30074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30075 if (!SWIG_IsOK(ecode4
)) {
30076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
30078 arg4
= static_cast< int >(val4
);
30079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30080 if (!SWIG_IsOK(ecode5
)) {
30081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
30083 arg5
= static_cast< int >(val5
);
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= SWIG_Py_Void();
30097 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
= 0;
30099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 char * kwnames
[] = {
30107 (char *) "self",(char *) "rect", NULL
30110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30112 if (!SWIG_IsOK(res1
)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30126 resultobj
= SWIG_Py_Void();
30133 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30134 PyObject
*resultobj
= 0;
30135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30136 wxPoint
*arg2
= 0 ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 PyObject
* obj2
= 0 ;
30145 char * kwnames
[] = {
30146 (char *) "self",(char *) "pt",(char *) "sz", NULL
30149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30151 if (!SWIG_IsOK(res1
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30161 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_Py_Void();
30176 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
= 0;
30178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30190 PyObject
* obj0
= 0 ;
30191 PyObject
* obj1
= 0 ;
30192 PyObject
* obj2
= 0 ;
30193 PyObject
* obj3
= 0 ;
30194 char * kwnames
[] = {
30195 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
30198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30200 if (!SWIG_IsOK(res1
)) {
30201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30205 if (!SWIG_IsOK(res2
)) {
30206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30211 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30213 if (!SWIG_IsOK(ecode3
)) {
30214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30216 arg3
= static_cast< int >(val3
);
30217 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30218 if (!SWIG_IsOK(ecode4
)) {
30219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30221 arg4
= static_cast< int >(val4
);
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= SWIG_Py_Void();
30235 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
= 0;
30237 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30239 wxPoint
*arg3
= 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 PyObject
* obj2
= 0 ;
30248 char * kwnames
[] = {
30249 (char *) "self",(char *) "icon",(char *) "pt", NULL
30252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30257 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30259 if (!SWIG_IsOK(res2
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30265 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= SWIG_Py_Void();
30283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
= 0;
30285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30286 wxBitmap
*arg2
= 0 ;
30289 bool arg5
= (bool) false ;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 PyObject
* obj2
= 0 ;
30303 PyObject
* obj3
= 0 ;
30304 PyObject
* obj4
= 0 ;
30305 char * kwnames
[] = {
30306 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
30309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30311 if (!SWIG_IsOK(res1
)) {
30312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30316 if (!SWIG_IsOK(res2
)) {
30317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30322 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30324 if (!SWIG_IsOK(ecode3
)) {
30325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
30327 arg3
= static_cast< int >(val3
);
30328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30329 if (!SWIG_IsOK(ecode4
)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
30332 arg4
= static_cast< int >(val4
);
30334 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
30335 if (!SWIG_IsOK(ecode5
)) {
30336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
30338 arg5
= static_cast< bool >(val5
);
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_Py_Void();
30353 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
= 0;
30355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30356 wxBitmap
*arg2
= 0 ;
30357 wxPoint
*arg3
= 0 ;
30358 bool arg4
= (bool) false ;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 PyObject
* obj2
= 0 ;
30369 PyObject
* obj3
= 0 ;
30370 char * kwnames
[] = {
30371 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
30374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30376 if (!SWIG_IsOK(res1
)) {
30377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30381 if (!SWIG_IsOK(res2
)) {
30382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30387 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30393 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30394 if (!SWIG_IsOK(ecode4
)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
30397 arg4
= static_cast< bool >(val4
);
30400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30401 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_Py_Void();
30412 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= 0;
30414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30415 wxString
*arg2
= 0 ;
30420 bool temp2
= false ;
30425 PyObject
* obj0
= 0 ;
30426 PyObject
* obj1
= 0 ;
30427 PyObject
* obj2
= 0 ;
30428 PyObject
* obj3
= 0 ;
30429 char * kwnames
[] = {
30430 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
30433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30440 arg2
= wxString_in_helper(obj1
);
30441 if (arg2
== NULL
) SWIG_fail
;
30444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30445 if (!SWIG_IsOK(ecode3
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
30448 arg3
= static_cast< int >(val3
);
30449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30450 if (!SWIG_IsOK(ecode4
)) {
30451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
30453 arg4
= static_cast< int >(val4
);
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= SWIG_Py_Void();
30475 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
= 0;
30477 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30478 wxString
*arg2
= 0 ;
30479 wxPoint
*arg3
= 0 ;
30482 bool temp2
= false ;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 PyObject
* obj2
= 0 ;
30487 char * kwnames
[] = {
30488 (char *) "self",(char *) "text",(char *) "pt", NULL
30491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30498 arg2
= wxString_in_helper(obj1
);
30499 if (arg2
== NULL
) SWIG_fail
;
30504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= SWIG_Py_Void();
30527 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
= 0;
30529 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30530 wxString
*arg2
= 0 ;
30536 bool temp2
= false ;
30543 PyObject
* obj0
= 0 ;
30544 PyObject
* obj1
= 0 ;
30545 PyObject
* obj2
= 0 ;
30546 PyObject
* obj3
= 0 ;
30547 PyObject
* obj4
= 0 ;
30548 char * kwnames
[] = {
30549 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
30552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30554 if (!SWIG_IsOK(res1
)) {
30555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30557 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30559 arg2
= wxString_in_helper(obj1
);
30560 if (arg2
== NULL
) SWIG_fail
;
30563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30564 if (!SWIG_IsOK(ecode3
)) {
30565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
30567 arg3
= static_cast< int >(val3
);
30568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30569 if (!SWIG_IsOK(ecode4
)) {
30570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
30572 arg4
= static_cast< int >(val4
);
30573 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30574 if (!SWIG_IsOK(ecode5
)) {
30575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
30577 arg5
= static_cast< double >(val5
);
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= SWIG_Py_Void();
30599 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
= 0;
30601 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30602 wxString
*arg2
= 0 ;
30603 wxPoint
*arg3
= 0 ;
30607 bool temp2
= false ;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 PyObject
* obj2
= 0 ;
30614 PyObject
* obj3
= 0 ;
30615 char * kwnames
[] = {
30616 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
30619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30626 arg2
= wxString_in_helper(obj1
);
30627 if (arg2
== NULL
) SWIG_fail
;
30632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30634 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30635 if (!SWIG_IsOK(ecode4
)) {
30636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
30638 arg4
= static_cast< double >(val4
);
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 resultobj
= SWIG_Py_Void();
30660 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
= 0;
30662 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30664 wxPoint
*arg3
= (wxPoint
*) 0 ;
30665 int arg4
= (int) 0 ;
30666 int arg5
= (int) 0 ;
30673 PyObject
* obj0
= 0 ;
30674 PyObject
* obj1
= 0 ;
30675 PyObject
* obj2
= 0 ;
30676 PyObject
* obj3
= 0 ;
30677 char * kwnames
[] = {
30678 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30683 if (!SWIG_IsOK(res1
)) {
30684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30688 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30689 if (arg3
== NULL
) SWIG_fail
;
30692 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30693 if (!SWIG_IsOK(ecode4
)) {
30694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30696 arg4
= static_cast< int >(val4
);
30699 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30700 if (!SWIG_IsOK(ecode5
)) {
30701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30703 arg5
= static_cast< int >(val5
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_Py_Void();
30713 if (arg3
) delete [] arg3
;
30718 if (arg3
) delete [] arg3
;
30724 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
= 0;
30726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30728 wxPoint
*arg3
= (wxPoint
*) 0 ;
30729 int arg4
= (int) 0 ;
30730 int arg5
= (int) 0 ;
30731 int arg6
= (int) wxODDEVEN_RULE
;
30740 PyObject
* obj0
= 0 ;
30741 PyObject
* obj1
= 0 ;
30742 PyObject
* obj2
= 0 ;
30743 PyObject
* obj3
= 0 ;
30744 PyObject
* obj4
= 0 ;
30745 char * kwnames
[] = {
30746 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30751 if (!SWIG_IsOK(res1
)) {
30752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30754 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30756 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30757 if (arg3
== NULL
) SWIG_fail
;
30760 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30761 if (!SWIG_IsOK(ecode4
)) {
30762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30764 arg4
= static_cast< int >(val4
);
30767 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30768 if (!SWIG_IsOK(ecode5
)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30771 arg5
= static_cast< int >(val5
);
30774 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30775 if (!SWIG_IsOK(ecode6
)) {
30776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30778 arg6
= static_cast< int >(val6
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_Py_Void();
30788 if (arg3
) delete [] arg3
;
30793 if (arg3
) delete [] arg3
;
30799 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
= 0;
30801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30802 wxString
*arg2
= 0 ;
30804 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30805 int arg5
= (int) -1 ;
30808 bool temp2
= false ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 PyObject
* obj2
= 0 ;
30817 PyObject
* obj3
= 0 ;
30818 PyObject
* obj4
= 0 ;
30819 char * kwnames
[] = {
30820 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30825 if (!SWIG_IsOK(res1
)) {
30826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30830 arg2
= wxString_in_helper(obj1
);
30831 if (arg2
== NULL
) SWIG_fail
;
30836 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30840 if (!SWIG_IsOK(ecode4
)) {
30841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30843 arg4
= static_cast< int >(val4
);
30846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30847 if (!SWIG_IsOK(ecode5
)) {
30848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30850 arg5
= static_cast< int >(val5
);
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_Py_Void();
30873 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
= 0;
30875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30876 wxString
*arg2
= 0 ;
30877 wxBitmap
*arg3
= 0 ;
30879 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30880 int arg6
= (int) -1 ;
30883 bool temp2
= false ;
30891 PyObject
* obj0
= 0 ;
30892 PyObject
* obj1
= 0 ;
30893 PyObject
* obj2
= 0 ;
30894 PyObject
* obj3
= 0 ;
30895 PyObject
* obj4
= 0 ;
30896 PyObject
* obj5
= 0 ;
30897 char * kwnames
[] = {
30898 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30903 if (!SWIG_IsOK(res1
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30908 arg2
= wxString_in_helper(obj1
);
30909 if (arg2
== NULL
) SWIG_fail
;
30912 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30913 if (!SWIG_IsOK(res3
)) {
30914 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30919 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30922 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30926 if (!SWIG_IsOK(ecode5
)) {
30927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30929 arg5
= static_cast< int >(val5
);
30932 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30933 if (!SWIG_IsOK(ecode6
)) {
30934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30936 arg6
= static_cast< int >(val6
);
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= SWIG_Py_Void();
30959 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
= 0;
30961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30963 wxPoint
*arg3
= (wxPoint
*) 0 ;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 char * kwnames
[] = {
30969 (char *) "self",(char *) "points", NULL
30972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30974 if (!SWIG_IsOK(res1
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30979 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30980 if (arg3
== NULL
) SWIG_fail
;
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30984 (arg1
)->DrawSpline(arg2
,arg3
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_Py_Void();
30990 if (arg3
) delete [] arg3
;
30995 if (arg3
) delete [] arg3
;
31001 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31002 PyObject
*resultobj
= 0;
31003 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31006 PyObject
*swig_obj
[1] ;
31008 if (!args
) SWIG_fail
;
31009 swig_obj
[0] = args
;
31010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31011 if (!SWIG_IsOK(res1
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= SWIG_Py_Void();
31028 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
= 0;
31030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31036 PyObject
* obj0
= 0 ;
31037 PyObject
* obj1
= 0 ;
31038 char * kwnames
[] = {
31039 (char *) "self",(char *) "font", NULL
31042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31044 if (!SWIG_IsOK(res1
)) {
31045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31047 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31049 if (!SWIG_IsOK(res2
)) {
31050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31055 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31058 (arg1
)->SetFont((wxFont
const &)*arg2
);
31059 wxPyEndAllowThreads(__tstate
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 resultobj
= SWIG_Py_Void();
31069 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
= 0;
31071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31077 PyObject
* obj0
= 0 ;
31078 PyObject
* obj1
= 0 ;
31079 char * kwnames
[] = {
31080 (char *) "self",(char *) "pen", NULL
31083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31085 if (!SWIG_IsOK(res1
)) {
31086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31090 if (!SWIG_IsOK(res2
)) {
31091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31096 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 (arg1
)->SetPen((wxPen
const &)*arg2
);
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= SWIG_Py_Void();
31110 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
= 0;
31112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31113 wxBrush
*arg2
= 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "brush", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31131 if (!SWIG_IsOK(res2
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31137 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= SWIG_Py_Void();
31151 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
= 0;
31153 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31154 wxBrush
*arg2
= 0 ;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 char * kwnames
[] = {
31162 (char *) "self",(char *) "brush", NULL
31165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31167 if (!SWIG_IsOK(res1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31172 if (!SWIG_IsOK(res2
)) {
31173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31178 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31185 resultobj
= SWIG_Py_Void();
31192 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
= 0;
31194 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 char * kwnames
[] = {
31203 (char *) "self",(char *) "mode", NULL
31206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31208 if (!SWIG_IsOK(res1
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31213 if (!SWIG_IsOK(ecode2
)) {
31214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31216 arg2
= static_cast< int >(val2
);
31218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31219 (arg1
)->SetBackgroundMode(arg2
);
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_Py_Void();
31230 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
= 0;
31232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31233 wxPalette
*arg2
= 0 ;
31238 PyObject
* obj0
= 0 ;
31239 PyObject
* obj1
= 0 ;
31240 char * kwnames
[] = {
31241 (char *) "self",(char *) "palette", NULL
31244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31246 if (!SWIG_IsOK(res1
)) {
31247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31251 if (!SWIG_IsOK(res2
)) {
31252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31257 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_Py_Void();
31271 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
= 0;
31273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31274 wxColour
*arg2
= 0 ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 char * kwnames
[] = {
31281 (char *) "self",(char *) "colour", NULL
31284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31286 if (!SWIG_IsOK(res1
)) {
31287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31289 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_Py_Void();
31307 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
= 0;
31309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31310 wxColour
*arg2
= 0 ;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 char * kwnames
[] = {
31317 (char *) "self",(char *) "colour", NULL
31320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31322 if (!SWIG_IsOK(res1
)) {
31323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_Py_Void();
31343 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 char * kwnames
[] = {
31354 (char *) "self",(char *) "function", NULL
31357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31359 if (!SWIG_IsOK(res1
)) {
31360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31364 if (!SWIG_IsOK(ecode2
)) {
31365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
31367 arg2
= static_cast< int >(val2
);
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 (arg1
)->SetLogicalFunction(arg2
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= SWIG_Py_Void();
31381 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31384 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
31385 return SWIG_Py_Void();
31388 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31389 return SWIG_Python_InitShadowInstance(args
);
31392 static PyMethodDef SwigMethods
[] = {
31393 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
31394 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
31395 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
31396 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
31397 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
31398 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
31402 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
31403 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
31404 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
31405 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
31406 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
31407 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
31412 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
31416 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
31417 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
31418 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
31420 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
31423 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
31424 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
31425 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
31426 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
31428 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
31429 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
31430 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
31431 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
31432 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
31433 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
31434 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
31441 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
31445 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
31446 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
31449 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
31453 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
31454 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
31455 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
31456 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
31457 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
31458 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
31460 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
31461 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
31463 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
31469 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
31470 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
31471 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
31472 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
31473 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
31474 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
31475 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
31481 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
31489 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
31490 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
31494 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
31495 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
31496 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
31497 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
31498 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
31499 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
31500 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
31501 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
31502 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
31503 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
31504 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
31505 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
31506 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
31507 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
31508 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
31510 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
31511 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
31517 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31518 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31519 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
31520 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
31521 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
31522 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
31523 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
31524 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
31525 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
31526 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
31527 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
31528 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
31530 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
31531 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
31537 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31538 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31539 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
31541 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
31542 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
31543 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
31545 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
31546 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
31550 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
31551 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
31552 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
31553 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
31558 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
31559 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
31561 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
31562 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
31564 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
31566 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
31567 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
31568 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
31569 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
31572 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
31576 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
31577 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
31579 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
31582 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
31583 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
31584 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
31589 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
31590 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
31596 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
31600 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
31611 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
31614 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
31615 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
31617 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
31618 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
31619 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
31620 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
31621 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
31622 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
31623 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
31624 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
31625 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
31626 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
31627 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
31628 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
31629 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
31630 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
31631 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
31632 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
31633 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
31635 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
31636 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
31637 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
31638 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
31639 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
31640 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
31641 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
31650 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
31651 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
31653 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
31654 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
31655 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
31656 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
31657 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
31658 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
31659 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
31660 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
31661 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
31663 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31664 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31665 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31668 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31669 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31670 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31673 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31679 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31684 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31685 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31687 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31693 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31696 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31697 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31698 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31699 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31700 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31701 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31702 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31703 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31704 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31705 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31706 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31707 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31708 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31720 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31721 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31722 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31724 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31725 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31728 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31729 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31730 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31734 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31735 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31737 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31738 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31739 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31740 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31741 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31742 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31743 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31744 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31745 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31747 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31750 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31751 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31752 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31753 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31754 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31755 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31756 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31757 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31767 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31768 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31769 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31771 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31775 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31776 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31777 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31778 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31779 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31780 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31786 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31787 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31788 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31837 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31839 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31840 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31841 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31848 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31849 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31850 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31851 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31852 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31857 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31858 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31859 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31860 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31869 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31870 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31871 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31872 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31873 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31874 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31875 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31876 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31877 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31878 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31879 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31880 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31883 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31885 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31887 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31889 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31890 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31893 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31894 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31898 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31900 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31903 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31904 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31905 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31906 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31907 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31908 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31915 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31916 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31919 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31920 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31921 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31922 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31923 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31924 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31925 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31927 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31928 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31929 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31932 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31933 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31934 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31936 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31937 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31939 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31940 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31942 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31943 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31945 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31946 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31948 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31951 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31952 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31953 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
31955 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
31956 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
31958 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
31959 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
31960 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31961 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31962 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
31964 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31965 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31966 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31968 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31969 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31971 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31979 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31981 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31983 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31984 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31985 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31986 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31987 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31988 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31994 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31995 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31996 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31997 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31998 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31999 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
32003 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
32007 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
32011 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
32012 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
32013 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
32019 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
32020 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
32021 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
32022 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
32023 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
32024 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
32025 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
32026 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
32027 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
32028 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
32029 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
32039 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
32041 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
32042 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
32043 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
32044 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
32045 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
32046 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
32047 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
32048 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
32049 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
32050 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
32051 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
32052 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
32053 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
32054 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
32055 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
32056 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
32057 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
32058 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
32059 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
32060 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
32061 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
32062 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
32063 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
32064 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
32066 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
32068 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
32069 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
32070 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
32071 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
32084 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
32085 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
32086 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
32088 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
32090 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
32091 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
32092 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
32093 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
32094 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
32095 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
32144 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
32154 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
32155 { NULL
, NULL
, 0, NULL
}
32159 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32161 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
32162 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
32164 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
32165 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32167 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
32168 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
32170 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
32171 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
32173 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
32174 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
32176 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
32177 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
32179 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
32180 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
32182 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
32183 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
32185 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
32186 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
32188 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
32189 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
32191 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
32192 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
32194 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
32195 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
32197 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
32198 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
32200 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
32201 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
32203 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
32204 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
32206 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
32207 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
32209 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
32210 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
32212 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
32213 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32215 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32216 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32218 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32219 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32221 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32222 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32224 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32225 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32227 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32228 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32230 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32231 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32233 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32234 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32236 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32237 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32239 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32242 static void *_p_wxPenTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
32245 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
32248 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32251 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32254 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32257 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32260 static void *_p_wxIconTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32263 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32266 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32269 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) ((wxSizer
*) x
));
32272 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32275 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32278 static void *_p_wxEventTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) ((wxEvent
*) x
));
32281 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32284 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32287 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32290 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
32293 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32296 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32299 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32302 static void *_p_wxDCTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) ((wxDC
*) x
));
32305 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32308 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32311 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32314 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32317 static void *_p_wxControlTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32320 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32323 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
32326 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32329 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
32332 static void *_p_wxRegionTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
32335 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32338 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
32341 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
32344 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) ((wxEffects
*) x
));
32347 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32350 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32353 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
32356 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32359 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32362 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32365 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32368 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32371 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32374 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32377 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32380 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32383 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32386 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32389 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32392 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32395 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32398 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32401 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32404 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32407 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32410 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32413 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32416 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32419 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32422 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32425 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32428 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32431 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32434 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32437 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
32440 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
32443 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
32446 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32449 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32452 static void *_p_wxImageTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxImage
*) x
));
32455 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32458 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
32461 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
32464 static void *_p_wxImageListTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) ((wxImageList
*) x
));
32467 static void *_p_wxCursorTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
32470 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
32473 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
32476 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32479 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32482 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32485 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32488 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32491 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32494 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
32497 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32500 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
32503 static void *_p_wxMaskTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) ((wxMask
*) x
));
32506 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32509 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32512 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32515 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32518 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32521 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32524 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32527 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32530 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32533 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32536 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32539 static void *_p_wxFontTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
32542 static void *_p_wxBrushTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
32545 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
32548 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32551 static void *_p_wxColourTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) ((wxColour
*) x
));
32554 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32557 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32560 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32561 return (void *)((wxWindow
*) ((wxControl
*) x
));
32563 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32564 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32566 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32567 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32569 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
32570 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
32572 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
32573 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
32575 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
32578 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};
32579 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32580 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32581 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32582 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32583 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
32584 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
32585 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32586 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
32587 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
32588 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
32589 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
32590 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32591 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
32592 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32593 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
32594 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
32605 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
32606 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32607 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32608 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
32609 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32624 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32625 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32626 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32627 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32628 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32629 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32630 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32631 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32632 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32633 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
32634 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
32635 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32636 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32637 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32638 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32639 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32640 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32641 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32642 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32643 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32645 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32646 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32647 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32648 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32649 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
32651 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32652 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32653 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32654 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32655 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32665 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32666 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32667 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32668 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32669 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32672 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32673 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32674 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32676 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32682 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32683 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32684 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32685 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32686 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32687 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32688 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32689 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32690 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32691 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32693 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32695 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32700 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32701 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32725 static swig_type_info
*swig_type_initial
[] = {
32729 &_swigt__p_form_ops_t
,
32731 &_swigt__p_unsigned_char
,
32732 &_swigt__p_unsigned_int
,
32733 &_swigt__p_unsigned_long
,
32734 &_swigt__p_wxANIHandler
,
32735 &_swigt__p_wxAcceleratorTable
,
32736 &_swigt__p_wxActivateEvent
,
32737 &_swigt__p_wxAlphaPixelData
,
32738 &_swigt__p_wxAlphaPixelData_Accessor
,
32739 &_swigt__p_wxBMPHandler
,
32740 &_swigt__p_wxBitmap
,
32741 &_swigt__p_wxBoxSizer
,
32742 &_swigt__p_wxBrush
,
32743 &_swigt__p_wxBrushList
,
32744 &_swigt__p_wxBufferedDC
,
32745 &_swigt__p_wxBufferedPaintDC
,
32746 &_swigt__p_wxCURHandler
,
32748 &_swigt__p_wxChildFocusEvent
,
32749 &_swigt__p_wxClientDC
,
32750 &_swigt__p_wxClipboardTextEvent
,
32751 &_swigt__p_wxCloseEvent
,
32752 &_swigt__p_wxColour
,
32753 &_swigt__p_wxColourDatabase
,
32754 &_swigt__p_wxCommandEvent
,
32755 &_swigt__p_wxContextMenuEvent
,
32756 &_swigt__p_wxControl
,
32757 &_swigt__p_wxControlWithItems
,
32758 &_swigt__p_wxCursor
,
32761 &_swigt__p_wxDateEvent
,
32762 &_swigt__p_wxDisplayChangedEvent
,
32763 &_swigt__p_wxDropFilesEvent
,
32764 &_swigt__p_wxDuplexMode
,
32765 &_swigt__p_wxEffects
,
32766 &_swigt__p_wxEncodingConverter
,
32767 &_swigt__p_wxEraseEvent
,
32768 &_swigt__p_wxEvent
,
32769 &_swigt__p_wxEvtHandler
,
32770 &_swigt__p_wxFSFile
,
32771 &_swigt__p_wxFileSystem
,
32772 &_swigt__p_wxFlexGridSizer
,
32773 &_swigt__p_wxFocusEvent
,
32775 &_swigt__p_wxFontList
,
32776 &_swigt__p_wxFontMapper
,
32777 &_swigt__p_wxGBSizerItem
,
32778 &_swigt__p_wxGDIObjListBase
,
32779 &_swigt__p_wxGDIObject
,
32780 &_swigt__p_wxGIFHandler
,
32781 &_swigt__p_wxGridBagSizer
,
32782 &_swigt__p_wxGridSizer
,
32783 &_swigt__p_wxHeaderButtonParams
,
32784 &_swigt__p_wxICOHandler
,
32786 &_swigt__p_wxIconBundle
,
32787 &_swigt__p_wxIconLocation
,
32788 &_swigt__p_wxIconizeEvent
,
32789 &_swigt__p_wxIdleEvent
,
32790 &_swigt__p_wxImage
,
32791 &_swigt__p_wxImageHandler
,
32792 &_swigt__p_wxImageList
,
32793 &_swigt__p_wxIndividualLayoutConstraint
,
32794 &_swigt__p_wxInitDialogEvent
,
32795 &_swigt__p_wxJPEGHandler
,
32796 &_swigt__p_wxKeyEvent
,
32797 &_swigt__p_wxLanguageInfo
,
32798 &_swigt__p_wxLayoutConstraints
,
32799 &_swigt__p_wxLocale
,
32801 &_swigt__p_wxMaximizeEvent
,
32802 &_swigt__p_wxMemoryDC
,
32804 &_swigt__p_wxMenuBar
,
32805 &_swigt__p_wxMenuEvent
,
32806 &_swigt__p_wxMenuItem
,
32807 &_swigt__p_wxMetaFile
,
32808 &_swigt__p_wxMetaFileDC
,
32809 &_swigt__p_wxMirrorDC
,
32810 &_swigt__p_wxMouseCaptureChangedEvent
,
32811 &_swigt__p_wxMouseCaptureLostEvent
,
32812 &_swigt__p_wxMouseEvent
,
32813 &_swigt__p_wxMoveEvent
,
32814 &_swigt__p_wxNativeEncodingInfo
,
32815 &_swigt__p_wxNativeFontInfo
,
32816 &_swigt__p_wxNativePixelData
,
32817 &_swigt__p_wxNativePixelData_Accessor
,
32818 &_swigt__p_wxNavigationKeyEvent
,
32819 &_swigt__p_wxNcPaintEvent
,
32820 &_swigt__p_wxNotifyEvent
,
32821 &_swigt__p_wxObject
,
32822 &_swigt__p_wxPCXHandler
,
32823 &_swigt__p_wxPNGHandler
,
32824 &_swigt__p_wxPNMHandler
,
32825 &_swigt__p_wxPaintDC
,
32826 &_swigt__p_wxPaintEvent
,
32827 &_swigt__p_wxPalette
,
32828 &_swigt__p_wxPaletteChangedEvent
,
32829 &_swigt__p_wxPaperSize
,
32831 &_swigt__p_wxPenList
,
32832 &_swigt__p_wxPixelDataBase
,
32833 &_swigt__p_wxPoint
,
32834 &_swigt__p_wxPostScriptDC
,
32835 &_swigt__p_wxPrintData
,
32836 &_swigt__p_wxPrinterDC
,
32837 &_swigt__p_wxPseudoDC
,
32838 &_swigt__p_wxPyApp
,
32839 &_swigt__p_wxPyCommandEvent
,
32840 &_swigt__p_wxPyEvent
,
32841 &_swigt__p_wxPyFontEnumerator
,
32842 &_swigt__p_wxPyImageHandler
,
32843 &_swigt__p_wxPyLocale
,
32844 &_swigt__p_wxPySizer
,
32845 &_swigt__p_wxPyValidator
,
32846 &_swigt__p_wxQueryNewPaletteEvent
,
32848 &_swigt__p_wxRegion
,
32849 &_swigt__p_wxRegionIterator
,
32850 &_swigt__p_wxRendererNative
,
32851 &_swigt__p_wxRendererVersion
,
32852 &_swigt__p_wxScreenDC
,
32853 &_swigt__p_wxScrollEvent
,
32854 &_swigt__p_wxScrollWinEvent
,
32855 &_swigt__p_wxSetCursorEvent
,
32856 &_swigt__p_wxShowEvent
,
32858 &_swigt__p_wxSizeEvent
,
32859 &_swigt__p_wxSizer
,
32860 &_swigt__p_wxSizerItem
,
32861 &_swigt__p_wxSplitterRenderParams
,
32862 &_swigt__p_wxStaticBoxSizer
,
32863 &_swigt__p_wxStdDialogButtonSizer
,
32864 &_swigt__p_wxStockGDI
,
32865 &_swigt__p_wxString
,
32866 &_swigt__p_wxSysColourChangedEvent
,
32867 &_swigt__p_wxTIFFHandler
,
32868 &_swigt__p_wxUpdateUIEvent
,
32869 &_swigt__p_wxValidator
,
32870 &_swigt__p_wxWindow
,
32871 &_swigt__p_wxWindowCreateEvent
,
32872 &_swigt__p_wxWindowDC
,
32873 &_swigt__p_wxWindowDestroyEvent
,
32874 &_swigt__p_wxXPMHandler
,
32877 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32890 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}};
32891 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32897 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}};
32898 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32903 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32905 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}};
32906 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}};
32907 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32910 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32914 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}};
32915 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32916 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}};
32917 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33000 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}};
33001 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
33006 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}};
33007 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33024 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}};
33025 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info
*swig_cast_initial
[] = {
33031 _swigc__p_form_ops_t
,
33033 _swigc__p_unsigned_char
,
33034 _swigc__p_unsigned_int
,
33035 _swigc__p_unsigned_long
,
33036 _swigc__p_wxANIHandler
,
33037 _swigc__p_wxAcceleratorTable
,
33038 _swigc__p_wxActivateEvent
,
33039 _swigc__p_wxAlphaPixelData
,
33040 _swigc__p_wxAlphaPixelData_Accessor
,
33041 _swigc__p_wxBMPHandler
,
33042 _swigc__p_wxBitmap
,
33043 _swigc__p_wxBoxSizer
,
33045 _swigc__p_wxBrushList
,
33046 _swigc__p_wxBufferedDC
,
33047 _swigc__p_wxBufferedPaintDC
,
33048 _swigc__p_wxCURHandler
,
33050 _swigc__p_wxChildFocusEvent
,
33051 _swigc__p_wxClientDC
,
33052 _swigc__p_wxClipboardTextEvent
,
33053 _swigc__p_wxCloseEvent
,
33054 _swigc__p_wxColour
,
33055 _swigc__p_wxColourDatabase
,
33056 _swigc__p_wxCommandEvent
,
33057 _swigc__p_wxContextMenuEvent
,
33058 _swigc__p_wxControl
,
33059 _swigc__p_wxControlWithItems
,
33060 _swigc__p_wxCursor
,
33063 _swigc__p_wxDateEvent
,
33064 _swigc__p_wxDisplayChangedEvent
,
33065 _swigc__p_wxDropFilesEvent
,
33066 _swigc__p_wxDuplexMode
,
33067 _swigc__p_wxEffects
,
33068 _swigc__p_wxEncodingConverter
,
33069 _swigc__p_wxEraseEvent
,
33071 _swigc__p_wxEvtHandler
,
33072 _swigc__p_wxFSFile
,
33073 _swigc__p_wxFileSystem
,
33074 _swigc__p_wxFlexGridSizer
,
33075 _swigc__p_wxFocusEvent
,
33077 _swigc__p_wxFontList
,
33078 _swigc__p_wxFontMapper
,
33079 _swigc__p_wxGBSizerItem
,
33080 _swigc__p_wxGDIObjListBase
,
33081 _swigc__p_wxGDIObject
,
33082 _swigc__p_wxGIFHandler
,
33083 _swigc__p_wxGridBagSizer
,
33084 _swigc__p_wxGridSizer
,
33085 _swigc__p_wxHeaderButtonParams
,
33086 _swigc__p_wxICOHandler
,
33088 _swigc__p_wxIconBundle
,
33089 _swigc__p_wxIconLocation
,
33090 _swigc__p_wxIconizeEvent
,
33091 _swigc__p_wxIdleEvent
,
33093 _swigc__p_wxImageHandler
,
33094 _swigc__p_wxImageList
,
33095 _swigc__p_wxIndividualLayoutConstraint
,
33096 _swigc__p_wxInitDialogEvent
,
33097 _swigc__p_wxJPEGHandler
,
33098 _swigc__p_wxKeyEvent
,
33099 _swigc__p_wxLanguageInfo
,
33100 _swigc__p_wxLayoutConstraints
,
33101 _swigc__p_wxLocale
,
33103 _swigc__p_wxMaximizeEvent
,
33104 _swigc__p_wxMemoryDC
,
33106 _swigc__p_wxMenuBar
,
33107 _swigc__p_wxMenuEvent
,
33108 _swigc__p_wxMenuItem
,
33109 _swigc__p_wxMetaFile
,
33110 _swigc__p_wxMetaFileDC
,
33111 _swigc__p_wxMirrorDC
,
33112 _swigc__p_wxMouseCaptureChangedEvent
,
33113 _swigc__p_wxMouseCaptureLostEvent
,
33114 _swigc__p_wxMouseEvent
,
33115 _swigc__p_wxMoveEvent
,
33116 _swigc__p_wxNativeEncodingInfo
,
33117 _swigc__p_wxNativeFontInfo
,
33118 _swigc__p_wxNativePixelData
,
33119 _swigc__p_wxNativePixelData_Accessor
,
33120 _swigc__p_wxNavigationKeyEvent
,
33121 _swigc__p_wxNcPaintEvent
,
33122 _swigc__p_wxNotifyEvent
,
33123 _swigc__p_wxObject
,
33124 _swigc__p_wxPCXHandler
,
33125 _swigc__p_wxPNGHandler
,
33126 _swigc__p_wxPNMHandler
,
33127 _swigc__p_wxPaintDC
,
33128 _swigc__p_wxPaintEvent
,
33129 _swigc__p_wxPalette
,
33130 _swigc__p_wxPaletteChangedEvent
,
33131 _swigc__p_wxPaperSize
,
33133 _swigc__p_wxPenList
,
33134 _swigc__p_wxPixelDataBase
,
33136 _swigc__p_wxPostScriptDC
,
33137 _swigc__p_wxPrintData
,
33138 _swigc__p_wxPrinterDC
,
33139 _swigc__p_wxPseudoDC
,
33141 _swigc__p_wxPyCommandEvent
,
33142 _swigc__p_wxPyEvent
,
33143 _swigc__p_wxPyFontEnumerator
,
33144 _swigc__p_wxPyImageHandler
,
33145 _swigc__p_wxPyLocale
,
33146 _swigc__p_wxPySizer
,
33147 _swigc__p_wxPyValidator
,
33148 _swigc__p_wxQueryNewPaletteEvent
,
33150 _swigc__p_wxRegion
,
33151 _swigc__p_wxRegionIterator
,
33152 _swigc__p_wxRendererNative
,
33153 _swigc__p_wxRendererVersion
,
33154 _swigc__p_wxScreenDC
,
33155 _swigc__p_wxScrollEvent
,
33156 _swigc__p_wxScrollWinEvent
,
33157 _swigc__p_wxSetCursorEvent
,
33158 _swigc__p_wxShowEvent
,
33160 _swigc__p_wxSizeEvent
,
33162 _swigc__p_wxSizerItem
,
33163 _swigc__p_wxSplitterRenderParams
,
33164 _swigc__p_wxStaticBoxSizer
,
33165 _swigc__p_wxStdDialogButtonSizer
,
33166 _swigc__p_wxStockGDI
,
33167 _swigc__p_wxString
,
33168 _swigc__p_wxSysColourChangedEvent
,
33169 _swigc__p_wxTIFFHandler
,
33170 _swigc__p_wxUpdateUIEvent
,
33171 _swigc__p_wxValidator
,
33172 _swigc__p_wxWindow
,
33173 _swigc__p_wxWindowCreateEvent
,
33174 _swigc__p_wxWindowDC
,
33175 _swigc__p_wxWindowDestroyEvent
,
33176 _swigc__p_wxXPMHandler
,
33180 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33182 static swig_const_info swig_const_table
[] = {
33183 {0, 0, 0, 0.0, 0, 0}};
33188 /* -----------------------------------------------------------------------------
33189 * Type initialization:
33190 * This problem is tough by the requirement that no dynamic
33191 * memory is used. Also, since swig_type_info structures store pointers to
33192 * swig_cast_info structures and swig_cast_info structures store pointers back
33193 * to swig_type_info structures, we need some lookup code at initialization.
33194 * The idea is that swig generates all the structures that are needed.
33195 * The runtime then collects these partially filled structures.
33196 * The SWIG_InitializeModule function takes these initial arrays out of
33197 * swig_module, and does all the lookup, filling in the swig_module.types
33198 * array with the correct data and linking the correct swig_cast_info
33199 * structures together.
33201 * The generated swig_type_info structures are assigned staticly to an initial
33202 * array. We just loop though that array, and handle each type individually.
33203 * First we lookup if this type has been already loaded, and if so, use the
33204 * loaded structure instead of the generated one. Then we have to fill in the
33205 * cast linked list. The cast data is initially stored in something like a
33206 * two-dimensional array. Each row corresponds to a type (there are the same
33207 * number of rows as there are in the swig_type_initial array). Each entry in
33208 * a column is one of the swig_cast_info structures for that type.
33209 * The cast_initial array is actually an array of arrays, because each row has
33210 * a variable number of columns. So to actually build the cast linked list,
33211 * we find the array of casts associated with the type, and loop through it
33212 * adding the casts to the list. The one last trick we need to do is making
33213 * sure the type pointer in the swig_cast_info struct is correct.
33215 * First off, we lookup the cast->type name to see if it is already loaded.
33216 * There are three cases to handle:
33217 * 1) If the cast->type has already been loaded AND the type we are adding
33218 * casting info to has not been loaded (it is in this module), THEN we
33219 * replace the cast->type pointer with the type pointer that has already
33221 * 2) If BOTH types (the one we are adding casting info to, and the
33222 * cast->type) are loaded, THEN the cast info has already been loaded by
33223 * the previous module so we just ignore it.
33224 * 3) Finally, if cast->type has not already been loaded, then we add that
33225 * swig_cast_info to the linked list (because the cast->type) pointer will
33227 * ----------------------------------------------------------------------------- */
33237 #define SWIGRUNTIME_DEBUG
33241 SWIG_InitializeModule(void *clientdata
) {
33243 swig_module_info
*module_head
;
33244 static int init_run
= 0;
33246 clientdata
= clientdata
;
33248 if (init_run
) return;
33251 /* Initialize the swig_module */
33252 swig_module
.type_initial
= swig_type_initial
;
33253 swig_module
.cast_initial
= swig_cast_initial
;
33255 /* Try and load any already created modules */
33256 module_head
= SWIG_GetModule(clientdata
);
33258 swig_module
.next
= module_head
->next
;
33259 module_head
->next
= &swig_module
;
33261 /* This is the first module loaded */
33262 swig_module
.next
= &swig_module
;
33263 SWIG_SetModule(clientdata
, &swig_module
);
33266 /* Now work on filling in swig_module.types */
33267 #ifdef SWIGRUNTIME_DEBUG
33268 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33270 for (i
= 0; i
< swig_module
.size
; ++i
) {
33271 swig_type_info
*type
= 0;
33272 swig_type_info
*ret
;
33273 swig_cast_info
*cast
;
33275 #ifdef SWIGRUNTIME_DEBUG
33276 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33279 /* if there is another module already loaded */
33280 if (swig_module
.next
!= &swig_module
) {
33281 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33284 /* Overwrite clientdata field */
33285 #ifdef SWIGRUNTIME_DEBUG
33286 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33288 if (swig_module
.type_initial
[i
]->clientdata
) {
33289 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33290 #ifdef SWIGRUNTIME_DEBUG
33291 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33295 type
= swig_module
.type_initial
[i
];
33298 /* Insert casting types */
33299 cast
= swig_module
.cast_initial
[i
];
33300 while (cast
->type
) {
33301 /* Don't need to add information already in the list */
33303 #ifdef SWIGRUNTIME_DEBUG
33304 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33306 if (swig_module
.next
!= &swig_module
) {
33307 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33308 #ifdef SWIGRUNTIME_DEBUG
33309 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33313 if (type
== swig_module
.type_initial
[i
]) {
33314 #ifdef SWIGRUNTIME_DEBUG
33315 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33320 /* Check for casting already in the list */
33321 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33322 #ifdef SWIGRUNTIME_DEBUG
33323 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33325 if (!ocast
) ret
= 0;
33330 #ifdef SWIGRUNTIME_DEBUG
33331 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33334 type
->cast
->prev
= cast
;
33335 cast
->next
= type
->cast
;
33341 /* Set entry in modules->types array equal to the type */
33342 swig_module
.types
[i
] = type
;
33344 swig_module
.types
[i
] = 0;
33346 #ifdef SWIGRUNTIME_DEBUG
33347 printf("**** SWIG_InitializeModule: Cast List ******\n");
33348 for (i
= 0; i
< swig_module
.size
; ++i
) {
33350 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33351 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33352 while (cast
->type
) {
33353 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33357 printf("---- Total casts: %d\n",j
);
33359 printf("**** SWIG_InitializeModule: Cast List ******\n");
33363 /* This function will propagate the clientdata field of type to
33364 * any new swig_type_info structures that have been added into the list
33365 * of equivalent types. It is like calling
33366 * SWIG_TypeClientData(type, clientdata) a second time.
33369 SWIG_PropagateClientData(void) {
33371 swig_cast_info
*equiv
;
33372 static int init_run
= 0;
33374 if (init_run
) return;
33377 for (i
= 0; i
< swig_module
.size
; i
++) {
33378 if (swig_module
.types
[i
]->clientdata
) {
33379 equiv
= swig_module
.types
[i
]->cast
;
33381 if (!equiv
->converter
) {
33382 if (equiv
->type
&& !equiv
->type
->clientdata
)
33383 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33385 equiv
= equiv
->next
;
33405 /* Python-specific SWIG API */
33406 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33407 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33408 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33410 /* -----------------------------------------------------------------------------
33411 * global variable support code.
33412 * ----------------------------------------------------------------------------- */
33414 typedef struct swig_globalvar
{
33415 char *name
; /* Name of global variable */
33416 PyObject
*(*get_attr
)(void); /* Return the current value */
33417 int (*set_attr
)(PyObject
*); /* Set the value */
33418 struct swig_globalvar
*next
;
33421 typedef struct swig_varlinkobject
{
33423 swig_globalvar
*vars
;
33424 } swig_varlinkobject
;
33426 SWIGINTERN PyObject
*
33427 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33428 return PyString_FromString("<Swig global variables>");
33431 SWIGINTERN PyObject
*
33432 swig_varlink_str(swig_varlinkobject
*v
) {
33433 PyObject
*str
= PyString_FromString("(");
33434 swig_globalvar
*var
;
33435 for (var
= v
->vars
; var
; var
=var
->next
) {
33436 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33437 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33439 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33444 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33445 PyObject
*str
= swig_varlink_str(v
);
33446 fprintf(fp
,"Swig global variables ");
33447 fprintf(fp
,"%s\n", PyString_AsString(str
));
33453 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33454 swig_globalvar
*var
= v
->vars
;
33456 swig_globalvar
*n
= var
->next
;
33463 SWIGINTERN PyObject
*
33464 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33465 PyObject
*res
= NULL
;
33466 swig_globalvar
*var
= v
->vars
;
33468 if (strcmp(var
->name
,n
) == 0) {
33469 res
= (*var
->get_attr
)();
33474 if (res
== NULL
&& !PyErr_Occurred()) {
33475 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33481 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33483 swig_globalvar
*var
= v
->vars
;
33485 if (strcmp(var
->name
,n
) == 0) {
33486 res
= (*var
->set_attr
)(p
);
33491 if (res
== 1 && !PyErr_Occurred()) {
33492 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33497 SWIGINTERN PyTypeObject
*
33498 swig_varlink_type(void) {
33499 static char varlink__doc__
[] = "Swig var link object";
33500 static PyTypeObject varlink_type
;
33501 static int type_init
= 0;
33503 const PyTypeObject tmp
33505 PyObject_HEAD_INIT(NULL
)
33506 0, /* Number of items in variable part (ob_size) */
33507 (char *)"swigvarlink", /* Type name (tp_name) */
33508 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33509 0, /* Itemsize (tp_itemsize) */
33510 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33511 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33512 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33513 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33514 0, /* tp_compare */
33515 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33516 0, /* tp_as_number */
33517 0, /* tp_as_sequence */
33518 0, /* tp_as_mapping */
33521 (reprfunc
)swig_varlink_str
, /* tp_str */
33522 0, /* tp_getattro */
33523 0, /* tp_setattro */
33524 0, /* tp_as_buffer */
33526 varlink__doc__
, /* tp_doc */
33527 0, /* tp_traverse */
33529 0, /* tp_richcompare */
33530 0, /* tp_weaklistoffset */
33531 #if PY_VERSION_HEX >= 0x02020000
33532 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33534 #if PY_VERSION_HEX >= 0x02030000
33537 #ifdef COUNT_ALLOCS
33538 0,0,0,0 /* tp_alloc -> tp_next */
33541 varlink_type
= tmp
;
33542 varlink_type
.ob_type
= &PyType_Type
;
33545 return &varlink_type
;
33548 /* Create a variable linking object for use later */
33549 SWIGINTERN PyObject
*
33550 SWIG_Python_newvarlink(void) {
33551 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33555 return ((PyObject
*) result
);
33559 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33560 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33561 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33563 size_t size
= strlen(name
)+1;
33564 gv
->name
= (char *)malloc(size
);
33566 strncpy(gv
->name
,name
,size
);
33567 gv
->get_attr
= get_attr
;
33568 gv
->set_attr
= set_attr
;
33569 gv
->next
= v
->vars
;
33575 SWIGINTERN PyObject
*
33577 static PyObject
*_SWIG_globals
= 0;
33578 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33579 return _SWIG_globals
;
33582 /* -----------------------------------------------------------------------------
33583 * constants/methods manipulation
33584 * ----------------------------------------------------------------------------- */
33586 /* Install Constants */
33588 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33591 for (i
= 0; constants
[i
].type
; ++i
) {
33592 switch(constants
[i
].type
) {
33593 case SWIG_PY_POINTER
:
33594 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33596 case SWIG_PY_BINARY
:
33597 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33604 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33610 /* -----------------------------------------------------------------------------*/
33611 /* Fix SwigMethods to carry the callback ptrs when needed */
33612 /* -----------------------------------------------------------------------------*/
33615 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33616 swig_const_info
*const_table
,
33617 swig_type_info
**types
,
33618 swig_type_info
**types_initial
) {
33620 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33621 const char *c
= methods
[i
].ml_doc
;
33622 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33624 swig_const_info
*ci
= 0;
33625 const char *name
= c
+ 10;
33626 for (j
= 0; const_table
[j
].type
; ++j
) {
33627 if (strncmp(const_table
[j
].name
, name
,
33628 strlen(const_table
[j
].name
)) == 0) {
33629 ci
= &(const_table
[j
]);
33634 size_t shift
= (ci
->ptype
) - types
;
33635 swig_type_info
*ty
= types_initial
[shift
];
33636 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33637 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33638 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33641 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33643 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33645 strncpy(buff
, "swig_ptr: ", 10);
33647 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33648 methods
[i
].ml_doc
= ndoc
;
33660 /* -----------------------------------------------------------------------------*
33661 * Partial Init method
33662 * -----------------------------------------------------------------------------*/
33667 SWIGEXPORT
void SWIG_init(void) {
33670 /* Fix SwigMethods to carry the callback ptrs when needed */
33671 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33673 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33674 d
= PyModule_GetDict(m
);
33676 SWIG_InitializeModule(0);
33677 SWIG_InstallConstants(d
,swig_const_table
);
33680 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
33681 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
33682 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
33683 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
33684 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
33685 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
33686 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
33687 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
33688 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33689 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33690 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33691 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33692 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33693 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33694 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33695 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33696 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33697 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33698 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33699 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33700 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33701 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33702 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33703 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33704 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33705 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33706 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33707 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33708 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33709 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33710 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33711 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33712 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33713 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33714 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33715 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33716 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33717 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33718 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33719 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33720 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33721 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33722 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33723 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33724 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33725 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33726 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33727 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33728 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33729 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33730 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33731 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33732 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33733 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33734 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33735 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33736 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33737 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33738 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33739 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33740 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33741 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33742 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33743 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33744 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33745 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33746 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33747 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33748 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33749 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33750 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33751 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33752 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33753 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33754 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33755 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33756 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33757 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33758 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33759 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33760 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33761 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33762 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33763 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33764 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33765 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33766 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33767 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33768 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33769 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33770 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33771 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33772 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33773 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33774 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33775 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33776 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33777 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33778 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33779 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33780 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33781 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33782 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33783 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33784 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33785 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33786 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33787 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33788 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33789 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33790 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33791 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33792 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33793 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33794 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33795 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33796 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33797 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33798 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33799 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33800 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33801 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33802 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33803 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33804 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33805 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33806 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33807 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33808 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33809 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33810 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33811 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33813 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33815 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33816 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33817 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33818 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33819 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33820 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33821 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33822 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33823 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33824 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33825 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33826 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33827 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33828 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33829 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33830 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33831 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33832 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33833 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33834 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33835 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33836 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33837 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33838 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33839 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33840 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33841 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33842 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33843 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33844 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33845 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33846 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33847 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33848 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33849 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33850 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33851 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33852 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33853 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33854 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33855 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33856 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33857 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33858 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33859 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33860 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33861 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33862 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33863 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33864 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33865 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33866 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33867 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33868 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33869 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33870 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33871 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33872 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33873 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33874 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33875 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33876 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33877 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33878 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33879 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33880 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33881 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33882 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33883 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33884 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33885 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33886 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33887 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33888 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33889 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33890 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33891 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33892 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33893 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33894 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33895 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33896 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33897 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33898 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33899 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33900 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33901 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33902 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33903 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33904 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33905 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33906 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33907 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33908 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33909 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33910 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33911 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33912 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33913 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33914 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33915 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33916 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33917 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33918 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33919 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33920 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33921 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33922 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33923 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33924 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33925 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33926 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33927 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33928 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33929 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33930 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33931 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33932 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33933 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33934 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33935 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33936 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33937 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33938 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33939 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33940 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33941 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33942 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33943 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33944 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33945 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33946 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33947 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33948 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33949 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33950 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33951 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33952 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33953 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33954 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33955 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33956 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33957 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33958 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33959 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33960 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33961 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33962 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33963 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33964 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33965 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33966 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33967 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33968 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33969 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33970 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33971 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33972 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33973 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33974 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33975 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33976 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33977 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33978 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33979 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33980 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33981 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33982 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33983 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33984 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33985 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33986 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33987 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33988 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33989 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33990 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33991 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33992 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33993 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33994 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33995 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33996 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33997 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33998 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33999 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
34000 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
34001 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
34002 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
34003 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
34004 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
34005 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
34006 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
34007 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
34008 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
34009 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
34010 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
34011 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
34012 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
34013 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
34014 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
34015 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
34016 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
34017 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
34018 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
34019 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
34020 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
34021 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
34022 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
34023 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
34024 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
34025 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
34026 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
34027 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
34028 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
34029 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
34030 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
34031 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
34032 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
34033 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
34034 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
34035 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
34036 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
34037 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
34038 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
34039 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
34040 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
34041 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
34042 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
34043 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
34044 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
34045 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
34046 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
34047 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
34048 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
34049 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
34050 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
34051 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
34052 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
34053 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
34054 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
34055 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
34056 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
34057 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
34058 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
34059 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
34060 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
34061 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
34062 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
34063 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
34064 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
34065 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
34066 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
34067 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
34068 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
34069 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
34070 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
34071 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
34072 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
34073 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
34074 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
34075 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
34076 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
34077 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
34078 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
34079 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
34080 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
34081 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
34082 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
34083 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
34084 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
34085 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
34086 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
34087 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
34088 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
34089 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
34090 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
34091 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
34092 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
34093 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
34094 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
34095 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
34096 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
34097 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
34098 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
34099 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
34100 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
34101 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
34102 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
34103 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
34104 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
34105 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34106 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
34107 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
34108 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
34109 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
34110 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
34111 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
34112 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
34113 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
34114 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
34115 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
34116 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
34117 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
34118 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
34119 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
34120 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
34121 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
34122 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
34123 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
34124 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
34125 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
34126 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
34127 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
34128 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
34129 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
34130 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
34131 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
34132 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
34133 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
34135 // Work around a chicken/egg problem in drawlist.cpp
34136 wxPyDrawList_SetAPIPtr();