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 #include <wx/rawbmp.h>
2908 #include <wx/image.h>
2910 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2911 char** cArray
= NULL
;
2914 if (!PyList_Check(listOfStrings
)) {
2915 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2918 count
= PyList_Size(listOfStrings
);
2919 cArray
= new char*[count
];
2921 for(int x
=0; x
<count
; x
++) {
2922 // TODO: Need some validation and error checking here
2923 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2929 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2930 char** cArray
= NULL
;
2933 cArray
= ConvertListOfStrings(listOfStrings
);
2936 bmp
= new wxBitmap(cArray
);
2940 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2943 PyString_AsStringAndSize(bits
, &buf
, &length
);
2944 return new wxBitmap(buf
, width
, height
, depth
);
2946 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2947 wxSize
size(self
->GetWidth(), self
->GetHeight());
2950 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2951 wxMask
*mask
= new wxMask(*self
, colour
);
2952 self
->SetMask(mask
);
2954 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2955 self
->SetWidth(size
.x
);
2956 self
->SetHeight(size
.y
);
2958 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2959 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2961 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2962 // appears to me that the other platforms are already doing it, so I'll just
2963 // automatically do it for wxMSW here.
2965 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2966 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2968 #define wxPy_premultiply(p, a) (p)
2969 #define wxPy_unpremultiply(p, a) (p)
2973 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2974 buffer data
, int DATASIZE
,
2975 buffer alpha
, int ALPHASIZE
)
2977 if (DATASIZE
!= width
*height
*3) {
2978 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2982 if (ALPHASIZE
!= width
*height
) {
2983 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2987 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2988 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2990 // raise an exception...
2991 wxPyErr_SetString(PyExc_RuntimeError
,
2992 "Failed to gain raw access to bitmap data.");
2997 wxAlphaPixelData::Iterator
p(pixData
);
2998 for (int y
=0; y
<height
; y
++) {
2999 wxAlphaPixelData::Iterator rowStart
= p
;
3000 for (int x
=0; x
<width
; x
++) {
3001 byte a
= *(alpha
++);
3002 p
.Red() = wxPy_premultiply(*(data
++), a
);
3003 p
.Green() = wxPy_premultiply(*(data
++), a
);
3004 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3009 p
.OffsetY(pixData
, 1);
3014 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3016 if (DATASIZE
!= width
*height
*3) {
3017 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3022 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3046 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3048 if (DATASIZE
!= width
*height
*4) {
3049 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3053 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3054 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3056 // raise an exception...
3057 wxPyErr_SetString(PyExc_RuntimeError
,
3058 "Failed to gain raw access to bitmap data.");
3063 wxAlphaPixelData::Iterator
p(pixData
);
3064 for (int y
=0; y
<height
; y
++) {
3065 wxAlphaPixelData::Iterator rowStart
= p
;
3066 for (int x
=0; x
<width
; x
++) {
3068 p
.Red() = wxPy_premultiply(*(data
++), a
);
3069 p
.Green() = wxPy_premultiply(*(data
++), a
);
3070 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3071 p
.Alpha() = a
; data
++;
3075 p
.OffsetY(pixData
, 1);
3081 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3083 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3084 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3085 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3087 self
->Green() = green
;
3088 self
->Blue() = blue
;
3090 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3091 PyObject
* rv
= PyTuple_New(3);
3092 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3093 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3094 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3098 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3100 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3101 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3102 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3103 self
->Red() = wxPy_premultiply(red
, alpha
);
3104 self
->Green() = wxPy_premultiply(green
, alpha
);
3105 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3106 self
->Alpha() = alpha
;
3108 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3109 PyObject
* rv
= PyTuple_New(4);
3110 int red
= self
->Red();
3111 int green
= self
->Green();
3112 int blue
= self
->Blue();
3113 int alpha
= self
->Alpha();
3115 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3116 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3117 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3118 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3121 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3123 return new wxMask(bitmap
, *wxBLACK
);
3125 return new wxMask(bitmap
, colour
);
3128 #include <wx/iconbndl.h>
3130 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3131 wxIcon
* icon
= new wxIcon();
3132 icon
->CopyFromBitmap(bmp
);
3135 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3136 char** cArray
= NULL
;
3139 cArray
= ConvertListOfStrings(listOfStrings
);
3142 icon
= new wxIcon(cArray
);
3146 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3150 return new wxIconLocation(*filename
);
3153 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3160 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3167 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3169 wxImage
img(cursorName
, type
);
3170 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3171 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3172 return new wxCursor(img
);
3174 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3179 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3182 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3183 return self
->operator bool();
3186 #include <wx/fontutil.h>
3187 #include <wx/fontmap.h>
3188 #include <wx/fontenum.h>
3190 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3191 return self
->ToString();
3194 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3195 static wxNativeEncodingInfo info
;
3196 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3203 SWIGINTERNINLINE PyObject
*
3204 SWIG_From_size_t (size_t value
)
3206 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3210 SWIGINTERNINLINE
int
3211 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3214 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3215 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3219 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3220 wxFontEncoding alt_enc
;
3221 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3222 return PyInt_FromLong(alt_enc
);
3228 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3229 wxNativeFontInfo nfi
;
3230 nfi
.FromString(info
);
3231 return new wxFont(nfi
);
3233 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3234 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3236 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3237 return wxFontBase::New(pixelSize
, family
,
3238 style
, weight
, underlined
,
3241 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3242 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3244 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3245 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3247 class wxPyFontEnumerator
: public wxFontEnumerator
{
3249 wxPyFontEnumerator() {}
3250 ~wxPyFontEnumerator() {}
3252 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3253 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3258 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3259 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3262 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3264 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3265 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3266 ret
= wxArrayString2PyList_helper(arr
);
3267 wxPyEndBlockThreads(blocked
);
3270 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3272 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 ret
= wxArrayString2PyList_helper(arr
);
3275 wxPyEndBlockThreads(blocked
);
3281 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3284 loc
= new wxLocale();
3286 loc
= new wxLocale(language
, flags
);
3287 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3288 // for the floating point conversions and such to work right.
3289 #if PY_VERSION_HEX < 0x02040000
3290 setlocale(LC_NUMERIC
, "C");
3294 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3295 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3296 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3297 // for the floating point conversions and such to work right.
3298 #if PY_VERSION_HEX < 0x02040000
3299 setlocale(LC_NUMERIC
, "C");
3303 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3304 bool rc
= self
->Init(language
, flags
);
3305 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3306 // for the floating point conversions and such to work right.
3307 #if PY_VERSION_HEX < 0x02040000
3308 setlocale(LC_NUMERIC
, "C");
3313 class wxPyLocale
: public wxLocale
3318 wxPyLocale(const wxChar
*szName
, // name (for messages)
3319 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3320 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3321 bool bLoadDefault
= true, // preload wxstd.mo?
3322 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3324 wxPyLocale(int language
, // wxLanguage id or custom language
3325 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3329 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3330 const wxChar
*szDomain
= NULL
) const;
3331 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3332 const wxChar
*szOrigString2
, size_t n
,
3333 const wxChar
*szDomain
= NULL
) const;
3335 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3336 const wxChar
*szDomain
= NULL
) const;
3337 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3338 const wxChar
*szOrigString2
, size_t n
,
3339 const wxChar
*szDomain
= NULL
) const;
3343 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3346 wxPyLocale::wxPyLocale() : wxLocale()
3350 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3351 const wxChar
*szShort
, // dir prefix (for msg files)
3352 const wxChar
*szLocale
, // locale (for setlocale)
3353 bool bLoadDefault
, // preload wxstd.mo?
3354 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3355 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3359 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3360 int flags
) : wxLocale(language
, flags
)
3364 wxPyLocale::~wxPyLocale()
3368 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3369 const wxChar
*szDomain
) const
3371 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3372 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3375 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3376 const wxChar
*szOrigString2
, size_t n
,
3377 const wxChar
*szDomain
) const
3379 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3380 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3383 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3384 const wxChar
*szDomain
) const
3387 static wxString str
;
3388 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.
3389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3390 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3391 PyObject
* param1
= wx2PyString(szOrigString
);
3392 PyObject
* param2
= wx2PyString(szDomain
);
3393 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3397 str
= Py2wxString(ret
);
3401 wxPyEndBlockThreads(blocked
);
3402 return (found
? (wxChar
*)str
.c_str() : NULL
);
3405 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3406 const wxChar
*szOrigString2
, size_t n
,
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
, "GetPluralString"))) {
3414 PyObject
* param1
= wx2PyString(szOrigString
);
3415 PyObject
* param2
= wx2PyString(szOrigString2
);
3416 PyObject
* param4
= wx2PyString(szDomain
);
3417 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3422 str
= Py2wxString(ret
);
3426 wxPyEndBlockThreads(blocked
);
3427 return (found
? (wxChar
*)str
.c_str() : NULL
);
3430 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3433 loc
= new wxPyLocale();
3435 loc
= new wxPyLocale(language
, flags
);
3436 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3437 // for the floating point conversions and such to work right.
3438 #if PY_VERSION_HEX < 0x02040000
3439 setlocale(LC_NUMERIC
, "C");
3444 #include "wx/wxPython/pydrawxxx.h"
3446 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3448 self
->GetPixel(x
, y
, &col
);
3451 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3453 self
->GetPixel(pt
, &col
);
3458 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3460 if (PyNumber_Check(obj
)) {
3461 if (val
) *val
= PyFloat_AsDouble(obj
);
3464 return SWIG_TypeError
;
3467 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3469 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3472 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3474 self
->GetClippingBox(rect
);
3477 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3479 self
->GetPartialTextExtents(text
, widths
);
3483 #define SWIG_From_double PyFloat_FromDouble
3485 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3486 self
->SetLogicalOrigin(point
.x
, point
.y
);
3488 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3489 self
->SetDeviceOrigin(point
.x
, point
.y
);
3491 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3492 self
->CalcBoundingBox(point
.x
, point
.y
);
3494 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3495 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3497 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3498 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3500 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3501 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3503 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3510 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3513 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3521 #include <wx/dcbuffer.h>
3524 #include <wx/dcps.h>
3527 class wxMetaFile
: public wxObject
{
3529 wxMetaFile(const wxString
&)
3530 { wxPyRaiseNotImplemented(); }
3533 class wxMetaFileDC
: public wxClientDC
{
3535 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3536 { wxPyRaiseNotImplemented(); }
3541 class wxPrinterDC
: public wxClientDC
{
3543 wxPrinterDC(const wxPrintData
&)
3544 { wxPyRaiseNotImplemented(); }
3550 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3551 self
->AddColour(name
, wxColour(red
, green
, blue
));
3554 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3555 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3556 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3557 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3560 #include <wx/effects.h>
3563 #include "wx/renderer.h"
3566 SWIGINTERNINLINE PyObject
*
3567 SWIG_From_bool (bool value
)
3569 return PyBool_FromLong(value
? 1 : 0);
3573 #include "wx/wxPython/pseudodc.h"
3575 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3577 self
->GetIdBounds(id
, rect
);
3583 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3584 PyObject
*resultobj
= 0;
3585 wxGDIObject
*result
= 0 ;
3587 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3589 if (!wxPyCheckForApp()) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (wxGDIObject
*)new wxGDIObject();
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3602 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3603 PyObject
*resultobj
= 0;
3604 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3607 PyObject
*swig_obj
[1] ;
3609 if (!args
) SWIG_fail
;
3611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3612 if (!SWIG_IsOK(res1
)) {
3613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3615 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_Py_Void();
3630 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3631 PyObject
*resultobj
= 0;
3632 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3636 PyObject
*swig_obj
[1] ;
3638 if (!args
) SWIG_fail
;
3640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3641 if (!SWIG_IsOK(res1
)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3644 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (bool)(arg1
)->IsNull();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3660 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3663 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3664 return SWIG_Py_Void();
3667 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3668 return SWIG_Python_InitShadowInstance(args
);
3671 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
= 0;
3673 byte arg1
= (byte
) 0 ;
3674 byte arg2
= (byte
) 0 ;
3675 byte arg3
= (byte
) 0 ;
3676 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3677 wxColour
*result
= 0 ;
3678 unsigned char val1
;
3680 unsigned char val2
;
3682 unsigned char val3
;
3684 unsigned char val4
;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj1
= 0 ;
3688 PyObject
* obj2
= 0 ;
3689 PyObject
* obj3
= 0 ;
3690 char * kwnames
[] = {
3691 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3696 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3697 if (!SWIG_IsOK(ecode1
)) {
3698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3700 arg1
= static_cast< byte
>(val1
);
3703 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3704 if (!SWIG_IsOK(ecode2
)) {
3705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3707 arg2
= static_cast< byte
>(val2
);
3710 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3711 if (!SWIG_IsOK(ecode3
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3714 arg3
= static_cast< byte
>(val3
);
3717 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3718 if (!SWIG_IsOK(ecode4
)) {
3719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3721 arg4
= static_cast< byte
>(val4
);
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3736 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
= 0;
3738 wxString
*arg1
= 0 ;
3739 wxColour
*result
= 0 ;
3740 bool temp1
= false ;
3741 PyObject
* obj0
= 0 ;
3742 char * kwnames
[] = {
3743 (char *) "colorName", NULL
3746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3748 arg1
= wxString_in_helper(obj0
);
3749 if (arg1
== NULL
) SWIG_fail
;
3753 if (!wxPyCheckForApp()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3774 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
= 0;
3776 unsigned long arg1
;
3777 wxColour
*result
= 0 ;
3778 unsigned long val1
;
3780 PyObject
* obj0
= 0 ;
3781 char * kwnames
[] = {
3782 (char *) "colRGB", NULL
3785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3786 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3787 if (!SWIG_IsOK(ecode1
)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3790 arg1
= static_cast< unsigned long >(val1
);
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (wxColour
*)new wxColour(arg1
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3804 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3805 PyObject
*resultobj
= 0;
3806 wxColour
*arg1
= (wxColour
*) 0 ;
3809 PyObject
*swig_obj
[1] ;
3811 if (!args
) SWIG_fail
;
3813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3814 if (!SWIG_IsOK(res1
)) {
3815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3817 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_Py_Void();
3832 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3833 PyObject
*resultobj
= 0;
3834 wxColour
*arg1
= (wxColour
*) 0 ;
3838 PyObject
*swig_obj
[1] ;
3840 if (!args
) SWIG_fail
;
3842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3843 if (!SWIG_IsOK(res1
)) {
3844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3846 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (byte
)(arg1
)->Red();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3860 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3861 PyObject
*resultobj
= 0;
3862 wxColour
*arg1
= (wxColour
*) 0 ;
3866 PyObject
*swig_obj
[1] ;
3868 if (!args
) SWIG_fail
;
3870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3871 if (!SWIG_IsOK(res1
)) {
3872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3874 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (byte
)(arg1
)->Green();
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3888 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3889 PyObject
*resultobj
= 0;
3890 wxColour
*arg1
= (wxColour
*) 0 ;
3894 PyObject
*swig_obj
[1] ;
3896 if (!args
) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3902 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (byte
)(arg1
)->Blue();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3916 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3917 PyObject
*resultobj
= 0;
3918 wxColour
*arg1
= (wxColour
*) 0 ;
3922 PyObject
*swig_obj
[1] ;
3924 if (!args
) SWIG_fail
;
3926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3927 if (!SWIG_IsOK(res1
)) {
3928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3930 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (byte
)(arg1
)->Alpha();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3944 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxColour
*arg1
= (wxColour
*) 0 ;
3950 PyObject
*swig_obj
[1] ;
3952 if (!args
) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3958 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (bool)(arg1
)->Ok();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3974 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
= 0;
3976 wxColour
*arg1
= (wxColour
*) 0 ;
3980 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3983 unsigned char val2
;
3985 unsigned char val3
;
3987 unsigned char val4
;
3989 unsigned char val5
;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3993 PyObject
* obj2
= 0 ;
3994 PyObject
* obj3
= 0 ;
3995 PyObject
* obj4
= 0 ;
3996 char * kwnames
[] = {
3997 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4002 if (!SWIG_IsOK(res1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4005 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4006 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4007 if (!SWIG_IsOK(ecode2
)) {
4008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4010 arg2
= static_cast< byte
>(val2
);
4011 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4012 if (!SWIG_IsOK(ecode3
)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4015 arg3
= static_cast< byte
>(val3
);
4016 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4017 if (!SWIG_IsOK(ecode4
)) {
4018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4020 arg4
= static_cast< byte
>(val4
);
4022 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4023 if (!SWIG_IsOK(ecode5
)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4026 arg5
= static_cast< byte
>(val5
);
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_Py_Void();
4041 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
= 0;
4043 wxColour
*arg1
= (wxColour
*) 0 ;
4044 unsigned long arg2
;
4047 unsigned long val2
;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4051 char * kwnames
[] = {
4052 (char *) "self",(char *) "colRGB", NULL
4055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4060 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4061 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4062 if (!SWIG_IsOK(ecode2
)) {
4063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4065 arg2
= static_cast< unsigned long >(val2
);
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_Py_Void();
4079 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
= 0;
4081 wxColour
*arg1
= (wxColour
*) 0 ;
4082 wxString
*arg2
= 0 ;
4085 bool temp2
= false ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4088 char * kwnames
[] = {
4089 (char *) "self",(char *) "colourName", NULL
4092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4094 if (!SWIG_IsOK(res1
)) {
4095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4097 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4099 arg2
= wxString_in_helper(obj1
);
4100 if (arg2
== NULL
) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 (arg1
)->InitFromName((wxString
const &)*arg2
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_Py_Void();
4124 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
= 0;
4126 wxColour
*arg1
= (wxColour
*) 0 ;
4127 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4135 char * kwnames
[] = {
4136 (char *) "self",(char *) "flags", NULL
4139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4141 if (!SWIG_IsOK(res1
)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4144 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4147 if (!SWIG_IsOK(ecode2
)) {
4148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4150 arg2
= static_cast< long >(val2
);
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4171 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4172 PyObject
*resultobj
= 0;
4173 wxColour
*arg1
= (wxColour
*) 0 ;
4177 PyObject
*swig_obj
[1] ;
4179 if (!args
) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4185 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_From_long(static_cast< long >(result
));
4199 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxColour
*arg1
= (wxColour
*) 0 ;
4202 PyObject
*arg2
= (PyObject
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4208 char * kwnames
[] = {
4209 (char *) "self",(char *) "other", NULL
4212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4214 if (!SWIG_IsOK(res1
)) {
4215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4217 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4220 result
= (bool)wxColour___eq__(arg1
,arg2
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4232 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxColour
*arg1
= (wxColour
*) 0 ;
4235 PyObject
*arg2
= (PyObject
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 char * kwnames
[] = {
4242 (char *) "self",(char *) "other", NULL
4245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4250 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4253 result
= (bool)wxColour___ne__(arg1
,arg2
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4265 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
= 0;
4267 wxColour
*arg1
= (wxColour
*) 0 ;
4268 bool arg2
= (bool) false ;
4269 PyObject
*result
= 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "includeAlpha", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4285 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4287 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4288 if (!SWIG_IsOK(ecode2
)) {
4289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4291 arg2
= static_cast< bool >(val2
);
4294 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4304 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4305 PyObject
*resultobj
= 0;
4306 wxColour
*arg1
= (wxColour
*) 0 ;
4307 unsigned long result
;
4310 PyObject
*swig_obj
[1] ;
4312 if (!args
) SWIG_fail
;
4314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4315 if (!SWIG_IsOK(res1
)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4318 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4320 result
= (unsigned long)wxColour_GetRGB(arg1
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4330 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4333 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4334 return SWIG_Py_Void();
4337 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4338 return SWIG_Python_InitShadowInstance(args
);
4341 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4344 unsigned char *arg2
= (unsigned char *) 0 ;
4345 unsigned char *arg3
= (unsigned char *) 0 ;
4346 unsigned char *arg4
= (unsigned char *) 0 ;
4347 wxPalette
*result
= 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 PyObject
* obj3
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4366 if (!SWIG_IsOK(ecode1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4369 arg1
= static_cast< int >(val1
);
4370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4371 if (!SWIG_IsOK(res2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4374 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4375 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4376 if (!SWIG_IsOK(res3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4379 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4380 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4381 if (!SWIG_IsOK(res4
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4384 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4386 if (!wxPyCheckForApp()) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4399 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4400 PyObject
*resultobj
= 0;
4401 wxPalette
*arg1
= (wxPalette
*) 0 ;
4404 PyObject
*swig_obj
[1] ;
4406 if (!args
) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4412 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_Py_Void();
4427 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
= 0;
4429 wxPalette
*arg1
= (wxPalette
*) 0 ;
4436 unsigned char val2
;
4438 unsigned char val3
;
4440 unsigned char val4
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 PyObject
* obj3
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4455 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4456 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4460 arg2
= static_cast< byte
>(val2
);
4461 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4465 arg3
= static_cast< byte
>(val3
);
4466 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4467 if (!SWIG_IsOK(ecode4
)) {
4468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4470 arg4
= static_cast< byte
>(val4
);
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= SWIG_From_int(static_cast< int >(result
));
4484 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
= 0;
4486 wxPalette
*arg1
= (wxPalette
*) 0 ;
4488 byte
*arg3
= (byte
*) 0 ;
4489 byte
*arg4
= (byte
*) 0 ;
4490 byte
*arg5
= (byte
*) 0 ;
4497 int res3
= SWIG_TMPOBJ
;
4499 int res4
= SWIG_TMPOBJ
;
4501 int res5
= SWIG_TMPOBJ
;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 char * kwnames
[] = {
4505 (char *) "self",(char *) "pixel", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4513 if (!SWIG_IsOK(res1
)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4516 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4518 if (!SWIG_IsOK(ecode2
)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4521 arg2
= static_cast< int >(val2
);
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4531 if (SWIG_IsTmpObj(res3
)) {
4532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4534 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4537 if (SWIG_IsTmpObj(res4
)) {
4538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4540 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4543 if (SWIG_IsTmpObj(res5
)) {
4544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4546 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4555 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4556 PyObject
*resultobj
= 0;
4557 wxPalette
*arg1
= (wxPalette
*) 0 ;
4561 PyObject
*swig_obj
[1] ;
4563 if (!args
) SWIG_fail
;
4565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4566 if (!SWIG_IsOK(res1
)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4569 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_From_int(static_cast< int >(result
));
4583 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4584 PyObject
*resultobj
= 0;
4585 wxPalette
*arg1
= (wxPalette
*) 0 ;
4589 PyObject
*swig_obj
[1] ;
4591 if (!args
) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4597 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (bool)(arg1
)->Ok();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4613 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4616 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4617 return SWIG_Py_Void();
4620 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 return SWIG_Python_InitShadowInstance(args
);
4624 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
= 0;
4626 wxColour
*arg1
= 0 ;
4627 int arg2
= (int) 1 ;
4628 int arg3
= (int) wxSOLID
;
4635 PyObject
* obj0
= 0 ;
4636 PyObject
* obj1
= 0 ;
4637 PyObject
* obj2
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "colour",(char *) "width",(char *) "style", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4645 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4649 if (!SWIG_IsOK(ecode2
)) {
4650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4652 arg2
= static_cast< int >(val2
);
4655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4656 if (!SWIG_IsOK(ecode3
)) {
4657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4659 arg3
= static_cast< int >(val3
);
4662 if (!wxPyCheckForApp()) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4675 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4676 PyObject
*resultobj
= 0;
4677 wxPen
*arg1
= (wxPen
*) 0 ;
4680 PyObject
*swig_obj
[1] ;
4682 if (!args
) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4688 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_Py_Void();
4703 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 PyObject
*resultobj
= 0;
4705 wxPen
*arg1
= (wxPen
*) 0 ;
4709 PyObject
*swig_obj
[1] ;
4711 if (!args
) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4717 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (int)(arg1
)->GetCap();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_From_int(static_cast< int >(result
));
4731 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxPen
*arg1
= (wxPen
*) 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4745 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (arg1
)->GetColour();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4759 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4760 PyObject
*resultobj
= 0;
4761 wxPen
*arg1
= (wxPen
*) 0 ;
4765 PyObject
*swig_obj
[1] ;
4767 if (!args
) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4773 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (int)(arg1
)->GetJoin();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= SWIG_From_int(static_cast< int >(result
));
4787 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4788 PyObject
*resultobj
= 0;
4789 wxPen
*arg1
= (wxPen
*) 0 ;
4793 PyObject
*swig_obj
[1] ;
4795 if (!args
) SWIG_fail
;
4797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4798 if (!SWIG_IsOK(res1
)) {
4799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4801 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (int)(arg1
)->GetStyle();
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_From_int(static_cast< int >(result
));
4815 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4816 PyObject
*resultobj
= 0;
4817 wxPen
*arg1
= (wxPen
*) 0 ;
4821 PyObject
*swig_obj
[1] ;
4823 if (!args
) SWIG_fail
;
4825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4826 if (!SWIG_IsOK(res1
)) {
4827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4829 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (int)(arg1
)->GetWidth();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_From_int(static_cast< int >(result
));
4843 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4844 PyObject
*resultobj
= 0;
4845 wxPen
*arg1
= (wxPen
*) 0 ;
4849 PyObject
*swig_obj
[1] ;
4851 if (!args
) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4857 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (bool)(arg1
)->Ok();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
= 0;
4875 wxPen
*arg1
= (wxPen
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4883 char * kwnames
[] = {
4884 (char *) "self",(char *) "cap_style", NULL
4887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4889 if (!SWIG_IsOK(res1
)) {
4890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4892 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4894 if (!SWIG_IsOK(ecode2
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4897 arg2
= static_cast< int >(val2
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 (arg1
)->SetCap(arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_Py_Void();
4911 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
= 0;
4913 wxPen
*arg1
= (wxPen
*) 0 ;
4914 wxColour
*arg2
= 0 ;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 char * kwnames
[] = {
4921 (char *) "self",(char *) "colour", NULL
4924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4929 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 (arg1
)->SetColour(*arg2
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_Py_Void();
4947 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
= 0;
4949 wxPen
*arg1
= (wxPen
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4956 PyObject
* obj1
= 0 ;
4957 char * kwnames
[] = {
4958 (char *) "self",(char *) "join_style", NULL
4961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4963 if (!SWIG_IsOK(res1
)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4966 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4968 if (!SWIG_IsOK(ecode2
)) {
4969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4971 arg2
= static_cast< int >(val2
);
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 (arg1
)->SetJoin(arg2
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_Py_Void();
4985 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
= 0;
4987 wxPen
*arg1
= (wxPen
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4994 PyObject
* obj1
= 0 ;
4995 char * kwnames
[] = {
4996 (char *) "self",(char *) "style", NULL
4999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5004 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5006 if (!SWIG_IsOK(ecode2
)) {
5007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5009 arg2
= static_cast< int >(val2
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 (arg1
)->SetStyle(arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_Py_Void();
5023 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
= 0;
5025 wxPen
*arg1
= (wxPen
*) 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 char * kwnames
[] = {
5034 (char *) "self",(char *) "width", NULL
5037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5042 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5044 if (!SWIG_IsOK(ecode2
)) {
5045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5047 arg2
= static_cast< int >(val2
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetWidth(arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_Py_Void();
5061 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxPen
*arg1
= (wxPen
*) 0 ;
5065 wxDash
*arg3
= (wxDash
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "self",(char *) "dashes", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5079 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5081 arg2
= PyList_Size(obj1
);
5082 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5083 if (arg3
== NULL
) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetDashes(arg2
,arg3
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_Py_Void();
5093 if (arg3
) delete [] arg3
;
5098 if (arg3
) delete [] arg3
;
5104 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5105 PyObject
*resultobj
= 0;
5106 wxPen
*arg1
= (wxPen
*) 0 ;
5107 PyObject
*result
= 0 ;
5110 PyObject
*swig_obj
[1] ;
5112 if (!args
) SWIG_fail
;
5114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5115 if (!SWIG_IsOK(res1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5118 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5132 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 wxPen
*arg1
= (wxPen
*) 0 ;
5135 PyObject
*arg2
= (PyObject
*) 0 ;
5136 PyObject
*arg3
= (PyObject
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 PyObject
* obj2
= 0 ;
5142 char * kwnames
[] = {
5143 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5151 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxPen__SetDashes(arg1
,arg2
,arg3
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= SWIG_Py_Void();
5167 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5168 PyObject
*resultobj
= 0;
5169 wxPen
*arg1
= (wxPen
*) 0 ;
5173 PyObject
*swig_obj
[1] ;
5175 if (!args
) SWIG_fail
;
5177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5178 if (!SWIG_IsOK(res1
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5181 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_From_int(static_cast< int >(result
));
5195 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
= 0;
5197 wxPen
*arg1
= (wxPen
*) 0 ;
5198 wxPen
*arg2
= (wxPen
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "self",(char *) "other", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5215 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5217 if (!SWIG_IsOK(res2
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5220 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5236 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 wxPen
*arg1
= (wxPen
*) 0 ;
5239 wxPen
*arg2
= (wxPen
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 char * kwnames
[] = {
5248 (char *) "self",(char *) "other", NULL
5251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5256 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5258 if (!SWIG_IsOK(res2
)) {
5259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5261 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5277 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5280 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5281 return SWIG_Py_Void();
5284 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 return SWIG_Python_InitShadowInstance(args
);
5288 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
= 0;
5290 wxColour
*arg1
= 0 ;
5291 int arg2
= (int) wxSOLID
;
5292 wxBrush
*result
= 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 char * kwnames
[] = {
5299 (char *) "colour",(char *) "style", NULL
5302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5305 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5309 if (!SWIG_IsOK(ecode2
)) {
5310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5312 arg2
= static_cast< int >(val2
);
5315 if (!wxPyCheckForApp()) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5328 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
= 0;
5330 wxBitmap
*arg1
= 0 ;
5331 wxBrush
*result
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 char * kwnames
[] = {
5336 (char *) "stippleBitmap", NULL
5339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5340 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5341 if (!SWIG_IsOK(res1
)) {
5342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5347 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5349 if (!wxPyCheckForApp()) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5362 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5363 PyObject
*resultobj
= 0;
5364 wxBrush
*arg1
= (wxBrush
*) 0 ;
5367 PyObject
*swig_obj
[1] ;
5369 if (!args
) SWIG_fail
;
5371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5372 if (!SWIG_IsOK(res1
)) {
5373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5375 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= SWIG_Py_Void();
5390 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
= 0;
5392 wxBrush
*arg1
= (wxBrush
*) 0 ;
5393 wxColour
*arg2
= 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5399 char * kwnames
[] = {
5400 (char *) "self",(char *) "col", NULL
5403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5405 if (!SWIG_IsOK(res1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5408 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->SetColour((wxColour
const &)*arg2
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_Py_Void();
5426 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= 0;
5428 wxBrush
*arg1
= (wxBrush
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "self",(char *) "style", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5445 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5447 if (!SWIG_IsOK(ecode2
)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5450 arg2
= static_cast< int >(val2
);
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 (arg1
)->SetStyle(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_Py_Void();
5464 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
= 0;
5466 wxBrush
*arg1
= (wxBrush
*) 0 ;
5467 wxBitmap
*arg2
= 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5474 char * kwnames
[] = {
5475 (char *) "self",(char *) "stipple", NULL
5478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5480 if (!SWIG_IsOK(res1
)) {
5481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5483 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5485 if (!SWIG_IsOK(res2
)) {
5486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5491 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_Py_Void();
5505 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 PyObject
*resultobj
= 0;
5507 wxBrush
*arg1
= (wxBrush
*) 0 ;
5511 PyObject
*swig_obj
[1] ;
5513 if (!args
) SWIG_fail
;
5515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5516 if (!SWIG_IsOK(res1
)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5519 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= ((wxBrush
const *)arg1
)->GetColour();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5533 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5534 PyObject
*resultobj
= 0;
5535 wxBrush
*arg1
= (wxBrush
*) 0 ;
5539 PyObject
*swig_obj
[1] ;
5541 if (!args
) SWIG_fail
;
5543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5544 if (!SWIG_IsOK(res1
)) {
5545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5547 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int(static_cast< int >(result
));
5561 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5562 PyObject
*resultobj
= 0;
5563 wxBrush
*arg1
= (wxBrush
*) 0 ;
5564 wxBitmap
*result
= 0 ;
5567 PyObject
*swig_obj
[1] ;
5569 if (!args
) SWIG_fail
;
5571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5572 if (!SWIG_IsOK(res1
)) {
5573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5575 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5589 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5590 PyObject
*resultobj
= 0;
5591 wxBrush
*arg1
= (wxBrush
*) 0 ;
5595 PyObject
*swig_obj
[1] ;
5597 if (!args
) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5603 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5620 PyObject
*resultobj
= 0;
5621 wxBrush
*arg1
= (wxBrush
*) 0 ;
5625 PyObject
*swig_obj
[1] ;
5627 if (!args
) SWIG_fail
;
5629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5630 if (!SWIG_IsOK(res1
)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5633 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (bool)(arg1
)->Ok();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5652 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5653 return SWIG_Py_Void();
5656 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5657 return SWIG_Python_InitShadowInstance(args
);
5660 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
= 0;
5662 wxString
*arg1
= 0 ;
5663 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5664 wxBitmap
*result
= 0 ;
5665 bool temp1
= false ;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5670 char * kwnames
[] = {
5671 (char *) "name",(char *) "type", NULL
5674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5676 arg1
= wxString_in_helper(obj0
);
5677 if (arg1
== NULL
) SWIG_fail
;
5681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5682 if (!SWIG_IsOK(ecode2
)) {
5683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5685 arg2
= static_cast< wxBitmapType
>(val2
);
5688 if (!wxPyCheckForApp()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5709 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5710 PyObject
*resultobj
= 0;
5711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5714 PyObject
*swig_obj
[1] ;
5716 if (!args
) SWIG_fail
;
5718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5719 if (!SWIG_IsOK(res1
)) {
5720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5722 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_Py_Void();
5735 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
= 0;
5739 int arg3
= (int) -1 ;
5740 wxBitmap
*result
= 0 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5749 PyObject
* obj2
= 0 ;
5750 char * kwnames
[] = {
5751 (char *) "width",(char *) "height",(char *) "depth", NULL
5754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5756 if (!SWIG_IsOK(ecode1
)) {
5757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5759 arg1
= static_cast< int >(val1
);
5760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5761 if (!SWIG_IsOK(ecode2
)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5764 arg2
= static_cast< int >(val2
);
5766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5767 if (!SWIG_IsOK(ecode3
)) {
5768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5770 arg3
= static_cast< int >(val3
);
5773 if (!wxPyCheckForApp()) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5786 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
= 0;
5789 wxBitmap
*result
= 0 ;
5792 PyObject
* obj0
= 0 ;
5793 char * kwnames
[] = {
5794 (char *) "icon", NULL
5797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5798 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5799 if (!SWIG_IsOK(res1
)) {
5800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5805 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5807 if (!wxPyCheckForApp()) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5820 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
= 0;
5823 int arg2
= (int) -1 ;
5824 wxBitmap
*result
= 0 ;
5829 PyObject
* obj0
= 0 ;
5830 PyObject
* obj1
= 0 ;
5831 char * kwnames
[] = {
5832 (char *) "image",(char *) "depth", NULL
5835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5836 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5837 if (!SWIG_IsOK(res1
)) {
5838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5843 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5846 if (!SWIG_IsOK(ecode2
)) {
5847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5849 arg2
= static_cast< int >(val2
);
5852 if (!wxPyCheckForApp()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5865 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 PyObject
*arg1
= (PyObject
*) 0 ;
5868 wxBitmap
*result
= 0 ;
5869 PyObject
* obj0
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "listOfStrings", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5877 if (!wxPyCheckForApp()) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5890 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
= 0;
5892 PyObject
*arg1
= (PyObject
*) 0 ;
5895 int arg4
= (int) 1 ;
5896 wxBitmap
*result
= 0 ;
5903 PyObject
* obj0
= 0 ;
5904 PyObject
* obj1
= 0 ;
5905 PyObject
* obj2
= 0 ;
5906 PyObject
* obj3
= 0 ;
5907 char * kwnames
[] = {
5908 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5914 if (!SWIG_IsOK(ecode2
)) {
5915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5917 arg2
= static_cast< int >(val2
);
5918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5919 if (!SWIG_IsOK(ecode3
)) {
5920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5922 arg3
= static_cast< int >(val3
);
5924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5925 if (!SWIG_IsOK(ecode4
)) {
5926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5928 arg4
= static_cast< int >(val4
);
5931 if (!wxPyCheckForApp()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5944 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5945 PyObject
*resultobj
= 0;
5946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5950 PyObject
*swig_obj
[1] ;
5952 if (!args
) SWIG_fail
;
5954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5955 if (!SWIG_IsOK(res1
)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5958 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5960 result
= (bool)(arg1
)->Ok();
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5972 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5973 PyObject
*resultobj
= 0;
5974 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5978 PyObject
*swig_obj
[1] ;
5980 if (!args
) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5986 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5988 result
= (int)(arg1
)->GetWidth();
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_From_int(static_cast< int >(result
));
5998 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5999 PyObject
*resultobj
= 0;
6000 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6004 PyObject
*swig_obj
[1] ;
6006 if (!args
) SWIG_fail
;
6008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6009 if (!SWIG_IsOK(res1
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6012 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6014 result
= (int)(arg1
)->GetHeight();
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_From_int(static_cast< int >(result
));
6024 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6025 PyObject
*resultobj
= 0;
6026 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6030 PyObject
*swig_obj
[1] ;
6032 if (!args
) SWIG_fail
;
6034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6035 if (!SWIG_IsOK(res1
)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6038 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6040 result
= (int)(arg1
)->GetDepth();
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_From_int(static_cast< int >(result
));
6050 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6064 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6066 result
= wxBitmap_GetSize(arg1
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6076 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6077 PyObject
*resultobj
= 0;
6078 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6079 SwigValueWrapper
<wxImage
> result
;
6082 PyObject
*swig_obj
[1] ;
6084 if (!args
) SWIG_fail
;
6086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6087 if (!SWIG_IsOK(res1
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6090 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6092 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6102 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6105 wxMask
*result
= 0 ;
6108 PyObject
*swig_obj
[1] ;
6110 if (!args
) SWIG_fail
;
6112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6113 if (!SWIG_IsOK(res1
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6116 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6118 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6128 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6130 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6131 wxMask
*arg2
= (wxMask
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6137 char * kwnames
[] = {
6138 (char *) "self",(char *) "mask", NULL
6141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6143 if (!SWIG_IsOK(res1
)) {
6144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6146 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6147 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6148 if (!SWIG_IsOK(res2
)) {
6149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6152 (arg1
)->SetMask(arg2
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_Py_Void();
6162 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6165 wxColour
*arg2
= 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 char * kwnames
[] = {
6172 (char *) "self",(char *) "colour", NULL
6175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6186 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_Py_Void();
6196 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
= 0;
6198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6200 SwigValueWrapper
<wxBitmap
> result
;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "self",(char *) "rect", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6218 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6221 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6231 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
= 0;
6233 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6234 wxString
*arg2
= 0 ;
6236 wxPalette
*arg4
= (wxPalette
*) NULL
;
6240 bool temp2
= false ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 PyObject
* obj2
= 0 ;
6248 PyObject
* obj3
= 0 ;
6249 char * kwnames
[] = {
6250 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6258 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6260 arg2
= wxString_in_helper(obj1
);
6261 if (arg2
== NULL
) SWIG_fail
;
6264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6265 if (!SWIG_IsOK(ecode3
)) {
6266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6268 arg3
= static_cast< wxBitmapType
>(val3
);
6270 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6271 if (!SWIG_IsOK(res4
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6274 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6277 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6297 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
= 0;
6299 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6300 wxString
*arg2
= 0 ;
6305 bool temp2
= false ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6310 PyObject
* obj2
= 0 ;
6311 char * kwnames
[] = {
6312 (char *) "self",(char *) "name",(char *) "type", NULL
6315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6317 if (!SWIG_IsOK(res1
)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6320 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6322 arg2
= wxString_in_helper(obj1
);
6323 if (arg2
== NULL
) SWIG_fail
;
6326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6327 if (!SWIG_IsOK(ecode3
)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6330 arg3
= static_cast< wxBitmapType
>(val3
);
6332 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6352 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6353 PyObject
*resultobj
= 0;
6354 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6355 wxPalette
*result
= 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6366 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6368 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6378 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
= 0;
6380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 char * kwnames
[] = {
6390 (char *) "self",(char *) "icon", NULL
6393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6395 if (!SWIG_IsOK(res1
)) {
6396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6400 if (!SWIG_IsOK(res2
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6406 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6408 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6420 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
= 0;
6422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 char * kwnames
[] = {
6431 (char *) "self",(char *) "height", NULL
6434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6441 if (!SWIG_IsOK(ecode2
)) {
6442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6444 arg2
= static_cast< int >(val2
);
6446 (arg1
)->SetHeight(arg2
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_Py_Void();
6456 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
= 0;
6458 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6466 char * kwnames
[] = {
6467 (char *) "self",(char *) "width", NULL
6470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6472 if (!SWIG_IsOK(res1
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6475 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6477 if (!SWIG_IsOK(ecode2
)) {
6478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6480 arg2
= static_cast< int >(val2
);
6482 (arg1
)->SetWidth(arg2
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_Py_Void();
6492 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
= 0;
6494 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6502 char * kwnames
[] = {
6503 (char *) "self",(char *) "depth", NULL
6506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6508 if (!SWIG_IsOK(res1
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6511 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6513 if (!SWIG_IsOK(ecode2
)) {
6514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6516 arg2
= static_cast< int >(val2
);
6518 (arg1
)->SetDepth(arg2
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= SWIG_Py_Void();
6528 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
= 0;
6530 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6537 char * kwnames
[] = {
6538 (char *) "self",(char *) "size", NULL
6541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6543 if (!SWIG_IsOK(res1
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6546 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6552 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_Py_Void();
6562 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6565 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 char * kwnames
[] = {
6574 (char *) "self",(char *) "other", NULL
6577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6582 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6584 if (!SWIG_IsOK(res2
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6587 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6589 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6601 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
= 0;
6603 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6604 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "self",(char *) "other", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6623 if (!SWIG_IsOK(res2
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6626 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6628 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6640 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6643 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6644 return SWIG_Py_Void();
6647 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6648 return SWIG_Python_InitShadowInstance(args
);
6651 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
= 0;
6659 wxBitmap
*result
= 0 ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6668 PyObject
* obj2
= 0 ;
6669 PyObject
* obj3
= 0 ;
6670 char * kwnames
[] = {
6671 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6676 if (!SWIG_IsOK(ecode1
)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6679 arg1
= static_cast< int >(val1
);
6680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6681 if (!SWIG_IsOK(ecode2
)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6684 arg2
= static_cast< int >(val2
);
6686 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6690 if (obj3
!= Py_None
) {
6691 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6696 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6706 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= 0;
6712 wxBitmap
*result
= 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 PyObject
* obj2
= 0 ;
6721 char * kwnames
[] = {
6722 (char *) "width",(char *) "height",(char *) "data", NULL
6725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6727 if (!SWIG_IsOK(ecode1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6730 arg1
= static_cast< int >(val1
);
6731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6732 if (!SWIG_IsOK(ecode2
)) {
6733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6735 arg2
= static_cast< int >(val2
);
6737 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6741 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6751 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
= 0;
6757 wxBitmap
*result
= 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6765 PyObject
* obj2
= 0 ;
6766 char * kwnames
[] = {
6767 (char *) "width",(char *) "height",(char *) "data", NULL
6770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6772 if (!SWIG_IsOK(ecode1
)) {
6773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6775 arg1
= static_cast< int >(val1
);
6776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6777 if (!SWIG_IsOK(ecode2
)) {
6778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6780 arg2
= static_cast< int >(val2
);
6782 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6786 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6796 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6797 PyObject
*resultobj
= 0;
6798 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6802 PyObject
*swig_obj
[1] ;
6804 if (!args
) SWIG_fail
;
6806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6807 if (!SWIG_IsOK(res1
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6810 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6812 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6822 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6823 PyObject
*resultobj
= 0;
6824 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6828 PyObject
*swig_obj
[1] ;
6830 if (!args
) SWIG_fail
;
6832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6833 if (!SWIG_IsOK(res1
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6836 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6838 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_From_int(static_cast< int >(result
));
6848 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6849 PyObject
*resultobj
= 0;
6850 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6854 PyObject
*swig_obj
[1] ;
6856 if (!args
) SWIG_fail
;
6858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6859 if (!SWIG_IsOK(res1
)) {
6860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6862 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6864 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= SWIG_From_int(static_cast< int >(result
));
6874 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6875 PyObject
*resultobj
= 0;
6876 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6880 PyObject
*swig_obj
[1] ;
6882 if (!args
) SWIG_fail
;
6884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6885 if (!SWIG_IsOK(res1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6888 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6890 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6900 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6901 PyObject
*resultobj
= 0;
6902 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6906 PyObject
*swig_obj
[1] ;
6908 if (!args
) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6914 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6916 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_From_int(static_cast< int >(result
));
6926 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6929 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6930 return SWIG_Py_Void();
6933 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6934 PyObject
*resultobj
= 0;
6935 wxBitmap
*arg1
= 0 ;
6936 wxNativePixelData
*result
= 0 ;
6940 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6950 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6960 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6961 PyObject
*resultobj
= 0;
6962 wxBitmap
*arg1
= 0 ;
6964 wxNativePixelData
*result
= 0 ;
6969 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
6970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6971 if (!SWIG_IsOK(res1
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6977 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6980 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
6983 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6993 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6994 PyObject
*resultobj
= 0;
6995 wxBitmap
*arg1
= 0 ;
6998 wxNativePixelData
*result
= 0 ;
7004 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7012 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7015 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7019 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7022 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7032 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7036 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7039 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7042 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7045 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7049 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7054 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7055 PyObject
*resultobj
= 0;
7056 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7059 PyObject
*swig_obj
[1] ;
7061 if (!args
) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7067 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_Py_Void();
7080 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7081 PyObject
*resultobj
= 0;
7082 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7083 wxNativePixelData_Accessor result
;
7086 PyObject
*swig_obj
[1] ;
7088 if (!args
) SWIG_fail
;
7090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7091 if (!SWIG_IsOK(res1
)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7094 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7096 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7106 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7107 PyObject
*resultobj
= 0;
7108 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7111 PyObject
*swig_obj
[1] ;
7113 if (!args
) SWIG_fail
;
7115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7116 if (!SWIG_IsOK(res1
)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7119 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_Py_Void();
7131 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 PyObject
*resultobj
= 0;
7133 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7137 PyObject
*swig_obj
[1] ;
7139 if (!args
) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7145 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7147 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7159 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7162 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7163 return SWIG_Py_Void();
7166 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7167 return SWIG_Python_InitShadowInstance(args
);
7170 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7171 PyObject
*resultobj
= 0;
7172 wxNativePixelData
*arg1
= 0 ;
7173 wxNativePixelData_Accessor
*result
= 0 ;
7177 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7185 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7187 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7197 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7198 PyObject
*resultobj
= 0;
7199 wxBitmap
*arg1
= 0 ;
7200 wxNativePixelData
*arg2
= 0 ;
7201 wxNativePixelData_Accessor
*result
= 0 ;
7207 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7216 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7217 if (!SWIG_IsOK(res2
)) {
7218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7223 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7225 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7235 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7236 PyObject
*resultobj
= 0;
7237 wxNativePixelData_Accessor
*result
= 0 ;
7239 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7241 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7251 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7255 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7258 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7261 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7264 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7268 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7273 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7274 PyObject
*resultobj
= 0;
7275 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7278 PyObject
*swig_obj
[1] ;
7280 if (!args
) SWIG_fail
;
7282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7283 if (!SWIG_IsOK(res1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7286 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_Py_Void();
7299 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
= 0;
7301 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7302 wxNativePixelData
*arg2
= 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 char * kwnames
[] = {
7310 (char *) "self",(char *) "data", NULL
7313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7318 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7320 if (!SWIG_IsOK(res2
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7326 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7328 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_Py_Void();
7338 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 PyObject
*resultobj
= 0;
7340 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7344 PyObject
*swig_obj
[1] ;
7346 if (!args
) SWIG_fail
;
7348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7349 if (!SWIG_IsOK(res1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7352 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7354 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7366 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 PyObject
*resultobj
= 0;
7368 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7371 PyObject
*swig_obj
[1] ;
7373 if (!args
) SWIG_fail
;
7375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7376 if (!SWIG_IsOK(res1
)) {
7377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7379 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7381 wxNativePixelData_Accessor_nextPixel(arg1
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_Py_Void();
7391 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
= 0;
7393 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7394 wxNativePixelData
*arg2
= 0 ;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj2
= 0 ;
7408 PyObject
* obj3
= 0 ;
7409 char * kwnames
[] = {
7410 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7418 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7420 if (!SWIG_IsOK(res2
)) {
7421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7426 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7428 if (!SWIG_IsOK(ecode3
)) {
7429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7431 arg3
= static_cast< int >(val3
);
7432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7433 if (!SWIG_IsOK(ecode4
)) {
7434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7436 arg4
= static_cast< int >(val4
);
7438 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_Py_Void();
7448 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7451 wxNativePixelData
*arg2
= 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "data",(char *) "x", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7471 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7473 if (!SWIG_IsOK(res2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7479 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7481 if (!SWIG_IsOK(ecode3
)) {
7482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7484 arg3
= static_cast< int >(val3
);
7486 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_Py_Void();
7496 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
= 0;
7498 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7499 wxNativePixelData
*arg2
= 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7509 PyObject
* obj2
= 0 ;
7510 char * kwnames
[] = {
7511 (char *) "self",(char *) "data",(char *) "y", NULL
7514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7519 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7521 if (!SWIG_IsOK(res2
)) {
7522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7527 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7529 if (!SWIG_IsOK(ecode3
)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7532 arg3
= static_cast< int >(val3
);
7534 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_Py_Void();
7544 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
= 0;
7546 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7547 wxNativePixelData
*arg2
= 0 ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7561 PyObject
* obj3
= 0 ;
7562 char * kwnames
[] = {
7563 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7571 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7573 if (!SWIG_IsOK(res2
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7579 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7581 if (!SWIG_IsOK(ecode3
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7584 arg3
= static_cast< int >(val3
);
7585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7586 if (!SWIG_IsOK(ecode4
)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7589 arg4
= static_cast< int >(val4
);
7591 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= SWIG_Py_Void();
7601 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
= 0;
7603 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7609 unsigned char val2
;
7611 unsigned char val3
;
7613 unsigned char val4
;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7618 PyObject
* obj3
= 0 ;
7619 char * kwnames
[] = {
7620 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7628 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7629 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7630 if (!SWIG_IsOK(ecode2
)) {
7631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7633 arg2
= static_cast< byte
>(val2
);
7634 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7635 if (!SWIG_IsOK(ecode3
)) {
7636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7638 arg3
= static_cast< byte
>(val3
);
7639 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7640 if (!SWIG_IsOK(ecode4
)) {
7641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7643 arg4
= static_cast< byte
>(val4
);
7645 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_Py_Void();
7655 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7656 PyObject
*resultobj
= 0;
7657 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7658 PyObject
*result
= 0 ;
7661 PyObject
*swig_obj
[1] ;
7663 if (!args
) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7669 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7671 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7681 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7684 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7685 return SWIG_Py_Void();
7688 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7689 return SWIG_Python_InitShadowInstance(args
);
7692 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7693 PyObject
*resultobj
= 0;
7694 wxBitmap
*arg1
= 0 ;
7695 wxAlphaPixelData
*result
= 0 ;
7699 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7707 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7709 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7719 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7720 PyObject
*resultobj
= 0;
7721 wxBitmap
*arg1
= 0 ;
7723 wxAlphaPixelData
*result
= 0 ;
7728 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7730 if (!SWIG_IsOK(res1
)) {
7731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7736 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7739 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7742 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7752 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7753 PyObject
*resultobj
= 0;
7754 wxBitmap
*arg1
= 0 ;
7757 wxAlphaPixelData
*result
= 0 ;
7763 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7765 if (!SWIG_IsOK(res1
)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7771 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7774 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7778 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7781 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7791 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7795 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7798 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7801 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7804 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7808 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7813 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7814 PyObject
*resultobj
= 0;
7815 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7818 PyObject
*swig_obj
[1] ;
7820 if (!args
) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7826 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_Py_Void();
7839 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7840 PyObject
*resultobj
= 0;
7841 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7842 wxAlphaPixelData_Accessor result
;
7845 PyObject
*swig_obj
[1] ;
7847 if (!args
) SWIG_fail
;
7849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7850 if (!SWIG_IsOK(res1
)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7853 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7855 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7865 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 PyObject
*resultobj
= 0;
7867 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7870 PyObject
*swig_obj
[1] ;
7872 if (!args
) SWIG_fail
;
7874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7875 if (!SWIG_IsOK(res1
)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7878 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= SWIG_Py_Void();
7890 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7891 PyObject
*resultobj
= 0;
7892 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7896 PyObject
*swig_obj
[1] ;
7898 if (!args
) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7904 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7906 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7918 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7921 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7922 return SWIG_Py_Void();
7925 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7926 return SWIG_Python_InitShadowInstance(args
);
7929 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7930 PyObject
*resultobj
= 0;
7931 wxAlphaPixelData
*arg1
= 0 ;
7932 wxAlphaPixelData_Accessor
*result
= 0 ;
7936 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7938 if (!SWIG_IsOK(res1
)) {
7939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7944 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7946 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7956 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7957 PyObject
*resultobj
= 0;
7958 wxBitmap
*arg1
= 0 ;
7959 wxAlphaPixelData
*arg2
= 0 ;
7960 wxAlphaPixelData_Accessor
*result
= 0 ;
7966 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7968 if (!SWIG_IsOK(res1
)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7974 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7982 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
7984 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7994 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7995 PyObject
*resultobj
= 0;
7996 wxAlphaPixelData_Accessor
*result
= 0 ;
7998 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8000 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8010 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8014 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8017 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8020 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8023 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8027 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8032 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8037 PyObject
*swig_obj
[1] ;
8039 if (!args
) SWIG_fail
;
8041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8042 if (!SWIG_IsOK(res1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8045 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8058 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8061 wxAlphaPixelData
*arg2
= 0 ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 char * kwnames
[] = {
8069 (char *) "self",(char *) "data", NULL
8072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8074 if (!SWIG_IsOK(res1
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8077 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8079 if (!SWIG_IsOK(res2
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8085 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8087 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_Py_Void();
8097 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8098 PyObject
*resultobj
= 0;
8099 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8103 PyObject
*swig_obj
[1] ;
8105 if (!args
) SWIG_fail
;
8107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8108 if (!SWIG_IsOK(res1
)) {
8109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8111 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8113 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8114 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8125 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8126 PyObject
*resultobj
= 0;
8127 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8130 PyObject
*swig_obj
[1] ;
8132 if (!args
) SWIG_fail
;
8134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8135 if (!SWIG_IsOK(res1
)) {
8136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8138 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8140 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_Py_Void();
8150 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
= 0;
8152 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8153 wxAlphaPixelData
*arg2
= 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8167 PyObject
* obj3
= 0 ;
8168 char * kwnames
[] = {
8169 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8174 if (!SWIG_IsOK(res1
)) {
8175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8177 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8179 if (!SWIG_IsOK(res2
)) {
8180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8185 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8187 if (!SWIG_IsOK(ecode3
)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8190 arg3
= static_cast< int >(val3
);
8191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8192 if (!SWIG_IsOK(ecode4
)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8195 arg4
= static_cast< int >(val4
);
8197 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_Py_Void();
8207 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
= 0;
8209 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8210 wxAlphaPixelData
*arg2
= 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 PyObject
* obj2
= 0 ;
8221 char * kwnames
[] = {
8222 (char *) "self",(char *) "data",(char *) "x", NULL
8225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8230 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8232 if (!SWIG_IsOK(res2
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8238 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8240 if (!SWIG_IsOK(ecode3
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8243 arg3
= static_cast< int >(val3
);
8245 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_Py_Void();
8255 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= 0;
8257 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8258 wxAlphaPixelData
*arg2
= 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 char * kwnames
[] = {
8270 (char *) "self",(char *) "data",(char *) "y", NULL
8273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8278 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8280 if (!SWIG_IsOK(res2
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8286 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8288 if (!SWIG_IsOK(ecode3
)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8291 arg3
= static_cast< int >(val3
);
8293 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_Py_Void();
8303 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8305 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8306 wxAlphaPixelData
*arg2
= 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8320 PyObject
* obj3
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8330 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8332 if (!SWIG_IsOK(res2
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8338 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8340 if (!SWIG_IsOK(ecode3
)) {
8341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8343 arg3
= static_cast< int >(val3
);
8344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8345 if (!SWIG_IsOK(ecode4
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8348 arg4
= static_cast< int >(val4
);
8350 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_Py_Void();
8360 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
= 0;
8362 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8369 unsigned char val2
;
8371 unsigned char val3
;
8373 unsigned char val4
;
8375 unsigned char val5
;
8377 PyObject
* obj0
= 0 ;
8378 PyObject
* obj1
= 0 ;
8379 PyObject
* obj2
= 0 ;
8380 PyObject
* obj3
= 0 ;
8381 PyObject
* obj4
= 0 ;
8382 char * kwnames
[] = {
8383 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8388 if (!SWIG_IsOK(res1
)) {
8389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8391 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8392 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8393 if (!SWIG_IsOK(ecode2
)) {
8394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8396 arg2
= static_cast< byte
>(val2
);
8397 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8398 if (!SWIG_IsOK(ecode3
)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8401 arg3
= static_cast< byte
>(val3
);
8402 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8403 if (!SWIG_IsOK(ecode4
)) {
8404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8406 arg4
= static_cast< byte
>(val4
);
8407 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8408 if (!SWIG_IsOK(ecode5
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8411 arg5
= static_cast< byte
>(val5
);
8413 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_Py_Void();
8423 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 PyObject
*resultobj
= 0;
8425 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8426 PyObject
*result
= 0 ;
8429 PyObject
*swig_obj
[1] ;
8431 if (!args
) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8437 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8439 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8449 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8452 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8453 return SWIG_Py_Void();
8456 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8457 return SWIG_Python_InitShadowInstance(args
);
8460 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
= 0;
8462 wxBitmap
*arg1
= 0 ;
8463 wxColour
const &arg2_defvalue
= wxNullColour
;
8464 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8465 wxMask
*result
= 0 ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8471 char * kwnames
[] = {
8472 (char *) "bitmap",(char *) "colour", NULL
8475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8476 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8477 if (!SWIG_IsOK(res1
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8483 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8487 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8491 if (!wxPyCheckForApp()) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8504 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 PyObject
*resultobj
= 0;
8506 wxMask
*arg1
= (wxMask
*) 0 ;
8509 PyObject
*swig_obj
[1] ;
8511 if (!args
) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8517 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= SWIG_Py_Void();
8530 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8533 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8534 return SWIG_Py_Void();
8537 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 return SWIG_Python_InitShadowInstance(args
);
8541 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
= 0;
8543 wxString
*arg1
= 0 ;
8545 int arg3
= (int) -1 ;
8546 int arg4
= (int) -1 ;
8547 wxIcon
*result
= 0 ;
8548 bool temp1
= false ;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8557 PyObject
* obj2
= 0 ;
8558 PyObject
* obj3
= 0 ;
8559 char * kwnames
[] = {
8560 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8565 arg1
= wxString_in_helper(obj0
);
8566 if (arg1
== NULL
) SWIG_fail
;
8569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8570 if (!SWIG_IsOK(ecode2
)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8573 arg2
= static_cast< wxBitmapType
>(val2
);
8575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8576 if (!SWIG_IsOK(ecode3
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8579 arg3
= static_cast< int >(val3
);
8582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8583 if (!SWIG_IsOK(ecode4
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8586 arg4
= static_cast< int >(val4
);
8589 if (!wxPyCheckForApp()) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8610 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8611 PyObject
*resultobj
= 0;
8612 wxIcon
*arg1
= (wxIcon
*) 0 ;
8615 PyObject
*swig_obj
[1] ;
8617 if (!args
) SWIG_fail
;
8619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8620 if (!SWIG_IsOK(res1
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8623 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= SWIG_Py_Void();
8638 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 PyObject
*resultobj
= 0;
8640 wxIcon
*result
= 0 ;
8642 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8644 if (!wxPyCheckForApp()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (wxIcon
*)new wxIcon();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8657 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
= 0;
8659 wxIconLocation
*arg1
= 0 ;
8660 wxIcon
*result
= 0 ;
8663 PyObject
* obj0
= 0 ;
8664 char * kwnames
[] = {
8665 (char *) "loc", NULL
8668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8669 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8670 if (!SWIG_IsOK(res1
)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8676 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8678 if (!wxPyCheckForApp()) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8691 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
= 0;
8693 wxBitmap
*arg1
= 0 ;
8694 wxIcon
*result
= 0 ;
8697 PyObject
* obj0
= 0 ;
8698 char * kwnames
[] = {
8699 (char *) "bmp", NULL
8702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8703 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8704 if (!SWIG_IsOK(res1
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8712 if (!wxPyCheckForApp()) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8725 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 PyObject
*arg1
= (PyObject
*) 0 ;
8728 wxIcon
*result
= 0 ;
8729 PyObject
* obj0
= 0 ;
8730 char * kwnames
[] = {
8731 (char *) "listOfStrings", NULL
8734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8737 if (!wxPyCheckForApp()) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (wxIcon
*)new_wxIcon(arg1
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8750 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxIcon
*arg1
= (wxIcon
*) 0 ;
8753 wxString
*arg2
= 0 ;
8758 bool temp2
= false ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 PyObject
* obj2
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "name",(char *) "type", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8773 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8775 arg2
= wxString_in_helper(obj1
);
8776 if (arg2
== NULL
) SWIG_fail
;
8779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8780 if (!SWIG_IsOK(ecode3
)) {
8781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8783 arg3
= static_cast< wxBitmapType
>(val3
);
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8807 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8808 PyObject
*resultobj
= 0;
8809 wxIcon
*arg1
= (wxIcon
*) 0 ;
8813 PyObject
*swig_obj
[1] ;
8815 if (!args
) SWIG_fail
;
8817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8818 if (!SWIG_IsOK(res1
)) {
8819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8821 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (bool)(arg1
)->Ok();
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8837 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8838 PyObject
*resultobj
= 0;
8839 wxIcon
*arg1
= (wxIcon
*) 0 ;
8843 PyObject
*swig_obj
[1] ;
8845 if (!args
) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8851 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (int)(arg1
)->GetWidth();
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_From_int(static_cast< int >(result
));
8865 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8866 PyObject
*resultobj
= 0;
8867 wxIcon
*arg1
= (wxIcon
*) 0 ;
8871 PyObject
*swig_obj
[1] ;
8873 if (!args
) SWIG_fail
;
8875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8876 if (!SWIG_IsOK(res1
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8879 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (int)(arg1
)->GetHeight();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_From_int(static_cast< int >(result
));
8893 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8894 PyObject
*resultobj
= 0;
8895 wxIcon
*arg1
= (wxIcon
*) 0 ;
8899 PyObject
*swig_obj
[1] ;
8901 if (!args
) SWIG_fail
;
8903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8904 if (!SWIG_IsOK(res1
)) {
8905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8907 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (int)(arg1
)->GetDepth();
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_From_int(static_cast< int >(result
));
8921 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= 0;
8923 wxIcon
*arg1
= (wxIcon
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "self",(char *) "w", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8940 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8942 if (!SWIG_IsOK(ecode2
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8945 arg2
= static_cast< int >(val2
);
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 (arg1
)->SetWidth(arg2
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= SWIG_Py_Void();
8959 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
= 0;
8961 wxIcon
*arg1
= (wxIcon
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 char * kwnames
[] = {
8970 (char *) "self",(char *) "h", NULL
8973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8975 if (!SWIG_IsOK(res1
)) {
8976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8978 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8980 if (!SWIG_IsOK(ecode2
)) {
8981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8983 arg2
= static_cast< int >(val2
);
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 (arg1
)->SetHeight(arg2
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_Py_Void();
8997 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxIcon
*arg1
= (wxIcon
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "self",(char *) "d", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9013 if (!SWIG_IsOK(res1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9016 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9018 if (!SWIG_IsOK(ecode2
)) {
9019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9021 arg2
= static_cast< int >(val2
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 (arg1
)->SetDepth(arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_Py_Void();
9035 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
= 0;
9037 wxIcon
*arg1
= (wxIcon
*) 0 ;
9038 wxBitmap
*arg2
= 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9045 char * kwnames
[] = {
9046 (char *) "self",(char *) "bmp", NULL
9049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9051 if (!SWIG_IsOK(res1
)) {
9052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9054 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9056 if (!SWIG_IsOK(res2
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9062 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_Py_Void();
9076 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9079 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9080 return SWIG_Py_Void();
9083 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9084 return SWIG_Python_InitShadowInstance(args
);
9087 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9090 int arg2
= (int) 0 ;
9091 wxIconLocation
*result
= 0 ;
9092 bool temp1
= false ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 char * kwnames
[] = {
9098 (char *) "filename",(char *) "num", NULL
9101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9104 arg1
= wxString_in_helper(obj0
);
9105 if (arg1
== NULL
) SWIG_fail
;
9110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9111 if (!SWIG_IsOK(ecode2
)) {
9112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9114 arg2
= static_cast< int >(val2
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9137 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9138 PyObject
*resultobj
= 0;
9139 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9142 PyObject
*swig_obj
[1] ;
9144 if (!args
) SWIG_fail
;
9146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9147 if (!SWIG_IsOK(res1
)) {
9148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9150 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_Py_Void();
9165 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9166 PyObject
*resultobj
= 0;
9167 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9171 PyObject
*swig_obj
[1] ;
9173 if (!args
) SWIG_fail
;
9175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9176 if (!SWIG_IsOK(res1
)) {
9177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9179 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9195 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9198 wxString
*arg2
= 0 ;
9201 bool temp2
= false ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 char * kwnames
[] = {
9205 (char *) "self",(char *) "filename", NULL
9208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9213 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9215 arg2
= wxString_in_helper(obj1
);
9216 if (arg2
== NULL
) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->SetFileName((wxString
const &)*arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9240 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9241 PyObject
*resultobj
= 0;
9242 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9243 wxString
*result
= 0 ;
9246 PyObject
*swig_obj
[1] ;
9248 if (!args
) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9254 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9259 result
= (wxString
*) &_result_ref
;
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9277 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 char * kwnames
[] = {
9288 (char *) "self",(char *) "num", NULL
9291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9296 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9298 if (!SWIG_IsOK(ecode2
)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9301 arg2
= static_cast< int >(val2
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxIconLocation_SetIndex(arg1
,arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9315 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9316 PyObject
*resultobj
= 0;
9317 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9321 PyObject
*swig_obj
[1] ;
9323 if (!args
) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9329 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (int)wxIconLocation_GetIndex(arg1
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= SWIG_From_int(static_cast< int >(result
));
9343 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9346 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9347 return SWIG_Py_Void();
9350 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9351 return SWIG_Python_InitShadowInstance(args
);
9354 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9355 PyObject
*resultobj
= 0;
9356 wxIconBundle
*result
= 0 ;
9358 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (wxIconBundle
*)new wxIconBundle();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9372 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
= 0;
9374 wxString
*arg1
= 0 ;
9376 wxIconBundle
*result
= 0 ;
9377 bool temp1
= false ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "file",(char *) "type", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9388 arg1
= wxString_in_helper(obj0
);
9389 if (arg1
== NULL
) SWIG_fail
;
9392 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9393 if (!SWIG_IsOK(ecode2
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9396 arg2
= static_cast< long >(val2
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9418 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= 0;
9421 wxIconBundle
*result
= 0 ;
9424 PyObject
* obj0
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "icon", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9437 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9451 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9452 PyObject
*resultobj
= 0;
9453 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9456 PyObject
*swig_obj
[1] ;
9458 if (!args
) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9464 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_Py_Void();
9479 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
= 0;
9481 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 char * kwnames
[] = {
9490 (char *) "self",(char *) "icon", NULL
9493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9495 if (!SWIG_IsOK(res1
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9498 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9499 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9500 if (!SWIG_IsOK(res2
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9506 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_Py_Void();
9520 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
= 0;
9522 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9523 wxString
*arg2
= 0 ;
9527 bool temp2
= false ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9533 char * kwnames
[] = {
9534 (char *) "self",(char *) "file",(char *) "type", NULL
9537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9542 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9544 arg2
= wxString_in_helper(obj1
);
9545 if (arg2
== NULL
) SWIG_fail
;
9548 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9549 if (!SWIG_IsOK(ecode3
)) {
9550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9552 arg3
= static_cast< long >(val3
);
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_Py_Void();
9574 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
= 0;
9576 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9578 wxIcon
*result
= 0 ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9584 char * kwnames
[] = {
9585 (char *) "self",(char *) "size", NULL
9588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9590 if (!SWIG_IsOK(res1
)) {
9591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9593 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9596 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9602 result
= (wxIcon
*) &_result_ref
;
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9608 wxIcon
* resultptr
= new wxIcon(*result
);
9609 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9617 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9620 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9621 return SWIG_Py_Void();
9624 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9625 return SWIG_Python_InitShadowInstance(args
);
9628 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
= 0;
9630 wxString
*arg1
= 0 ;
9632 int arg3
= (int) 0 ;
9633 int arg4
= (int) 0 ;
9634 wxCursor
*result
= 0 ;
9635 bool temp1
= false ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 PyObject
* obj2
= 0 ;
9645 PyObject
* obj3
= 0 ;
9646 char * kwnames
[] = {
9647 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9652 arg1
= wxString_in_helper(obj0
);
9653 if (arg1
== NULL
) SWIG_fail
;
9656 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9657 if (!SWIG_IsOK(ecode2
)) {
9658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9660 arg2
= static_cast< long >(val2
);
9662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9663 if (!SWIG_IsOK(ecode3
)) {
9664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9666 arg3
= static_cast< int >(val3
);
9669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9670 if (!SWIG_IsOK(ecode4
)) {
9671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9673 arg4
= static_cast< int >(val4
);
9676 if (!wxPyCheckForApp()) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9697 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9698 PyObject
*resultobj
= 0;
9699 wxCursor
*arg1
= (wxCursor
*) 0 ;
9702 PyObject
*swig_obj
[1] ;
9704 if (!args
) SWIG_fail
;
9706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9707 if (!SWIG_IsOK(res1
)) {
9708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9710 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_Py_Void();
9725 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
= 0;
9728 wxCursor
*result
= 0 ;
9731 PyObject
* obj0
= 0 ;
9732 char * kwnames
[] = {
9736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9738 if (!SWIG_IsOK(ecode1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9741 arg1
= static_cast< int >(val1
);
9743 if (!wxPyCheckForApp()) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (wxCursor
*)new wxCursor(arg1
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9756 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
= 0;
9759 wxCursor
*result
= 0 ;
9762 PyObject
* obj0
= 0 ;
9763 char * kwnames
[] = {
9764 (char *) "image", NULL
9767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9768 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9769 if (!SWIG_IsOK(res1
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9775 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9777 if (!wxPyCheckForApp()) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9790 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9791 PyObject
*resultobj
= 0;
9792 wxCursor
*arg1
= (wxCursor
*) 0 ;
9796 PyObject
*swig_obj
[1] ;
9798 if (!args
) SWIG_fail
;
9800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9801 if (!SWIG_IsOK(res1
)) {
9802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9804 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (bool)(arg1
)->Ok();
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9820 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9823 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9824 return SWIG_Py_Void();
9827 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9828 return SWIG_Python_InitShadowInstance(args
);
9831 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
= 0;
9833 int arg1
= (int) 0 ;
9834 int arg2
= (int) 0 ;
9835 int arg3
= (int) 0 ;
9836 int arg4
= (int) 0 ;
9837 wxRegion
*result
= 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 PyObject
* obj2
= 0 ;
9849 PyObject
* obj3
= 0 ;
9850 char * kwnames
[] = {
9851 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9857 if (!SWIG_IsOK(ecode1
)) {
9858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9860 arg1
= static_cast< int >(val1
);
9863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9864 if (!SWIG_IsOK(ecode2
)) {
9865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9867 arg2
= static_cast< int >(val2
);
9870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9871 if (!SWIG_IsOK(ecode3
)) {
9872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9874 arg3
= static_cast< int >(val3
);
9877 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9878 if (!SWIG_IsOK(ecode4
)) {
9879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9881 arg4
= static_cast< int >(val4
);
9884 if (!wxPyCheckForApp()) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9897 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9899 wxBitmap
*arg1
= 0 ;
9900 wxRegion
*result
= 0 ;
9903 PyObject
* obj0
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "bmp", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9916 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9918 if (!wxPyCheckForApp()) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9931 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= 0;
9933 wxBitmap
*arg1
= 0 ;
9934 wxColour
*arg2
= 0 ;
9935 int arg3
= (int) 0 ;
9936 wxRegion
*result
= 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 PyObject
* obj2
= 0 ;
9945 char * kwnames
[] = {
9946 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9957 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9964 if (!SWIG_IsOK(ecode3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9967 arg3
= static_cast< int >(val3
);
9970 if (!wxPyCheckForApp()) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9983 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9986 wxPoint
*arg2
= (wxPoint
*) 0 ;
9987 int arg3
= (int) wxWINDING_RULE
;
9988 wxRegion
*result
= 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "points",(char *) "fillStyle", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9999 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10000 if (arg2
== NULL
) SWIG_fail
;
10003 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10004 if (!SWIG_IsOK(ecode3
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10007 arg3
= static_cast< int >(val3
);
10010 if (!wxPyCheckForApp()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10018 if (arg2
) delete [] arg2
;
10023 if (arg2
) delete [] arg2
;
10029 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10030 PyObject
*resultobj
= 0;
10031 wxRegion
*arg1
= (wxRegion
*) 0 ;
10034 PyObject
*swig_obj
[1] ;
10036 if (!args
) SWIG_fail
;
10037 swig_obj
[0] = args
;
10038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10042 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_Py_Void();
10057 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10058 PyObject
*resultobj
= 0;
10059 wxRegion
*arg1
= (wxRegion
*) 0 ;
10062 PyObject
*swig_obj
[1] ;
10064 if (!args
) SWIG_fail
;
10065 swig_obj
[0] = args
;
10066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10067 if (!SWIG_IsOK(res1
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10070 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_Py_Void();
10084 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
= 0;
10086 wxRegion
*arg1
= (wxRegion
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 PyObject
* obj2
= 0 ;
10099 char * kwnames
[] = {
10100 (char *) "self",(char *) "x",(char *) "y", NULL
10103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10105 if (!SWIG_IsOK(res1
)) {
10106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10108 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10110 if (!SWIG_IsOK(ecode2
)) {
10111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10113 arg2
= static_cast< int >(val2
);
10114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10115 if (!SWIG_IsOK(ecode3
)) {
10116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10118 arg3
= static_cast< int >(val3
);
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10134 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
= 0;
10136 wxRegion
*arg1
= (wxRegion
*) 0 ;
10139 wxRegionContain result
;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 PyObject
* obj2
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "self",(char *) "x",(char *) "y", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10158 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10160 if (!SWIG_IsOK(ecode2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10163 arg2
= static_cast< int >(val2
);
10164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10165 if (!SWIG_IsOK(ecode3
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10168 arg3
= static_cast< int >(val3
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_From_int(static_cast< int >(result
));
10182 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
= 0;
10184 wxRegion
*arg1
= (wxRegion
*) 0 ;
10185 wxPoint
*arg2
= 0 ;
10186 wxRegionContain result
;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "self",(char *) "pt", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10201 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_From_int(static_cast< int >(result
));
10219 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= 0;
10221 wxRegion
*arg1
= (wxRegion
*) 0 ;
10223 wxRegionContain result
;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "rect", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10238 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_From_int(static_cast< int >(result
));
10256 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxRegion
*arg1
= (wxRegion
*) 0 ;
10263 wxRegionContain result
;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 PyObject
* obj3
= 0 ;
10278 PyObject
* obj4
= 0 ;
10279 char * kwnames
[] = {
10280 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10288 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10290 if (!SWIG_IsOK(ecode2
)) {
10291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10293 arg2
= static_cast< int >(val2
);
10294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10295 if (!SWIG_IsOK(ecode3
)) {
10296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10298 arg3
= static_cast< int >(val3
);
10299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10300 if (!SWIG_IsOK(ecode4
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10303 arg4
= static_cast< int >(val4
);
10304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10305 if (!SWIG_IsOK(ecode5
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10308 arg5
= static_cast< int >(val5
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_From_int(static_cast< int >(result
));
10322 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 PyObject
*resultobj
= 0;
10324 wxRegion
*arg1
= (wxRegion
*) 0 ;
10328 PyObject
*swig_obj
[1] ;
10330 if (!args
) SWIG_fail
;
10331 swig_obj
[0] = args
;
10332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10333 if (!SWIG_IsOK(res1
)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10336 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (arg1
)->GetBox();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10350 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxRegion
*arg1
= (wxRegion
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 PyObject
* obj2
= 0 ;
10371 PyObject
* obj3
= 0 ;
10372 PyObject
* obj4
= 0 ;
10373 char * kwnames
[] = {
10374 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10382 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10384 if (!SWIG_IsOK(ecode2
)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10387 arg2
= static_cast< int >(val2
);
10388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10389 if (!SWIG_IsOK(ecode3
)) {
10390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10392 arg3
= static_cast< int >(val3
);
10393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10394 if (!SWIG_IsOK(ecode4
)) {
10395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10397 arg4
= static_cast< int >(val4
);
10398 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10399 if (!SWIG_IsOK(ecode5
)) {
10400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10402 arg5
= static_cast< int >(val5
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
= 0;
10420 wxRegion
*arg1
= (wxRegion
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char * kwnames
[] = {
10429 (char *) "self",(char *) "rect", NULL
10432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10434 if (!SWIG_IsOK(res1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10437 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10457 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
= 0;
10459 wxRegion
*arg1
= (wxRegion
*) 0 ;
10460 wxRegion
*arg2
= 0 ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 char * kwnames
[] = {
10469 (char *) "self",(char *) "region", NULL
10472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10474 if (!SWIG_IsOK(res1
)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10477 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10479 if (!SWIG_IsOK(res2
)) {
10480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10485 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10501 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10502 PyObject
*resultobj
= 0;
10503 wxRegion
*arg1
= (wxRegion
*) 0 ;
10507 PyObject
*swig_obj
[1] ;
10509 if (!args
) SWIG_fail
;
10510 swig_obj
[0] = args
;
10511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10515 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (bool)(arg1
)->IsEmpty();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10531 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
= 0;
10533 wxRegion
*arg1
= (wxRegion
*) 0 ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 PyObject
* obj2
= 0 ;
10552 PyObject
* obj3
= 0 ;
10553 PyObject
* obj4
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10563 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10565 if (!SWIG_IsOK(ecode2
)) {
10566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10568 arg2
= static_cast< int >(val2
);
10569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10570 if (!SWIG_IsOK(ecode3
)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10573 arg3
= static_cast< int >(val3
);
10574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10575 if (!SWIG_IsOK(ecode4
)) {
10576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10578 arg4
= static_cast< int >(val4
);
10579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10580 if (!SWIG_IsOK(ecode5
)) {
10581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10583 arg5
= static_cast< int >(val5
);
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10599 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
= 0;
10601 wxRegion
*arg1
= (wxRegion
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "self",(char *) "rect", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10618 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10621 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10638 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
= 0;
10640 wxRegion
*arg1
= (wxRegion
*) 0 ;
10641 wxRegion
*arg2
= 0 ;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 char * kwnames
[] = {
10650 (char *) "self",(char *) "region", NULL
10653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10658 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10660 if (!SWIG_IsOK(res2
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10666 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 PyObject
* obj3
= 0 ;
10704 PyObject
* obj4
= 0 ;
10705 char * kwnames
[] = {
10706 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10711 if (!SWIG_IsOK(res1
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10714 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10716 if (!SWIG_IsOK(ecode2
)) {
10717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10719 arg2
= static_cast< int >(val2
);
10720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10721 if (!SWIG_IsOK(ecode3
)) {
10722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10724 arg3
= static_cast< int >(val3
);
10725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10726 if (!SWIG_IsOK(ecode4
)) {
10727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10729 arg4
= static_cast< int >(val4
);
10730 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10731 if (!SWIG_IsOK(ecode5
)) {
10732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10734 arg5
= static_cast< int >(val5
);
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10750 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10752 wxRegion
*arg1
= (wxRegion
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char * kwnames
[] = {
10761 (char *) "self",(char *) "rect", NULL
10764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10769 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10772 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10789 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= 0;
10791 wxRegion
*arg1
= (wxRegion
*) 0 ;
10792 wxRegion
*arg2
= 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 char * kwnames
[] = {
10801 (char *) "self",(char *) "region", NULL
10804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10809 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10811 if (!SWIG_IsOK(res2
)) {
10812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10817 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= 0;
10835 wxRegion
*arg1
= (wxRegion
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 PyObject
* obj3
= 0 ;
10855 PyObject
* obj4
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10865 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10870 arg2
= static_cast< int >(val2
);
10871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10872 if (!SWIG_IsOK(ecode3
)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10875 arg3
= static_cast< int >(val3
);
10876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10877 if (!SWIG_IsOK(ecode4
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10880 arg4
= static_cast< int >(val4
);
10881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10882 if (!SWIG_IsOK(ecode5
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10885 arg5
= static_cast< int >(val5
);
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10901 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= 0;
10903 wxRegion
*arg1
= (wxRegion
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "rect", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10920 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10923 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10940 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
= 0;
10942 wxRegion
*arg1
= (wxRegion
*) 0 ;
10943 wxRegion
*arg2
= 0 ;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 char * kwnames
[] = {
10952 (char *) "self",(char *) "region", NULL
10955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10957 if (!SWIG_IsOK(res1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10960 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10962 if (!SWIG_IsOK(res2
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10968 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10984 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10985 PyObject
*resultobj
= 0;
10986 wxRegion
*arg1
= (wxRegion
*) 0 ;
10987 SwigValueWrapper
<wxBitmap
> result
;
10990 PyObject
*swig_obj
[1] ;
10992 if (!args
) SWIG_fail
;
10993 swig_obj
[0] = args
;
10994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10995 if (!SWIG_IsOK(res1
)) {
10996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
10998 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (arg1
)->ConvertToBitmap();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11012 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
= 0;
11014 wxRegion
*arg1
= (wxRegion
*) 0 ;
11015 wxBitmap
*arg2
= 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 char * kwnames
[] = {
11024 (char *) "self",(char *) "bmp", NULL
11027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11029 if (!SWIG_IsOK(res1
)) {
11030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11032 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11034 if (!SWIG_IsOK(res2
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11040 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
= 0;
11058 wxRegion
*arg1
= (wxRegion
*) 0 ;
11059 wxBitmap
*arg2
= 0 ;
11060 wxColour
*arg3
= 0 ;
11061 int arg4
= (int) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 PyObject
* obj3
= 0 ;
11074 char * kwnames
[] = {
11075 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11083 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11085 if (!SWIG_IsOK(res2
)) {
11086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11091 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11094 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11098 if (!SWIG_IsOK(ecode4
)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11101 arg4
= static_cast< int >(val4
);
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11118 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11121 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11122 return SWIG_Py_Void();
11125 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11126 return SWIG_Python_InitShadowInstance(args
);
11129 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
= 0;
11131 wxRegion
*arg1
= 0 ;
11132 wxRegionIterator
*result
= 0 ;
11135 PyObject
* obj0
= 0 ;
11136 char * kwnames
[] = {
11137 (char *) "region", NULL
11140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11141 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11148 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11150 if (!wxPyCheckForApp()) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11163 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11164 PyObject
*resultobj
= 0;
11165 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11168 PyObject
*swig_obj
[1] ;
11170 if (!args
) SWIG_fail
;
11171 swig_obj
[0] = args
;
11172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11176 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= SWIG_Py_Void();
11191 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11192 PyObject
*resultobj
= 0;
11193 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
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11205 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (int)(arg1
)->GetX();
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_From_int(static_cast< int >(result
));
11219 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11220 PyObject
*resultobj
= 0;
11221 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11225 PyObject
*swig_obj
[1] ;
11227 if (!args
) SWIG_fail
;
11228 swig_obj
[0] = args
;
11229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11233 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (int)(arg1
)->GetY();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_From_int(static_cast< int >(result
));
11247 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11248 PyObject
*resultobj
= 0;
11249 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11253 PyObject
*swig_obj
[1] ;
11255 if (!args
) SWIG_fail
;
11256 swig_obj
[0] = args
;
11257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11261 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (int)(arg1
)->GetW();
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_From_int(static_cast< int >(result
));
11275 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11276 PyObject
*resultobj
= 0;
11277 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11281 PyObject
*swig_obj
[1] ;
11283 if (!args
) SWIG_fail
;
11284 swig_obj
[0] = args
;
11285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11286 if (!SWIG_IsOK(res1
)) {
11287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11289 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (int)(arg1
)->GetWidth();
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= SWIG_From_int(static_cast< int >(result
));
11303 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11304 PyObject
*resultobj
= 0;
11305 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11309 PyObject
*swig_obj
[1] ;
11311 if (!args
) SWIG_fail
;
11312 swig_obj
[0] = args
;
11313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11317 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (int)(arg1
)->GetH();
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_From_int(static_cast< int >(result
));
11331 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11332 PyObject
*resultobj
= 0;
11333 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11337 PyObject
*swig_obj
[1] ;
11339 if (!args
) SWIG_fail
;
11340 swig_obj
[0] = args
;
11341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11342 if (!SWIG_IsOK(res1
)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11345 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (int)(arg1
)->GetHeight();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_From_int(static_cast< int >(result
));
11359 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11360 PyObject
*resultobj
= 0;
11361 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11365 PyObject
*swig_obj
[1] ;
11367 if (!args
) SWIG_fail
;
11368 swig_obj
[0] = args
;
11369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11370 if (!SWIG_IsOK(res1
)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11373 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (arg1
)->GetRect();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11387 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11388 PyObject
*resultobj
= 0;
11389 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11393 PyObject
*swig_obj
[1] ;
11395 if (!args
) SWIG_fail
;
11396 swig_obj
[0] = args
;
11397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11398 if (!SWIG_IsOK(res1
)) {
11399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11401 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (bool)(arg1
)->HaveRects();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11417 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 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_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11430 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_Py_Void();
11444 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11445 PyObject
*resultobj
= 0;
11446 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11449 PyObject
*swig_obj
[1] ;
11451 if (!args
) SWIG_fail
;
11452 swig_obj
[0] = args
;
11453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11454 if (!SWIG_IsOK(res1
)) {
11455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11457 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 wxRegionIterator_Next(arg1
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_Py_Void();
11471 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11472 PyObject
*resultobj
= 0;
11473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11477 PyObject
*swig_obj
[1] ;
11479 if (!args
) SWIG_fail
;
11480 swig_obj
[0] = args
;
11481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11482 if (!SWIG_IsOK(res1
)) {
11483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11485 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11501 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11504 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11505 return SWIG_Py_Void();
11508 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11509 return SWIG_Python_InitShadowInstance(args
);
11512 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11513 PyObject
*resultobj
= 0;
11514 wxNativeFontInfo
*result
= 0 ;
11516 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11530 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11531 PyObject
*resultobj
= 0;
11532 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11535 PyObject
*swig_obj
[1] ;
11537 if (!args
) SWIG_fail
;
11538 swig_obj
[0] = args
;
11539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11540 if (!SWIG_IsOK(res1
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11543 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= SWIG_Py_Void();
11558 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11559 PyObject
*resultobj
= 0;
11560 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11563 PyObject
*swig_obj
[1] ;
11565 if (!args
) SWIG_fail
;
11566 swig_obj
[0] = args
;
11567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11571 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_Py_Void();
11585 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
= 0;
11587 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char * kwnames
[] = {
11596 (char *) "self",(char *) "font", NULL
11599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11604 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11606 if (!SWIG_IsOK(res2
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11612 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_Py_Void();
11626 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11627 PyObject
*resultobj
= 0;
11628 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11632 PyObject
*swig_obj
[1] ;
11634 if (!args
) SWIG_fail
;
11635 swig_obj
[0] = args
;
11636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11637 if (!SWIG_IsOK(res1
)) {
11638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11640 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_From_int(static_cast< int >(result
));
11654 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 PyObject
*resultobj
= 0;
11656 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11657 wxFontStyle result
;
11660 PyObject
*swig_obj
[1] ;
11662 if (!args
) SWIG_fail
;
11663 swig_obj
[0] = args
;
11664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11668 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_From_int(static_cast< int >(result
));
11682 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11683 PyObject
*resultobj
= 0;
11684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11685 wxFontWeight result
;
11688 PyObject
*swig_obj
[1] ;
11690 if (!args
) SWIG_fail
;
11691 swig_obj
[0] = args
;
11692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11693 if (!SWIG_IsOK(res1
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11696 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_From_int(static_cast< int >(result
));
11710 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11711 PyObject
*resultobj
= 0;
11712 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11716 PyObject
*swig_obj
[1] ;
11718 if (!args
) SWIG_fail
;
11719 swig_obj
[0] = args
;
11720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11721 if (!SWIG_IsOK(res1
)) {
11722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11724 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11740 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11741 PyObject
*resultobj
= 0;
11742 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11746 PyObject
*swig_obj
[1] ;
11748 if (!args
) SWIG_fail
;
11749 swig_obj
[0] = args
;
11750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11754 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11774 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11775 PyObject
*resultobj
= 0;
11776 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11777 wxFontFamily result
;
11780 PyObject
*swig_obj
[1] ;
11782 if (!args
) SWIG_fail
;
11783 swig_obj
[0] = args
;
11784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11785 if (!SWIG_IsOK(res1
)) {
11786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11788 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= SWIG_From_int(static_cast< int >(result
));
11802 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11803 PyObject
*resultobj
= 0;
11804 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11805 wxFontEncoding result
;
11808 PyObject
*swig_obj
[1] ;
11810 if (!args
) SWIG_fail
;
11811 swig_obj
[0] = args
;
11812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11813 if (!SWIG_IsOK(res1
)) {
11814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11816 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_From_int(static_cast< int >(result
));
11830 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
= 0;
11832 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 char * kwnames
[] = {
11841 (char *) "self",(char *) "pointsize", NULL
11844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11849 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11851 if (!SWIG_IsOK(ecode2
)) {
11852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11854 arg2
= static_cast< int >(val2
);
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 (arg1
)->SetPointSize(arg2
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= SWIG_Py_Void();
11868 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
= 0;
11870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 char * kwnames
[] = {
11879 (char *) "self",(char *) "style", NULL
11882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11887 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11889 if (!SWIG_IsOK(ecode2
)) {
11890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11892 arg2
= static_cast< wxFontStyle
>(val2
);
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetStyle(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_Py_Void();
11906 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
= 0;
11908 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11909 wxFontWeight arg2
;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 char * kwnames
[] = {
11917 (char *) "self",(char *) "weight", NULL
11920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11922 if (!SWIG_IsOK(res1
)) {
11923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11925 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11927 if (!SWIG_IsOK(ecode2
)) {
11928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11930 arg2
= static_cast< wxFontWeight
>(val2
);
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 (arg1
)->SetWeight(arg2
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_Py_Void();
11944 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
= 0;
11946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 char * kwnames
[] = {
11955 (char *) "self",(char *) "underlined", NULL
11958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11963 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11965 if (!SWIG_IsOK(ecode2
)) {
11966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11968 arg2
= static_cast< bool >(val2
);
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 (arg1
)->SetUnderlined(arg2
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_Py_Void();
11982 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
= 0;
11984 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 PyObject
* obj1
= 0 ;
11991 char * kwnames
[] = {
11992 (char *) "self",(char *) "facename", NULL
11995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11997 if (!SWIG_IsOK(res1
)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12000 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12002 wxString
* sptr
= wxString_in_helper(obj1
);
12003 if (sptr
== NULL
) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (bool)(arg1
)->SetFaceName(arg2
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12022 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
= 0;
12024 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12025 wxFontFamily arg2
;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 char * kwnames
[] = {
12033 (char *) "self",(char *) "family", NULL
12036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12038 if (!SWIG_IsOK(res1
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12041 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12043 if (!SWIG_IsOK(ecode2
)) {
12044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12046 arg2
= static_cast< wxFontFamily
>(val2
);
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 (arg1
)->SetFamily(arg2
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_Py_Void();
12060 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12063 wxFontEncoding arg2
;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char * kwnames
[] = {
12071 (char *) "self",(char *) "encoding", NULL
12074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12079 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12081 if (!SWIG_IsOK(ecode2
)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12084 arg2
= static_cast< wxFontEncoding
>(val2
);
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->SetEncoding(arg2
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_Py_Void();
12098 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
= 0;
12100 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12101 wxString
*arg2
= 0 ;
12105 bool temp2
= false ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "self",(char *) "s", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12117 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12119 arg2
= wxString_in_helper(obj1
);
12120 if (arg2
== NULL
) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12146 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 PyObject
*resultobj
= 0;
12148 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12152 PyObject
*swig_obj
[1] ;
12154 if (!args
) SWIG_fail
;
12155 swig_obj
[0] = args
;
12156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12157 if (!SWIG_IsOK(res1
)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12160 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12180 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12181 PyObject
*resultobj
= 0;
12182 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12186 PyObject
*swig_obj
[1] ;
12188 if (!args
) SWIG_fail
;
12189 swig_obj
[0] = args
;
12190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12191 if (!SWIG_IsOK(res1
)) {
12192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12194 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= wxNativeFontInfo___str__(arg1
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12214 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
= 0;
12216 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12217 wxString
*arg2
= 0 ;
12221 bool temp2
= false ;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 char * kwnames
[] = {
12225 (char *) "self",(char *) "s", NULL
12228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12230 if (!SWIG_IsOK(res1
)) {
12231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12233 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12235 arg2
= wxString_in_helper(obj1
);
12236 if (arg2
== NULL
) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12263 PyObject
*resultobj
= 0;
12264 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12268 PyObject
*swig_obj
[1] ;
12270 if (!args
) SWIG_fail
;
12271 swig_obj
[0] = args
;
12272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12273 if (!SWIG_IsOK(res1
)) {
12274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12276 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12296 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12299 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12300 return SWIG_Py_Void();
12303 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 return SWIG_Python_InitShadowInstance(args
);
12307 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12310 wxString
*arg2
= (wxString
*) 0 ;
12313 bool temp2
= false ;
12314 PyObject
*swig_obj
[2] ;
12316 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12318 if (!SWIG_IsOK(res1
)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12321 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12323 arg2
= wxString_in_helper(swig_obj
[1]);
12324 if (arg2
== NULL
) SWIG_fail
;
12327 if (arg1
) (arg1
)->facename
= *arg2
;
12329 resultobj
= SWIG_Py_Void();
12344 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12345 PyObject
*resultobj
= 0;
12346 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12347 wxString
*result
= 0 ;
12350 PyObject
*swig_obj
[1] ;
12352 if (!args
) SWIG_fail
;
12353 swig_obj
[0] = args
;
12354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12355 if (!SWIG_IsOK(res1
)) {
12356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12358 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12359 result
= (wxString
*)& ((arg1
)->facename
);
12362 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12364 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12373 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12374 PyObject
*resultobj
= 0;
12375 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12376 wxFontEncoding arg2
;
12381 PyObject
*swig_obj
[2] ;
12383 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12388 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12389 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12390 if (!SWIG_IsOK(ecode2
)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12393 arg2
= static_cast< wxFontEncoding
>(val2
);
12394 if (arg1
) (arg1
)->encoding
= arg2
;
12396 resultobj
= SWIG_Py_Void();
12403 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 PyObject
*resultobj
= 0;
12405 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12406 wxFontEncoding result
;
12409 PyObject
*swig_obj
[1] ;
12411 if (!args
) SWIG_fail
;
12412 swig_obj
[0] = args
;
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_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12417 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12418 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12419 resultobj
= SWIG_From_int(static_cast< int >(result
));
12426 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12427 PyObject
*resultobj
= 0;
12428 wxNativeEncodingInfo
*result
= 0 ;
12430 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12444 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12445 PyObject
*resultobj
= 0;
12446 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12449 PyObject
*swig_obj
[1] ;
12451 if (!args
) SWIG_fail
;
12452 swig_obj
[0] = args
;
12453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12457 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_Py_Void();
12472 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
= 0;
12474 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12475 wxString
*arg2
= 0 ;
12479 bool temp2
= false ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char * kwnames
[] = {
12483 (char *) "self",(char *) "s", NULL
12486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12488 if (!SWIG_IsOK(res1
)) {
12489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12491 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12493 arg2
= wxString_in_helper(obj1
);
12494 if (arg2
== NULL
) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12520 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12526 PyObject
*swig_obj
[1] ;
12528 if (!args
) SWIG_fail
;
12529 swig_obj
[0] = args
;
12530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12531 if (!SWIG_IsOK(res1
)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12534 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12554 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12557 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12558 return SWIG_Py_Void();
12561 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12562 return SWIG_Python_InitShadowInstance(args
);
12565 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
= 0;
12567 wxFontEncoding arg1
;
12568 wxNativeEncodingInfo
*result
= 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char * kwnames
[] = {
12573 (char *) "encoding", NULL
12576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12578 if (!SWIG_IsOK(ecode1
)) {
12579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12581 arg1
= static_cast< wxFontEncoding
>(val1
);
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12595 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
= 0;
12597 wxNativeEncodingInfo
*arg1
= 0 ;
12601 PyObject
* obj0
= 0 ;
12602 char * kwnames
[] = {
12603 (char *) "info", NULL
12606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12607 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12608 if (!SWIG_IsOK(res1
)) {
12609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12614 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12630 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12631 PyObject
*resultobj
= 0;
12632 wxFontMapper
*result
= 0 ;
12634 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (wxFontMapper
*)new wxFontMapper();
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12648 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12649 PyObject
*resultobj
= 0;
12650 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12653 PyObject
*swig_obj
[1] ;
12655 if (!args
) SWIG_fail
;
12656 swig_obj
[0] = args
;
12657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12661 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_Py_Void();
12676 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12677 PyObject
*resultobj
= 0;
12678 wxFontMapper
*result
= 0 ;
12680 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (wxFontMapper
*)wxFontMapper::Get();
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12694 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
= 0;
12696 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12697 wxFontMapper
*result
= 0 ;
12700 PyObject
* obj0
= 0 ;
12701 char * kwnames
[] = {
12702 (char *) "mapper", NULL
12705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12707 if (!SWIG_IsOK(res1
)) {
12708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12710 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12724 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
= 0;
12726 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12727 wxString
*arg2
= 0 ;
12728 bool arg3
= (bool) true ;
12729 wxFontEncoding result
;
12732 bool temp2
= false ;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 char * kwnames
[] = {
12739 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12744 if (!SWIG_IsOK(res1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12747 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12749 arg2
= wxString_in_helper(obj1
);
12750 if (arg2
== NULL
) SWIG_fail
;
12754 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12755 if (!SWIG_IsOK(ecode3
)) {
12756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12758 arg3
= static_cast< bool >(val3
);
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= SWIG_From_int(static_cast< int >(result
));
12781 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12782 PyObject
*resultobj
= 0;
12785 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12799 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
= 0;
12802 wxFontEncoding result
;
12805 PyObject
* obj0
= 0 ;
12806 char * kwnames
[] = {
12810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12811 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12812 if (!SWIG_IsOK(ecode1
)) {
12813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12815 arg1
= static_cast< size_t >(val1
);
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_From_int(static_cast< int >(result
));
12829 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
= 0;
12831 wxFontEncoding arg1
;
12835 PyObject
* obj0
= 0 ;
12836 char * kwnames
[] = {
12837 (char *) "encoding", NULL
12840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12842 if (!SWIG_IsOK(ecode1
)) {
12843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12845 arg1
= static_cast< wxFontEncoding
>(val1
);
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= wxFontMapper::GetEncodingName(arg1
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12865 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxFontEncoding arg1
;
12871 PyObject
* obj0
= 0 ;
12872 char * kwnames
[] = {
12873 (char *) "encoding", NULL
12876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12877 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12878 if (!SWIG_IsOK(ecode1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12881 arg1
= static_cast< wxFontEncoding
>(val1
);
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= wxFontMapper::GetEncodingDescription(arg1
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12901 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
= 0;
12903 wxString
*arg1
= 0 ;
12904 wxFontEncoding result
;
12905 bool temp1
= false ;
12906 PyObject
* obj0
= 0 ;
12907 char * kwnames
[] = {
12908 (char *) "name", NULL
12911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12913 arg1
= wxString_in_helper(obj0
);
12914 if (arg1
== NULL
) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_From_int(static_cast< int >(result
));
12938 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
= 0;
12940 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12941 wxString
*arg2
= 0 ;
12944 bool temp2
= false ;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 char * kwnames
[] = {
12948 (char *) "self",(char *) "prefix", NULL
12951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12953 if (!SWIG_IsOK(res1
)) {
12954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12956 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12958 arg2
= wxString_in_helper(obj1
);
12959 if (arg2
== NULL
) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_Py_Void();
12983 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12984 PyObject
*resultobj
= 0;
12987 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= wxFontMapper::GetDefaultConfigPath();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13007 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
= 0;
13009 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13010 wxFontEncoding arg2
;
13011 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13013 bool arg4
= (bool) true ;
13014 PyObject
*result
= 0 ;
13019 bool temp3
= false ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 PyObject
* obj2
= 0 ;
13025 PyObject
* obj3
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13035 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13037 if (!SWIG_IsOK(ecode2
)) {
13038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13040 arg2
= static_cast< wxFontEncoding
>(val2
);
13043 arg3
= wxString_in_helper(obj2
);
13044 if (arg3
== NULL
) SWIG_fail
;
13049 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13050 if (!SWIG_IsOK(ecode4
)) {
13051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13053 arg4
= static_cast< bool >(val4
);
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= result
;
13076 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13079 wxFontEncoding arg2
;
13080 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13081 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13087 bool temp3
= false ;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 PyObject
* obj2
= 0 ;
13091 char * kwnames
[] = {
13092 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13097 if (!SWIG_IsOK(res1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13100 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13102 if (!SWIG_IsOK(ecode2
)) {
13103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13105 arg2
= static_cast< wxFontEncoding
>(val2
);
13108 arg3
= wxString_in_helper(obj2
);
13109 if (arg3
== NULL
) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13136 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
= 0;
13138 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13139 wxWindow
*arg2
= (wxWindow
*) 0 ;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char * kwnames
[] = {
13147 (char *) "self",(char *) "parent", NULL
13150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13155 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13157 if (!SWIG_IsOK(res2
)) {
13158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 (arg1
)->SetDialogParent(arg2
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_Py_Void();
13174 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
= 0;
13176 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13177 wxString
*arg2
= 0 ;
13180 bool temp2
= false ;
13181 PyObject
* obj0
= 0 ;
13182 PyObject
* obj1
= 0 ;
13183 char * kwnames
[] = {
13184 (char *) "self",(char *) "title", NULL
13187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13189 if (!SWIG_IsOK(res1
)) {
13190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13192 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13194 arg2
= wxString_in_helper(obj1
);
13195 if (arg2
== NULL
) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_Py_Void();
13219 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13222 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13223 return SWIG_Py_Void();
13226 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13227 return SWIG_Python_InitShadowInstance(args
);
13230 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13236 bool arg5
= (bool) false ;
13237 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13238 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13239 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13240 wxFont
*result
= 0 ;
13251 bool temp6
= false ;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 PyObject
* obj2
= 0 ;
13257 PyObject
* obj3
= 0 ;
13258 PyObject
* obj4
= 0 ;
13259 PyObject
* obj5
= 0 ;
13260 PyObject
* obj6
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13266 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13267 if (!SWIG_IsOK(ecode1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13270 arg1
= static_cast< int >(val1
);
13271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13272 if (!SWIG_IsOK(ecode2
)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13275 arg2
= static_cast< int >(val2
);
13276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13277 if (!SWIG_IsOK(ecode3
)) {
13278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13280 arg3
= static_cast< int >(val3
);
13281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13282 if (!SWIG_IsOK(ecode4
)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13285 arg4
= static_cast< int >(val4
);
13287 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13288 if (!SWIG_IsOK(ecode5
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13291 arg5
= static_cast< bool >(val5
);
13295 arg6
= wxString_in_helper(obj5
);
13296 if (arg6
== NULL
) SWIG_fail
;
13301 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13302 if (!SWIG_IsOK(ecode7
)) {
13303 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13305 arg7
= static_cast< wxFontEncoding
>(val7
);
13308 if (!wxPyCheckForApp()) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13329 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13331 wxFont
*arg1
= (wxFont
*) 0 ;
13334 PyObject
*swig_obj
[1] ;
13336 if (!args
) SWIG_fail
;
13337 swig_obj
[0] = args
;
13338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13339 if (!SWIG_IsOK(res1
)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13342 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= SWIG_Py_Void();
13357 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
= 0;
13359 wxNativeFontInfo
*arg1
= 0 ;
13360 wxFont
*result
= 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char * kwnames
[] = {
13365 (char *) "info", NULL
13368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13369 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13370 if (!SWIG_IsOK(res1
)) {
13371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13376 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13378 if (!wxPyCheckForApp()) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13391 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= 0;
13393 wxString
*arg1
= 0 ;
13394 wxFont
*result
= 0 ;
13395 bool temp1
= false ;
13396 PyObject
* obj0
= 0 ;
13397 char * kwnames
[] = {
13398 (char *) "info", NULL
13401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13403 arg1
= wxString_in_helper(obj0
);
13404 if (arg1
== NULL
) SWIG_fail
;
13408 if (!wxPyCheckForApp()) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13429 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
= 0;
13432 wxFontFamily arg2
;
13433 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13434 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13435 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13436 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13437 wxFont
*result
= 0 ;
13444 bool temp4
= false ;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 PyObject
* obj2
= 0 ;
13450 PyObject
* obj3
= 0 ;
13451 PyObject
* obj4
= 0 ;
13452 char * kwnames
[] = {
13453 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13457 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13458 if (!SWIG_IsOK(ecode1
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13461 arg1
= static_cast< int >(val1
);
13462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13463 if (!SWIG_IsOK(ecode2
)) {
13464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13466 arg2
= static_cast< wxFontFamily
>(val2
);
13468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13469 if (!SWIG_IsOK(ecode3
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13472 arg3
= static_cast< int >(val3
);
13476 arg4
= wxString_in_helper(obj3
);
13477 if (arg4
== NULL
) SWIG_fail
;
13482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13483 if (!SWIG_IsOK(ecode5
)) {
13484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13486 arg5
= static_cast< wxFontEncoding
>(val5
);
13489 if (!wxPyCheckForApp()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13510 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
= 0;
13516 bool arg5
= (bool) false ;
13517 wxString
const &arg6_defvalue
= wxEmptyString
;
13518 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13519 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13520 wxFont
*result
= 0 ;
13530 bool temp6
= false ;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 PyObject
* obj2
= 0 ;
13536 PyObject
* obj3
= 0 ;
13537 PyObject
* obj4
= 0 ;
13538 PyObject
* obj5
= 0 ;
13539 PyObject
* obj6
= 0 ;
13540 char * kwnames
[] = {
13541 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13547 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13550 if (!SWIG_IsOK(ecode2
)) {
13551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13553 arg2
= static_cast< int >(val2
);
13554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13555 if (!SWIG_IsOK(ecode3
)) {
13556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13558 arg3
= static_cast< int >(val3
);
13559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13560 if (!SWIG_IsOK(ecode4
)) {
13561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13563 arg4
= static_cast< int >(val4
);
13565 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13566 if (!SWIG_IsOK(ecode5
)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13569 arg5
= static_cast< bool >(val5
);
13573 arg6
= wxString_in_helper(obj5
);
13574 if (arg6
== NULL
) SWIG_fail
;
13579 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13580 if (!SWIG_IsOK(ecode7
)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13583 arg7
= static_cast< wxFontEncoding
>(val7
);
13586 if (!wxPyCheckForApp()) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13607 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
= 0;
13610 wxFontFamily arg2
;
13611 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13612 wxString
const &arg4_defvalue
= wxEmptyString
;
13613 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13614 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13615 wxFont
*result
= 0 ;
13621 bool temp4
= false ;
13624 PyObject
* obj0
= 0 ;
13625 PyObject
* obj1
= 0 ;
13626 PyObject
* obj2
= 0 ;
13627 PyObject
* obj3
= 0 ;
13628 PyObject
* obj4
= 0 ;
13629 char * kwnames
[] = {
13630 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13636 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13639 if (!SWIG_IsOK(ecode2
)) {
13640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13642 arg2
= static_cast< wxFontFamily
>(val2
);
13644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13645 if (!SWIG_IsOK(ecode3
)) {
13646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13648 arg3
= static_cast< int >(val3
);
13652 arg4
= wxString_in_helper(obj3
);
13653 if (arg4
== NULL
) SWIG_fail
;
13658 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13659 if (!SWIG_IsOK(ecode5
)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13662 arg5
= static_cast< wxFontEncoding
>(val5
);
13665 if (!wxPyCheckForApp()) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13686 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13687 PyObject
*resultobj
= 0;
13688 wxFont
*arg1
= (wxFont
*) 0 ;
13692 PyObject
*swig_obj
[1] ;
13694 if (!args
) SWIG_fail
;
13695 swig_obj
[0] = args
;
13696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13700 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= (bool)((wxFont
const *)arg1
)->Ok();
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13716 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
= 0;
13718 wxFont
*arg1
= (wxFont
*) 0 ;
13719 wxFont
*arg2
= (wxFont
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char * kwnames
[] = {
13728 (char *) "self",(char *) "other", NULL
13731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13736 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13738 if (!SWIG_IsOK(res2
)) {
13739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13741 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13757 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
= 0;
13759 wxFont
*arg1
= (wxFont
*) 0 ;
13760 wxFont
*arg2
= (wxFont
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 PyObject
* obj1
= 0 ;
13768 char * kwnames
[] = {
13769 (char *) "self",(char *) "other", NULL
13772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13774 if (!SWIG_IsOK(res1
)) {
13775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13777 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13779 if (!SWIG_IsOK(res2
)) {
13780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13782 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13798 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13799 PyObject
*resultobj
= 0;
13800 wxFont
*arg1
= (wxFont
*) 0 ;
13804 PyObject
*swig_obj
[1] ;
13806 if (!args
) SWIG_fail
;
13807 swig_obj
[0] = args
;
13808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13809 if (!SWIG_IsOK(res1
)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13812 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_From_int(static_cast< int >(result
));
13826 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13827 PyObject
*resultobj
= 0;
13828 wxFont
*arg1
= (wxFont
*) 0 ;
13832 PyObject
*swig_obj
[1] ;
13834 if (!args
) SWIG_fail
;
13835 swig_obj
[0] = args
;
13836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13837 if (!SWIG_IsOK(res1
)) {
13838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13840 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13854 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13855 PyObject
*resultobj
= 0;
13856 wxFont
*arg1
= (wxFont
*) 0 ;
13860 PyObject
*swig_obj
[1] ;
13862 if (!args
) SWIG_fail
;
13863 swig_obj
[0] = args
;
13864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13865 if (!SWIG_IsOK(res1
)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13868 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13884 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13885 PyObject
*resultobj
= 0;
13886 wxFont
*arg1
= (wxFont
*) 0 ;
13890 PyObject
*swig_obj
[1] ;
13892 if (!args
) SWIG_fail
;
13893 swig_obj
[0] = args
;
13894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13895 if (!SWIG_IsOK(res1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13898 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_From_int(static_cast< int >(result
));
13912 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13913 PyObject
*resultobj
= 0;
13914 wxFont
*arg1
= (wxFont
*) 0 ;
13918 PyObject
*swig_obj
[1] ;
13920 if (!args
) SWIG_fail
;
13921 swig_obj
[0] = args
;
13922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13923 if (!SWIG_IsOK(res1
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13926 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_From_int(static_cast< int >(result
));
13940 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13941 PyObject
*resultobj
= 0;
13942 wxFont
*arg1
= (wxFont
*) 0 ;
13946 PyObject
*swig_obj
[1] ;
13948 if (!args
) SWIG_fail
;
13949 swig_obj
[0] = args
;
13950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13951 if (!SWIG_IsOK(res1
)) {
13952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13954 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_From_int(static_cast< int >(result
));
13968 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13969 PyObject
*resultobj
= 0;
13970 wxFont
*arg1
= (wxFont
*) 0 ;
13974 PyObject
*swig_obj
[1] ;
13976 if (!args
) SWIG_fail
;
13977 swig_obj
[0] = args
;
13978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13979 if (!SWIG_IsOK(res1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
13982 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13999 PyObject
*resultobj
= 0;
14000 wxFont
*arg1
= (wxFont
*) 0 ;
14004 PyObject
*swig_obj
[1] ;
14006 if (!args
) SWIG_fail
;
14007 swig_obj
[0] = args
;
14008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14009 if (!SWIG_IsOK(res1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14012 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= ((wxFont
const *)arg1
)->GetFaceName();
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14032 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14033 PyObject
*resultobj
= 0;
14034 wxFont
*arg1
= (wxFont
*) 0 ;
14035 wxFontEncoding result
;
14038 PyObject
*swig_obj
[1] ;
14040 if (!args
) SWIG_fail
;
14041 swig_obj
[0] = args
;
14042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14043 if (!SWIG_IsOK(res1
)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14046 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_From_int(static_cast< int >(result
));
14060 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14061 PyObject
*resultobj
= 0;
14062 wxFont
*arg1
= (wxFont
*) 0 ;
14063 wxNativeFontInfo
*result
= 0 ;
14066 PyObject
*swig_obj
[1] ;
14068 if (!args
) SWIG_fail
;
14069 swig_obj
[0] = args
;
14070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14071 if (!SWIG_IsOK(res1
)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14074 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14088 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14089 PyObject
*resultobj
= 0;
14090 wxFont
*arg1
= (wxFont
*) 0 ;
14094 PyObject
*swig_obj
[1] ;
14096 if (!args
) SWIG_fail
;
14097 swig_obj
[0] = args
;
14098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14099 if (!SWIG_IsOK(res1
)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14102 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14118 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14119 PyObject
*resultobj
= 0;
14120 wxFont
*arg1
= (wxFont
*) 0 ;
14124 PyObject
*swig_obj
[1] ;
14126 if (!args
) SWIG_fail
;
14127 swig_obj
[0] = args
;
14128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14129 if (!SWIG_IsOK(res1
)) {
14130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14132 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14152 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14153 PyObject
*resultobj
= 0;
14154 wxFont
*arg1
= (wxFont
*) 0 ;
14158 PyObject
*swig_obj
[1] ;
14160 if (!args
) SWIG_fail
;
14161 swig_obj
[0] = args
;
14162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14163 if (!SWIG_IsOK(res1
)) {
14164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14166 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14186 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
= 0;
14188 wxFont
*arg1
= (wxFont
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 char * kwnames
[] = {
14197 (char *) "self",(char *) "pointSize", NULL
14200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14202 if (!SWIG_IsOK(res1
)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14205 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14207 if (!SWIG_IsOK(ecode2
)) {
14208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14210 arg2
= static_cast< int >(val2
);
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 (arg1
)->SetPointSize(arg2
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_Py_Void();
14224 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
= 0;
14226 wxFont
*arg1
= (wxFont
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 PyObject
* obj1
= 0 ;
14233 char * kwnames
[] = {
14234 (char *) "self",(char *) "pixelSize", NULL
14237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14242 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14245 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_Py_Void();
14260 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
= 0;
14262 wxFont
*arg1
= (wxFont
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 PyObject
* obj1
= 0 ;
14270 char * kwnames
[] = {
14271 (char *) "self",(char *) "family", NULL
14274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14276 if (!SWIG_IsOK(res1
)) {
14277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14279 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14281 if (!SWIG_IsOK(ecode2
)) {
14282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14284 arg2
= static_cast< int >(val2
);
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 (arg1
)->SetFamily(arg2
);
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= SWIG_Py_Void();
14298 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
= 0;
14300 wxFont
*arg1
= (wxFont
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char * kwnames
[] = {
14309 (char *) "self",(char *) "style", NULL
14312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14314 if (!SWIG_IsOK(res1
)) {
14315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14317 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14319 if (!SWIG_IsOK(ecode2
)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14322 arg2
= static_cast< int >(val2
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 (arg1
)->SetStyle(arg2
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_Py_Void();
14336 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
= 0;
14338 wxFont
*arg1
= (wxFont
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 char * kwnames
[] = {
14347 (char *) "self",(char *) "weight", NULL
14350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14352 if (!SWIG_IsOK(res1
)) {
14353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14355 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14357 if (!SWIG_IsOK(ecode2
)) {
14358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14360 arg2
= static_cast< int >(val2
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 (arg1
)->SetWeight(arg2
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_Py_Void();
14374 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
= 0;
14376 wxFont
*arg1
= (wxFont
*) 0 ;
14377 wxString
*arg2
= 0 ;
14381 bool temp2
= false ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char * kwnames
[] = {
14385 (char *) "self",(char *) "faceName", NULL
14388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14393 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14395 arg2
= wxString_in_helper(obj1
);
14396 if (arg2
== NULL
) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14422 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
= 0;
14424 wxFont
*arg1
= (wxFont
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 char * kwnames
[] = {
14433 (char *) "self",(char *) "underlined", NULL
14436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14438 if (!SWIG_IsOK(res1
)) {
14439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14441 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14443 if (!SWIG_IsOK(ecode2
)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14446 arg2
= static_cast< bool >(val2
);
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 (arg1
)->SetUnderlined(arg2
);
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_Py_Void();
14460 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
= 0;
14462 wxFont
*arg1
= (wxFont
*) 0 ;
14463 wxFontEncoding arg2
;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 char * kwnames
[] = {
14471 (char *) "self",(char *) "encoding", NULL
14474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14476 if (!SWIG_IsOK(res1
)) {
14477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14479 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14481 if (!SWIG_IsOK(ecode2
)) {
14482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14484 arg2
= static_cast< wxFontEncoding
>(val2
);
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 (arg1
)->SetEncoding(arg2
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= SWIG_Py_Void();
14498 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
= 0;
14500 wxFont
*arg1
= (wxFont
*) 0 ;
14501 wxNativeFontInfo
*arg2
= 0 ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char * kwnames
[] = {
14509 (char *) "self",(char *) "info", NULL
14512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14514 if (!SWIG_IsOK(res1
)) {
14515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14517 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14519 if (!SWIG_IsOK(res2
)) {
14520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14525 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_Py_Void();
14539 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
= 0;
14541 wxFont
*arg1
= (wxFont
*) 0 ;
14542 wxString
*arg2
= 0 ;
14546 bool temp2
= false ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char * kwnames
[] = {
14550 (char *) "self",(char *) "info", NULL
14553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14558 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14560 arg2
= wxString_in_helper(obj1
);
14561 if (arg2
== NULL
) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14587 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
= 0;
14589 wxFont
*arg1
= (wxFont
*) 0 ;
14590 wxString
*arg2
= 0 ;
14594 bool temp2
= false ;
14595 PyObject
* obj0
= 0 ;
14596 PyObject
* obj1
= 0 ;
14597 char * kwnames
[] = {
14598 (char *) "self",(char *) "info", NULL
14601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14606 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14608 arg2
= wxString_in_helper(obj1
);
14609 if (arg2
== NULL
) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14635 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14636 PyObject
*resultobj
= 0;
14637 wxFont
*arg1
= (wxFont
*) 0 ;
14641 PyObject
*swig_obj
[1] ;
14643 if (!args
) SWIG_fail
;
14644 swig_obj
[0] = args
;
14645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14646 if (!SWIG_IsOK(res1
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14669 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14670 PyObject
*resultobj
= 0;
14671 wxFont
*arg1
= (wxFont
*) 0 ;
14675 PyObject
*swig_obj
[1] ;
14677 if (!args
) SWIG_fail
;
14678 swig_obj
[0] = args
;
14679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14680 if (!SWIG_IsOK(res1
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14683 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= ((wxFont
const *)arg1
)->GetStyleString();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14703 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14704 PyObject
*resultobj
= 0;
14705 wxFont
*arg1
= (wxFont
*) 0 ;
14709 PyObject
*swig_obj
[1] ;
14711 if (!args
) SWIG_fail
;
14712 swig_obj
[0] = args
;
14713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14714 if (!SWIG_IsOK(res1
)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14717 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= ((wxFont
const *)arg1
)->GetWeightString();
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14737 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
= 0;
14739 wxFont
*arg1
= (wxFont
*) 0 ;
14740 bool arg2
= (bool) true ;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 char * kwnames
[] = {
14748 (char *) "self",(char *) "no", NULL
14751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14753 if (!SWIG_IsOK(res1
)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14756 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14759 if (!SWIG_IsOK(ecode2
)) {
14760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14762 arg2
= static_cast< bool >(val2
);
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 (arg1
)->SetNoAntiAliasing(arg2
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_Py_Void();
14777 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14778 PyObject
*resultobj
= 0;
14779 wxFont
*arg1
= (wxFont
*) 0 ;
14783 PyObject
*swig_obj
[1] ;
14785 if (!args
) SWIG_fail
;
14786 swig_obj
[0] = args
;
14787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14788 if (!SWIG_IsOK(res1
)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14791 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14807 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14808 PyObject
*resultobj
= 0;
14809 wxFontEncoding result
;
14811 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14813 if (!wxPyCheckForApp()) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= SWIG_From_int(static_cast< int >(result
));
14826 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
= 0;
14828 wxFontEncoding arg1
;
14831 PyObject
* obj0
= 0 ;
14832 char * kwnames
[] = {
14833 (char *) "encoding", NULL
14836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14837 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14838 if (!SWIG_IsOK(ecode1
)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14841 arg1
= static_cast< wxFontEncoding
>(val1
);
14843 if (!wxPyCheckForApp()) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 wxFont::SetDefaultEncoding(arg1
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_Py_Void();
14856 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14859 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14860 return SWIG_Py_Void();
14863 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14864 return SWIG_Python_InitShadowInstance(args
);
14867 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14868 PyObject
*resultobj
= 0;
14869 wxPyFontEnumerator
*result
= 0 ;
14871 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14873 if (!wxPyCheckForApp()) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14886 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14887 PyObject
*resultobj
= 0;
14888 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14891 PyObject
*swig_obj
[1] ;
14893 if (!args
) SWIG_fail
;
14894 swig_obj
[0] = args
;
14895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14896 if (!SWIG_IsOK(res1
)) {
14897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14899 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= SWIG_Py_Void();
14914 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
= 0;
14916 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14917 PyObject
*arg2
= (PyObject
*) 0 ;
14918 PyObject
*arg3
= (PyObject
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 PyObject
* obj2
= 0 ;
14927 PyObject
* obj3
= 0 ;
14928 char * kwnames
[] = {
14929 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14937 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14940 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14941 if (!SWIG_IsOK(ecode4
)) {
14942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14944 arg4
= static_cast< bool >(val4
);
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_Py_Void();
14958 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= 0;
14960 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14961 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14962 bool arg3
= (bool) false ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 PyObject
* obj2
= 0 ;
14973 char * kwnames
[] = {
14974 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
14977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14979 if (!SWIG_IsOK(res1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14982 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14985 if (!SWIG_IsOK(ecode2
)) {
14986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14988 arg2
= static_cast< wxFontEncoding
>(val2
);
14991 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14992 if (!SWIG_IsOK(ecode3
)) {
14993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
14995 arg3
= static_cast< bool >(val3
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15012 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
= 0;
15014 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15015 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15016 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15020 bool temp2
= false ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "self",(char *) "facename", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15032 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15035 arg2
= wxString_in_helper(obj1
);
15036 if (arg2
== NULL
) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15063 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15064 PyObject
*resultobj
= 0;
15065 PyObject
*result
= 0 ;
15067 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= result
;
15081 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15082 PyObject
*resultobj
= 0;
15083 PyObject
*result
= 0 ;
15085 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= result
;
15099 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
= 0;
15101 wxString
*arg1
= 0 ;
15103 bool temp1
= false ;
15104 PyObject
* obj0
= 0 ;
15105 char * kwnames
[] = {
15106 (char *) "str", NULL
15109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15111 arg1
= wxString_in_helper(obj0
);
15112 if (arg1
== NULL
) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15138 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15142 return SWIG_Py_Void();
15145 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15146 return SWIG_Python_InitShadowInstance(args
);
15149 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15150 PyObject
*resultobj
= 0;
15151 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15157 PyObject
*swig_obj
[2] ;
15159 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15161 if (!SWIG_IsOK(res1
)) {
15162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15164 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15165 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15166 if (!SWIG_IsOK(ecode2
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15169 arg2
= static_cast< int >(val2
);
15170 if (arg1
) (arg1
)->Language
= arg2
;
15172 resultobj
= SWIG_Py_Void();
15179 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15180 PyObject
*resultobj
= 0;
15181 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15185 PyObject
*swig_obj
[1] ;
15187 if (!args
) SWIG_fail
;
15188 swig_obj
[0] = args
;
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_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15193 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15194 result
= (int) ((arg1
)->Language
);
15195 resultobj
= SWIG_From_int(static_cast< int >(result
));
15202 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15203 PyObject
*resultobj
= 0;
15204 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15205 wxString
*arg2
= (wxString
*) 0 ;
15208 bool temp2
= false ;
15209 PyObject
*swig_obj
[2] ;
15211 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15213 if (!SWIG_IsOK(res1
)) {
15214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15216 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15218 arg2
= wxString_in_helper(swig_obj
[1]);
15219 if (arg2
== NULL
) SWIG_fail
;
15222 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15224 resultobj
= SWIG_Py_Void();
15239 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15240 PyObject
*resultobj
= 0;
15241 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15242 wxString
*result
= 0 ;
15245 PyObject
*swig_obj
[1] ;
15247 if (!args
) SWIG_fail
;
15248 swig_obj
[0] = args
;
15249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15250 if (!SWIG_IsOK(res1
)) {
15251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15253 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15254 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15268 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 PyObject
*resultobj
= 0;
15270 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15271 wxString
*arg2
= (wxString
*) 0 ;
15274 bool temp2
= false ;
15275 PyObject
*swig_obj
[2] ;
15277 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
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_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15282 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15284 arg2
= wxString_in_helper(swig_obj
[1]);
15285 if (arg2
== NULL
) SWIG_fail
;
15288 if (arg1
) (arg1
)->Description
= *arg2
;
15290 resultobj
= SWIG_Py_Void();
15305 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15306 PyObject
*resultobj
= 0;
15307 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15308 wxString
*result
= 0 ;
15311 PyObject
*swig_obj
[1] ;
15313 if (!args
) SWIG_fail
;
15314 swig_obj
[0] = args
;
15315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15316 if (!SWIG_IsOK(res1
)) {
15317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15319 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15320 result
= (wxString
*)& ((arg1
)->Description
);
15323 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15325 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15334 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15337 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15338 return SWIG_Py_Void();
15341 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
= 0;
15343 int arg1
= (int) -1 ;
15344 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15345 wxLocale
*result
= 0 ;
15350 PyObject
* obj0
= 0 ;
15351 PyObject
* obj1
= 0 ;
15352 char * kwnames
[] = {
15353 (char *) "language",(char *) "flags", NULL
15356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15359 if (!SWIG_IsOK(ecode1
)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15362 arg1
= static_cast< int >(val1
);
15365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15366 if (!SWIG_IsOK(ecode2
)) {
15367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15369 arg2
= static_cast< int >(val2
);
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15384 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15385 PyObject
*resultobj
= 0;
15386 wxLocale
*arg1
= (wxLocale
*) 0 ;
15389 PyObject
*swig_obj
[1] ;
15391 if (!args
) SWIG_fail
;
15392 swig_obj
[0] = args
;
15393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15397 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_Py_Void();
15412 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
= 0;
15414 wxLocale
*arg1
= (wxLocale
*) 0 ;
15415 wxString
*arg2
= 0 ;
15416 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15417 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15418 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15419 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15420 bool arg5
= (bool) true ;
15421 bool arg6
= (bool) false ;
15425 bool temp2
= false ;
15426 bool temp3
= false ;
15427 bool temp4
= false ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 PyObject
* obj3
= 0 ;
15436 PyObject
* obj4
= 0 ;
15437 PyObject
* obj5
= 0 ;
15438 char * kwnames
[] = {
15439 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15447 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15449 arg2
= wxString_in_helper(obj1
);
15450 if (arg2
== NULL
) SWIG_fail
;
15455 arg3
= wxString_in_helper(obj2
);
15456 if (arg3
== NULL
) SWIG_fail
;
15462 arg4
= wxString_in_helper(obj3
);
15463 if (arg4
== NULL
) SWIG_fail
;
15468 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15469 if (!SWIG_IsOK(ecode5
)) {
15470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15472 arg5
= static_cast< bool >(val5
);
15475 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15476 if (!SWIG_IsOK(ecode6
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15479 arg6
= static_cast< bool >(val6
);
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15520 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
= 0;
15522 wxLocale
*arg1
= (wxLocale
*) 0 ;
15523 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15524 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 PyObject
* obj2
= 0 ;
15535 char * kwnames
[] = {
15536 (char *) "self",(char *) "language",(char *) "flags", NULL
15539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15544 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15547 if (!SWIG_IsOK(ecode2
)) {
15548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15550 arg2
= static_cast< int >(val2
);
15553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15554 if (!SWIG_IsOK(ecode3
)) {
15555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15557 arg3
= static_cast< int >(val3
);
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15574 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15575 PyObject
*resultobj
= 0;
15578 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (int)wxLocale::GetSystemLanguage();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= SWIG_From_int(static_cast< int >(result
));
15592 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15593 PyObject
*resultobj
= 0;
15594 wxFontEncoding result
;
15596 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= SWIG_From_int(static_cast< int >(result
));
15610 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15611 PyObject
*resultobj
= 0;
15614 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= wxLocale::GetSystemEncodingName();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15634 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15635 PyObject
*resultobj
= 0;
15636 wxLocale
*arg1
= (wxLocale
*) 0 ;
15640 PyObject
*swig_obj
[1] ;
15642 if (!args
) SWIG_fail
;
15643 swig_obj
[0] = args
;
15644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15648 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15664 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15665 PyObject
*resultobj
= 0;
15666 wxLocale
*arg1
= (wxLocale
*) 0 ;
15670 PyObject
*swig_obj
[1] ;
15672 if (!args
) SWIG_fail
;
15673 swig_obj
[0] = args
;
15674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15675 if (!SWIG_IsOK(res1
)) {
15676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15678 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= ((wxLocale
const *)arg1
)->GetLocale();
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15698 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 PyObject
*resultobj
= 0;
15700 wxLocale
*arg1
= (wxLocale
*) 0 ;
15704 PyObject
*swig_obj
[1] ;
15706 if (!args
) SWIG_fail
;
15707 swig_obj
[0] = args
;
15708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15709 if (!SWIG_IsOK(res1
)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15712 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= SWIG_From_int(static_cast< int >(result
));
15726 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15727 PyObject
*resultobj
= 0;
15728 wxLocale
*arg1
= (wxLocale
*) 0 ;
15732 PyObject
*swig_obj
[1] ;
15734 if (!args
) SWIG_fail
;
15735 swig_obj
[0] = args
;
15736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15740 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= ((wxLocale
const *)arg1
)->GetSysName();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15760 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 PyObject
*resultobj
= 0;
15762 wxLocale
*arg1
= (wxLocale
*) 0 ;
15766 PyObject
*swig_obj
[1] ;
15768 if (!args
) SWIG_fail
;
15769 swig_obj
[0] = args
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15774 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15794 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
= 0;
15796 wxString
*arg1
= 0 ;
15797 bool temp1
= false ;
15798 PyObject
* obj0
= 0 ;
15799 char * kwnames
[] = {
15800 (char *) "prefix", NULL
15803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15805 arg1
= wxString_in_helper(obj0
);
15806 if (arg1
== NULL
) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_Py_Void();
15830 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= 0;
15832 wxLocale
*arg1
= (wxLocale
*) 0 ;
15833 wxString
*arg2
= 0 ;
15837 bool temp2
= false ;
15838 PyObject
* obj0
= 0 ;
15839 PyObject
* obj1
= 0 ;
15840 char * kwnames
[] = {
15841 (char *) "self",(char *) "szDomain", NULL
15844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15846 if (!SWIG_IsOK(res1
)) {
15847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15849 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15851 arg2
= wxString_in_helper(obj1
);
15852 if (arg2
== NULL
) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15878 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
= 0;
15884 PyObject
* obj0
= 0 ;
15885 char * kwnames
[] = {
15886 (char *) "lang", NULL
15889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
15890 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15891 if (!SWIG_IsOK(ecode1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
15894 arg1
= static_cast< int >(val1
);
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (bool)wxLocale::IsAvailable(arg1
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15910 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
= 0;
15912 wxLocale
*arg1
= (wxLocale
*) 0 ;
15913 wxString
*arg2
= 0 ;
15917 bool temp2
= false ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char * kwnames
[] = {
15921 (char *) "self",(char *) "szDomain", NULL
15924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15926 if (!SWIG_IsOK(res1
)) {
15927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15929 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15931 arg2
= wxString_in_helper(obj1
);
15932 if (arg2
== NULL
) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15958 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
= 0;
15961 wxLanguageInfo
*result
= 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char * kwnames
[] = {
15966 (char *) "lang", NULL
15969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15971 if (!SWIG_IsOK(ecode1
)) {
15972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
15974 arg1
= static_cast< int >(val1
);
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15988 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
= 0;
15994 PyObject
* obj0
= 0 ;
15995 char * kwnames
[] = {
15996 (char *) "lang", NULL
15999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16001 if (!SWIG_IsOK(ecode1
)) {
16002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16004 arg1
= static_cast< int >(val1
);
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 result
= wxLocale::GetLanguageName(arg1
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16024 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
= 0;
16026 wxString
*arg1
= 0 ;
16027 wxLanguageInfo
*result
= 0 ;
16028 bool temp1
= false ;
16029 PyObject
* obj0
= 0 ;
16030 char * kwnames
[] = {
16031 (char *) "locale", NULL
16034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16036 arg1
= wxString_in_helper(obj0
);
16037 if (arg1
== NULL
) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16061 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
= 0;
16063 wxLanguageInfo
*arg1
= 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char * kwnames
[] = {
16068 (char *) "info", NULL
16071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16072 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16073 if (!SWIG_IsOK(res1
)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16079 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_Py_Void();
16093 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
= 0;
16095 wxLocale
*arg1
= (wxLocale
*) 0 ;
16096 wxString
*arg2
= 0 ;
16097 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16098 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16102 bool temp2
= false ;
16103 bool temp3
= false ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 PyObject
* obj2
= 0 ;
16107 char * kwnames
[] = {
16108 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16113 if (!SWIG_IsOK(res1
)) {
16114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16116 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16118 arg2
= wxString_in_helper(obj1
);
16119 if (arg2
== NULL
) SWIG_fail
;
16124 arg3
= wxString_in_helper(obj2
);
16125 if (arg3
== NULL
) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16164 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16165 PyObject
*resultobj
= 0;
16166 wxLocale
*arg1
= (wxLocale
*) 0 ;
16167 wxString
*result
= 0 ;
16170 PyObject
*swig_obj
[1] ;
16172 if (!args
) SWIG_fail
;
16173 swig_obj
[0] = args
;
16174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16175 if (!SWIG_IsOK(res1
)) {
16176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16178 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16183 result
= (wxString
*) &_result_ref
;
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16192 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16201 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16204 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16205 return SWIG_Py_Void();
16208 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16209 return SWIG_Python_InitShadowInstance(args
);
16212 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
= 0;
16214 int arg1
= (int) -1 ;
16215 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16216 wxPyLocale
*result
= 0 ;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 char * kwnames
[] = {
16224 (char *) "language",(char *) "flags", NULL
16227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16230 if (!SWIG_IsOK(ecode1
)) {
16231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16233 arg1
= static_cast< int >(val1
);
16236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16237 if (!SWIG_IsOK(ecode2
)) {
16238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16240 arg2
= static_cast< int >(val2
);
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16255 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16256 PyObject
*resultobj
= 0;
16257 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16260 PyObject
*swig_obj
[1] ;
16262 if (!args
) SWIG_fail
;
16263 swig_obj
[0] = args
;
16264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16265 if (!SWIG_IsOK(res1
)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16268 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= SWIG_Py_Void();
16283 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
= 0;
16285 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16286 PyObject
*arg2
= (PyObject
*) 0 ;
16287 PyObject
*arg3
= (PyObject
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 PyObject
* obj2
= 0 ;
16293 char * kwnames
[] = {
16294 (char *) "self",(char *) "self",(char *) "_class", NULL
16297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16302 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_Py_Void();
16318 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16320 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16321 wxChar
*arg2
= (wxChar
*) 0 ;
16322 wxChar
*arg3
= (wxChar
*) NULL
;
16323 wxChar
*result
= 0 ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 PyObject
* obj2
= 0 ;
16333 char * kwnames
[] = {
16334 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16339 if (!SWIG_IsOK(res1
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16342 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16344 if (!SWIG_IsOK(res2
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16347 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16349 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16350 if (!SWIG_IsOK(res3
)) {
16351 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16353 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16368 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
= 0;
16370 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16371 wxChar
*arg2
= (wxChar
*) 0 ;
16372 wxChar
*arg3
= (wxChar
*) 0 ;
16374 wxChar
*arg5
= (wxChar
*) NULL
;
16375 wxChar
*result
= 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 PyObject
* obj2
= 0 ;
16389 PyObject
* obj3
= 0 ;
16390 PyObject
* obj4
= 0 ;
16391 char * kwnames
[] = {
16392 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16397 if (!SWIG_IsOK(res1
)) {
16398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16400 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16402 if (!SWIG_IsOK(res2
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16405 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16406 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16407 if (!SWIG_IsOK(res3
)) {
16408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16410 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16411 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16412 if (!SWIG_IsOK(ecode4
)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16415 arg4
= static_cast< size_t >(val4
);
16417 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16418 if (!SWIG_IsOK(res5
)) {
16419 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16421 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16436 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16439 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16440 return SWIG_Py_Void();
16443 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16444 return SWIG_Python_InitShadowInstance(args
);
16447 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16448 PyObject
*resultobj
= 0;
16449 wxLocale
*result
= 0 ;
16451 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (wxLocale
*)wxGetLocale();
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16465 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16466 PyObject
*resultobj
= 0;
16467 wxString
*arg1
= 0 ;
16469 bool temp1
= false ;
16471 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16473 arg1
= wxString_in_helper(swig_obj
[0]);
16474 if (arg1
== NULL
) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= wxGetTranslation((wxString
const &)*arg1
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16504 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16505 PyObject
*resultobj
= 0;
16506 wxString
*arg1
= 0 ;
16507 wxString
*arg2
= 0 ;
16509 bool temp1
= false ;
16510 bool temp2
= false ;
16512 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16514 arg1
= wxString_in_helper(swig_obj
[0]);
16515 if (arg1
== NULL
) SWIG_fail
;
16519 arg2
= wxString_in_helper(swig_obj
[1]);
16520 if (arg2
== NULL
) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16558 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16559 PyObject
*resultobj
= 0;
16560 wxString
*arg1
= 0 ;
16561 wxString
*arg2
= 0 ;
16564 bool temp1
= false ;
16565 bool temp2
= false ;
16569 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16571 arg1
= wxString_in_helper(swig_obj
[0]);
16572 if (arg1
== NULL
) SWIG_fail
;
16576 arg2
= wxString_in_helper(swig_obj
[1]);
16577 if (arg2
== NULL
) SWIG_fail
;
16580 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16581 if (!SWIG_IsOK(ecode3
)) {
16582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16584 arg3
= static_cast< size_t >(val3
);
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16620 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16621 PyObject
*resultobj
= 0;
16622 wxString
*arg1
= 0 ;
16623 wxString
*arg2
= 0 ;
16625 wxString
*arg4
= 0 ;
16627 bool temp1
= false ;
16628 bool temp2
= false ;
16631 bool temp4
= false ;
16633 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16635 arg1
= wxString_in_helper(swig_obj
[0]);
16636 if (arg1
== NULL
) SWIG_fail
;
16640 arg2
= wxString_in_helper(swig_obj
[1]);
16641 if (arg2
== NULL
) SWIG_fail
;
16644 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16645 if (!SWIG_IsOK(ecode3
)) {
16646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16648 arg3
= static_cast< size_t >(val3
);
16650 arg4
= wxString_in_helper(swig_obj
[3]);
16651 if (arg4
== NULL
) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16697 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16701 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16704 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16707 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16710 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16713 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16717 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16722 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16723 PyObject
*resultobj
= 0;
16724 wxEncodingConverter
*result
= 0 ;
16726 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16740 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16741 PyObject
*resultobj
= 0;
16742 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16745 PyObject
*swig_obj
[1] ;
16747 if (!args
) SWIG_fail
;
16748 swig_obj
[0] = args
;
16749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16753 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 resultobj
= SWIG_Py_Void();
16768 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
= 0;
16770 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16771 wxFontEncoding arg2
;
16772 wxFontEncoding arg3
;
16773 int arg4
= (int) wxCONVERT_STRICT
;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 PyObject
* obj2
= 0 ;
16786 PyObject
* obj3
= 0 ;
16787 char * kwnames
[] = {
16788 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16796 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16798 if (!SWIG_IsOK(ecode2
)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16801 arg2
= static_cast< wxFontEncoding
>(val2
);
16802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16803 if (!SWIG_IsOK(ecode3
)) {
16804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16806 arg3
= static_cast< wxFontEncoding
>(val3
);
16808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16809 if (!SWIG_IsOK(ecode4
)) {
16810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16812 arg4
= static_cast< int >(val4
);
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16829 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
= 0;
16831 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16832 wxString
*arg2
= 0 ;
16836 bool temp2
= false ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 char * kwnames
[] = {
16840 (char *) "self",(char *) "input", NULL
16843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16845 if (!SWIG_IsOK(res1
)) {
16846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16848 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16850 arg2
= wxString_in_helper(obj1
);
16851 if (arg2
== NULL
) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16881 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
= 0;
16883 wxFontEncoding arg1
;
16884 int arg2
= (int) wxPLATFORM_CURRENT
;
16885 wxFontEncodingArray result
;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char * kwnames
[] = {
16893 (char *) "enc",(char *) "platform", NULL
16896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16897 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16898 if (!SWIG_IsOK(ecode1
)) {
16899 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16901 arg1
= static_cast< wxFontEncoding
>(val1
);
16903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16904 if (!SWIG_IsOK(ecode2
)) {
16905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16907 arg2
= static_cast< int >(val2
);
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= PyList_New(0);
16917 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16918 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16919 PyList_Append(resultobj
, number
);
16929 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
= 0;
16931 wxFontEncoding arg1
;
16932 wxFontEncodingArray result
;
16935 PyObject
* obj0
= 0 ;
16936 char * kwnames
[] = {
16937 (char *) "enc", NULL
16940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16942 if (!SWIG_IsOK(ecode1
)) {
16943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16945 arg1
= static_cast< wxFontEncoding
>(val1
);
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16953 resultobj
= PyList_New(0);
16954 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16955 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16956 PyList_Append(resultobj
, number
);
16966 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
= 0;
16968 wxFontEncoding arg1
;
16969 wxFontEncoding arg2
;
16975 PyObject
* obj0
= 0 ;
16976 PyObject
* obj1
= 0 ;
16977 char * kwnames
[] = {
16978 (char *) "encIn",(char *) "encOut", NULL
16981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16983 if (!SWIG_IsOK(ecode1
)) {
16984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16986 arg1
= static_cast< wxFontEncoding
>(val1
);
16987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16988 if (!SWIG_IsOK(ecode2
)) {
16989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16991 arg2
= static_cast< wxFontEncoding
>(val2
);
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17007 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17010 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17011 return SWIG_Py_Void();
17014 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17015 return SWIG_Python_InitShadowInstance(args
);
17018 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17019 PyObject
*resultobj
= 0;
17020 wxDC
*arg1
= (wxDC
*) 0 ;
17023 PyObject
*swig_obj
[1] ;
17025 if (!args
) SWIG_fail
;
17026 swig_obj
[0] = args
;
17027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= SWIG_Py_Void();
17046 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
= 0;
17048 wxDC
*arg1
= (wxDC
*) 0 ;
17051 wxColour
*arg4
= 0 ;
17052 int arg5
= (int) wxFLOOD_SURFACE
;
17063 PyObject
* obj0
= 0 ;
17064 PyObject
* obj1
= 0 ;
17065 PyObject
* obj2
= 0 ;
17066 PyObject
* obj3
= 0 ;
17067 PyObject
* obj4
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17074 if (!SWIG_IsOK(res1
)) {
17075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17079 if (!SWIG_IsOK(ecode2
)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17082 arg2
= static_cast< int >(val2
);
17083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17084 if (!SWIG_IsOK(ecode3
)) {
17085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17087 arg3
= static_cast< int >(val3
);
17090 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17093 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17094 if (!SWIG_IsOK(ecode5
)) {
17095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17097 arg5
= static_cast< int >(val5
);
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17114 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxDC
*arg1
= (wxDC
*) 0 ;
17117 wxPoint
*arg2
= 0 ;
17118 wxColour
*arg3
= 0 ;
17119 int arg4
= (int) wxFLOOD_SURFACE
;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 PyObject
* obj2
= 0 ;
17130 PyObject
* obj3
= 0 ;
17131 char * kwnames
[] = {
17132 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17137 if (!SWIG_IsOK(res1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17147 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17151 if (!SWIG_IsOK(ecode4
)) {
17152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17154 arg4
= static_cast< int >(val4
);
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17171 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
= 0;
17173 wxDC
*arg1
= (wxDC
*) 0 ;
17175 wxColour
*arg3
= 0 ;
17176 wxColour
*arg4
= 0 ;
17177 wxPoint
*arg5
= 0 ;
17184 PyObject
* obj0
= 0 ;
17185 PyObject
* obj1
= 0 ;
17186 PyObject
* obj2
= 0 ;
17187 PyObject
* obj3
= 0 ;
17188 PyObject
* obj4
= 0 ;
17189 char * kwnames
[] = {
17190 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17195 if (!SWIG_IsOK(res1
)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17201 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17205 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17209 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17213 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_Py_Void();
17228 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
= 0;
17230 wxDC
*arg1
= (wxDC
*) 0 ;
17232 wxColour
*arg3
= 0 ;
17233 wxColour
*arg4
= 0 ;
17234 wxDirection arg5
= (wxDirection
) wxEAST
;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 PyObject
* obj2
= 0 ;
17245 PyObject
* obj3
= 0 ;
17246 PyObject
* obj4
= 0 ;
17247 char * kwnames
[] = {
17248 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17253 if (!SWIG_IsOK(res1
)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17263 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17267 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17270 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17271 if (!SWIG_IsOK(ecode5
)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17274 arg5
= static_cast< wxDirection
>(val5
);
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_Py_Void();
17289 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
= 0;
17291 wxDC
*arg1
= (wxDC
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 PyObject
* obj2
= 0 ;
17304 char * kwnames
[] = {
17305 (char *) "self",(char *) "x",(char *) "y", NULL
17308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17310 if (!SWIG_IsOK(res1
)) {
17311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17313 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17315 if (!SWIG_IsOK(ecode2
)) {
17316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17318 arg2
= static_cast< int >(val2
);
17319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17320 if (!SWIG_IsOK(ecode3
)) {
17321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17323 arg3
= static_cast< int >(val3
);
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17337 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
= 0;
17339 wxDC
*arg1
= (wxDC
*) 0 ;
17340 wxPoint
*arg2
= 0 ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 char * kwnames
[] = {
17348 (char *) "self",(char *) "pt", NULL
17351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17353 if (!SWIG_IsOK(res1
)) {
17354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17374 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
= 0;
17376 wxDC
*arg1
= (wxDC
*) 0 ;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 PyObject
* obj2
= 0 ;
17394 PyObject
* obj3
= 0 ;
17395 PyObject
* obj4
= 0 ;
17396 char * kwnames
[] = {
17397 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17402 if (!SWIG_IsOK(res1
)) {
17403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17407 if (!SWIG_IsOK(ecode2
)) {
17408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17410 arg2
= static_cast< int >(val2
);
17411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17412 if (!SWIG_IsOK(ecode3
)) {
17413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17415 arg3
= static_cast< int >(val3
);
17416 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17417 if (!SWIG_IsOK(ecode4
)) {
17418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17420 arg4
= static_cast< int >(val4
);
17421 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17422 if (!SWIG_IsOK(ecode5
)) {
17423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17425 arg5
= static_cast< int >(val5
);
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_Py_Void();
17439 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
= 0;
17441 wxDC
*arg1
= (wxDC
*) 0 ;
17442 wxPoint
*arg2
= 0 ;
17443 wxPoint
*arg3
= 0 ;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 PyObject
* obj2
= 0 ;
17451 char * kwnames
[] = {
17452 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17457 if (!SWIG_IsOK(res1
)) {
17458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_Py_Void();
17482 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
= 0;
17484 wxDC
*arg1
= (wxDC
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 PyObject
* obj2
= 0 ;
17496 char * kwnames
[] = {
17497 (char *) "self",(char *) "x",(char *) "y", NULL
17500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17502 if (!SWIG_IsOK(res1
)) {
17503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17507 if (!SWIG_IsOK(ecode2
)) {
17508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17510 arg2
= static_cast< int >(val2
);
17511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17512 if (!SWIG_IsOK(ecode3
)) {
17513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17515 arg3
= static_cast< int >(val3
);
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 (arg1
)->CrossHair(arg2
,arg3
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= SWIG_Py_Void();
17529 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
= 0;
17531 wxDC
*arg1
= (wxDC
*) 0 ;
17532 wxPoint
*arg2
= 0 ;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 char * kwnames
[] = {
17539 (char *) "self",(char *) "pt", NULL
17542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17544 if (!SWIG_IsOK(res1
)) {
17545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_Py_Void();
17565 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
= 0;
17567 wxDC
*arg1
= (wxDC
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 PyObject
* obj2
= 0 ;
17591 PyObject
* obj3
= 0 ;
17592 PyObject
* obj4
= 0 ;
17593 PyObject
* obj5
= 0 ;
17594 PyObject
* obj6
= 0 ;
17595 char * kwnames
[] = {
17596 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17601 if (!SWIG_IsOK(res1
)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17606 if (!SWIG_IsOK(ecode2
)) {
17607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17609 arg2
= static_cast< int >(val2
);
17610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17611 if (!SWIG_IsOK(ecode3
)) {
17612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17614 arg3
= static_cast< int >(val3
);
17615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17616 if (!SWIG_IsOK(ecode4
)) {
17617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17619 arg4
= static_cast< int >(val4
);
17620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17621 if (!SWIG_IsOK(ecode5
)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17624 arg5
= static_cast< int >(val5
);
17625 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17626 if (!SWIG_IsOK(ecode6
)) {
17627 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17629 arg6
= static_cast< int >(val6
);
17630 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17631 if (!SWIG_IsOK(ecode7
)) {
17632 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17634 arg7
= static_cast< int >(val7
);
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_Py_Void();
17648 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= 0;
17650 wxDC
*arg1
= (wxDC
*) 0 ;
17651 wxPoint
*arg2
= 0 ;
17652 wxPoint
*arg3
= 0 ;
17653 wxPoint
*arg4
= 0 ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 PyObject
* obj3
= 0 ;
17663 char * kwnames
[] = {
17664 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17669 if (!SWIG_IsOK(res1
)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= SWIG_Py_Void();
17698 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
= 0;
17700 wxDC
*arg1
= (wxDC
*) 0 ;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 PyObject
* obj2
= 0 ;
17718 PyObject
* obj3
= 0 ;
17719 PyObject
* obj4
= 0 ;
17720 char * kwnames
[] = {
17721 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17726 if (!SWIG_IsOK(res1
)) {
17727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17729 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17731 if (!SWIG_IsOK(ecode2
)) {
17732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17734 arg2
= static_cast< int >(val2
);
17735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17736 if (!SWIG_IsOK(ecode3
)) {
17737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17739 arg3
= static_cast< int >(val3
);
17740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17741 if (!SWIG_IsOK(ecode4
)) {
17742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17744 arg4
= static_cast< int >(val4
);
17745 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17746 if (!SWIG_IsOK(ecode5
)) {
17747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17749 arg5
= static_cast< int >(val5
);
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_Py_Void();
17763 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
= 0;
17765 wxDC
*arg1
= (wxDC
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 char * kwnames
[] = {
17773 (char *) "self",(char *) "rect", NULL
17776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17778 if (!SWIG_IsOK(res1
)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17784 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_Py_Void();
17799 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
= 0;
17801 wxDC
*arg1
= (wxDC
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 PyObject
* obj2
= 0 ;
17825 PyObject
* obj3
= 0 ;
17826 PyObject
* obj4
= 0 ;
17827 PyObject
* obj5
= 0 ;
17828 PyObject
* obj6
= 0 ;
17829 char * kwnames
[] = {
17830 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17835 if (!SWIG_IsOK(res1
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17840 if (!SWIG_IsOK(ecode2
)) {
17841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17843 arg2
= static_cast< int >(val2
);
17844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17845 if (!SWIG_IsOK(ecode3
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17848 arg3
= static_cast< int >(val3
);
17849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17850 if (!SWIG_IsOK(ecode4
)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17853 arg4
= static_cast< int >(val4
);
17854 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17855 if (!SWIG_IsOK(ecode5
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17858 arg5
= static_cast< int >(val5
);
17859 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17860 if (!SWIG_IsOK(ecode6
)) {
17861 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17863 arg6
= static_cast< double >(val6
);
17864 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17865 if (!SWIG_IsOK(ecode7
)) {
17866 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17868 arg7
= static_cast< double >(val7
);
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_Py_Void();
17882 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
= 0;
17884 wxDC
*arg1
= (wxDC
*) 0 ;
17885 wxPoint
*arg2
= 0 ;
17897 PyObject
* obj0
= 0 ;
17898 PyObject
* obj1
= 0 ;
17899 PyObject
* obj2
= 0 ;
17900 PyObject
* obj3
= 0 ;
17901 PyObject
* obj4
= 0 ;
17902 char * kwnames
[] = {
17903 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17908 if (!SWIG_IsOK(res1
)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17918 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17920 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17921 if (!SWIG_IsOK(ecode4
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17924 arg4
= static_cast< double >(val4
);
17925 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17926 if (!SWIG_IsOK(ecode5
)) {
17927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17929 arg5
= static_cast< double >(val5
);
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= SWIG_Py_Void();
17943 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
= 0;
17945 wxDC
*arg1
= (wxDC
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 PyObject
* obj2
= 0 ;
17957 char * kwnames
[] = {
17958 (char *) "self",(char *) "x",(char *) "y", NULL
17961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17968 if (!SWIG_IsOK(ecode2
)) {
17969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
17971 arg2
= static_cast< int >(val2
);
17972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17973 if (!SWIG_IsOK(ecode3
)) {
17974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
17976 arg3
= static_cast< int >(val3
);
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->DrawPoint(arg2
,arg3
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_Py_Void();
17990 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
= 0;
17992 wxDC
*arg1
= (wxDC
*) 0 ;
17993 wxPoint
*arg2
= 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 char * kwnames
[] = {
18000 (char *) "self",(char *) "pt", NULL
18003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_Py_Void();
18026 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
= 0;
18028 wxDC
*arg1
= (wxDC
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 PyObject
* obj2
= 0 ;
18046 PyObject
* obj3
= 0 ;
18047 PyObject
* obj4
= 0 ;
18048 char * kwnames
[] = {
18049 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18054 if (!SWIG_IsOK(res1
)) {
18055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18059 if (!SWIG_IsOK(ecode2
)) {
18060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18062 arg2
= static_cast< int >(val2
);
18063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18064 if (!SWIG_IsOK(ecode3
)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18067 arg3
= static_cast< int >(val3
);
18068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18069 if (!SWIG_IsOK(ecode4
)) {
18070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18072 arg4
= static_cast< int >(val4
);
18073 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18074 if (!SWIG_IsOK(ecode5
)) {
18075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18077 arg5
= static_cast< int >(val5
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_Py_Void();
18091 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
= 0;
18093 wxDC
*arg1
= (wxDC
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 PyObject
* obj1
= 0 ;
18100 char * kwnames
[] = {
18101 (char *) "self",(char *) "rect", NULL
18104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18106 if (!SWIG_IsOK(res1
)) {
18107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_Py_Void();
18127 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
= 0;
18129 wxDC
*arg1
= (wxDC
*) 0 ;
18130 wxPoint
*arg2
= 0 ;
18136 PyObject
* obj0
= 0 ;
18137 PyObject
* obj1
= 0 ;
18138 PyObject
* obj2
= 0 ;
18139 char * kwnames
[] = {
18140 (char *) "self",(char *) "pt",(char *) "sz", NULL
18143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18145 if (!SWIG_IsOK(res1
)) {
18146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18148 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18151 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18155 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= SWIG_Py_Void();
18170 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
= 0;
18172 wxDC
*arg1
= (wxDC
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 PyObject
* obj2
= 0 ;
18193 PyObject
* obj3
= 0 ;
18194 PyObject
* obj4
= 0 ;
18195 PyObject
* obj5
= 0 ;
18196 char * kwnames
[] = {
18197 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18207 if (!SWIG_IsOK(ecode2
)) {
18208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18210 arg2
= static_cast< int >(val2
);
18211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18212 if (!SWIG_IsOK(ecode3
)) {
18213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18215 arg3
= static_cast< int >(val3
);
18216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18217 if (!SWIG_IsOK(ecode4
)) {
18218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18220 arg4
= static_cast< int >(val4
);
18221 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18222 if (!SWIG_IsOK(ecode5
)) {
18223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18225 arg5
= static_cast< int >(val5
);
18226 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18227 if (!SWIG_IsOK(ecode6
)) {
18228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18230 arg6
= static_cast< double >(val6
);
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_Py_Void();
18244 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
= 0;
18246 wxDC
*arg1
= (wxDC
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 PyObject
* obj2
= 0 ;
18257 char * kwnames
[] = {
18258 (char *) "self",(char *) "r",(char *) "radius", NULL
18261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18263 if (!SWIG_IsOK(res1
)) {
18264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18269 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18271 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18272 if (!SWIG_IsOK(ecode3
)) {
18273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18275 arg3
= static_cast< double >(val3
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_Py_Void();
18289 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
= 0;
18291 wxDC
*arg1
= (wxDC
*) 0 ;
18292 wxPoint
*arg2
= 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 PyObject
* obj2
= 0 ;
18304 PyObject
* obj3
= 0 ;
18305 char * kwnames
[] = {
18306 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18311 if (!SWIG_IsOK(res1
)) {
18312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18321 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18323 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18324 if (!SWIG_IsOK(ecode4
)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18327 arg4
= static_cast< double >(val4
);
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_Py_Void();
18341 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
= 0;
18343 wxDC
*arg1
= (wxDC
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 PyObject
* obj3
= 0 ;
18359 char * kwnames
[] = {
18360 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18365 if (!SWIG_IsOK(res1
)) {
18366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18370 if (!SWIG_IsOK(ecode2
)) {
18371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18373 arg2
= static_cast< int >(val2
);
18374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18375 if (!SWIG_IsOK(ecode3
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18378 arg3
= static_cast< int >(val3
);
18379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18380 if (!SWIG_IsOK(ecode4
)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18383 arg4
= static_cast< int >(val4
);
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_Py_Void();
18397 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
= 0;
18399 wxDC
*arg1
= (wxDC
*) 0 ;
18400 wxPoint
*arg2
= 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 PyObject
* obj2
= 0 ;
18410 char * kwnames
[] = {
18411 (char *) "self",(char *) "pt",(char *) "radius", NULL
18414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18425 if (!SWIG_IsOK(ecode3
)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18428 arg3
= static_cast< int >(val3
);
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_Py_Void();
18442 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
= 0;
18444 wxDC
*arg1
= (wxDC
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 PyObject
* obj2
= 0 ;
18462 PyObject
* obj3
= 0 ;
18463 PyObject
* obj4
= 0 ;
18464 char * kwnames
[] = {
18465 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18470 if (!SWIG_IsOK(res1
)) {
18471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18475 if (!SWIG_IsOK(ecode2
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18478 arg2
= static_cast< int >(val2
);
18479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18480 if (!SWIG_IsOK(ecode3
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18483 arg3
= static_cast< int >(val3
);
18484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18485 if (!SWIG_IsOK(ecode4
)) {
18486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18488 arg4
= static_cast< int >(val4
);
18489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18490 if (!SWIG_IsOK(ecode5
)) {
18491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18493 arg5
= static_cast< int >(val5
);
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_Py_Void();
18507 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
= 0;
18509 wxDC
*arg1
= (wxDC
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char * kwnames
[] = {
18517 (char *) "self",(char *) "rect", NULL
18520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18522 if (!SWIG_IsOK(res1
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18528 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_Py_Void();
18543 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxDC
*arg1
= (wxDC
*) 0 ;
18546 wxPoint
*arg2
= 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 PyObject
* obj2
= 0 ;
18555 char * kwnames
[] = {
18556 (char *) "self",(char *) "pt",(char *) "sz", NULL
18559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18567 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18571 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_Py_Void();
18586 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
= 0;
18588 wxDC
*arg1
= (wxDC
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18602 PyObject
* obj2
= 0 ;
18603 PyObject
* obj3
= 0 ;
18604 char * kwnames
[] = {
18605 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18610 if (!SWIG_IsOK(res1
)) {
18611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18615 if (!SWIG_IsOK(res2
)) {
18616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18621 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18623 if (!SWIG_IsOK(ecode3
)) {
18624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18626 arg3
= static_cast< int >(val3
);
18627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18628 if (!SWIG_IsOK(ecode4
)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18631 arg4
= static_cast< int >(val4
);
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_Py_Void();
18645 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
= 0;
18647 wxDC
*arg1
= (wxDC
*) 0 ;
18649 wxPoint
*arg3
= 0 ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 PyObject
* obj2
= 0 ;
18658 char * kwnames
[] = {
18659 (char *) "self",(char *) "icon",(char *) "pt", NULL
18662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18664 if (!SWIG_IsOK(res1
)) {
18665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18669 if (!SWIG_IsOK(res2
)) {
18670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18675 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_Py_Void();
18693 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
= 0;
18695 wxDC
*arg1
= (wxDC
*) 0 ;
18696 wxBitmap
*arg2
= 0 ;
18699 bool arg5
= (bool) false ;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 PyObject
* obj2
= 0 ;
18713 PyObject
* obj3
= 0 ;
18714 PyObject
* obj4
= 0 ;
18715 char * kwnames
[] = {
18716 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18721 if (!SWIG_IsOK(res1
)) {
18722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18726 if (!SWIG_IsOK(res2
)) {
18727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18732 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18734 if (!SWIG_IsOK(ecode3
)) {
18735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18737 arg3
= static_cast< int >(val3
);
18738 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18739 if (!SWIG_IsOK(ecode4
)) {
18740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18742 arg4
= static_cast< int >(val4
);
18744 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18745 if (!SWIG_IsOK(ecode5
)) {
18746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18748 arg5
= static_cast< bool >(val5
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_Py_Void();
18763 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
= 0;
18765 wxDC
*arg1
= (wxDC
*) 0 ;
18766 wxBitmap
*arg2
= 0 ;
18767 wxPoint
*arg3
= 0 ;
18768 bool arg4
= (bool) false ;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 PyObject
* obj2
= 0 ;
18779 PyObject
* obj3
= 0 ;
18780 char * kwnames
[] = {
18781 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18786 if (!SWIG_IsOK(res1
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18791 if (!SWIG_IsOK(res2
)) {
18792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18797 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18803 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18804 if (!SWIG_IsOK(ecode4
)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18807 arg4
= static_cast< bool >(val4
);
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_Py_Void();
18822 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
= 0;
18824 wxDC
*arg1
= (wxDC
*) 0 ;
18825 wxString
*arg2
= 0 ;
18830 bool temp2
= false ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 PyObject
* obj3
= 0 ;
18839 char * kwnames
[] = {
18840 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18850 arg2
= wxString_in_helper(obj1
);
18851 if (arg2
== NULL
) SWIG_fail
;
18854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18855 if (!SWIG_IsOK(ecode3
)) {
18856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18858 arg3
= static_cast< int >(val3
);
18859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18860 if (!SWIG_IsOK(ecode4
)) {
18861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18863 arg4
= static_cast< int >(val4
);
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= SWIG_Py_Void();
18885 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
= 0;
18887 wxDC
*arg1
= (wxDC
*) 0 ;
18888 wxString
*arg2
= 0 ;
18889 wxPoint
*arg3
= 0 ;
18892 bool temp2
= false ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 PyObject
* obj2
= 0 ;
18897 char * kwnames
[] = {
18898 (char *) "self",(char *) "text",(char *) "pt", NULL
18901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18908 arg2
= wxString_in_helper(obj1
);
18909 if (arg2
== NULL
) SWIG_fail
;
18914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_Py_Void();
18937 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= 0;
18939 wxDC
*arg1
= (wxDC
*) 0 ;
18940 wxString
*arg2
= 0 ;
18946 bool temp2
= false ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 PyObject
* obj2
= 0 ;
18956 PyObject
* obj3
= 0 ;
18957 PyObject
* obj4
= 0 ;
18958 char * kwnames
[] = {
18959 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18964 if (!SWIG_IsOK(res1
)) {
18965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18969 arg2
= wxString_in_helper(obj1
);
18970 if (arg2
== NULL
) SWIG_fail
;
18973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18974 if (!SWIG_IsOK(ecode3
)) {
18975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
18977 arg3
= static_cast< int >(val3
);
18978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18979 if (!SWIG_IsOK(ecode4
)) {
18980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
18982 arg4
= static_cast< int >(val4
);
18983 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18984 if (!SWIG_IsOK(ecode5
)) {
18985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
18987 arg5
= static_cast< double >(val5
);
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= SWIG_Py_Void();
19009 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
= 0;
19011 wxDC
*arg1
= (wxDC
*) 0 ;
19012 wxString
*arg2
= 0 ;
19013 wxPoint
*arg3
= 0 ;
19017 bool temp2
= false ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 PyObject
* obj2
= 0 ;
19024 PyObject
* obj3
= 0 ;
19025 char * kwnames
[] = {
19026 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19036 arg2
= wxString_in_helper(obj1
);
19037 if (arg2
== NULL
) SWIG_fail
;
19042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19044 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19045 if (!SWIG_IsOK(ecode4
)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19048 arg4
= static_cast< double >(val4
);
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 resultobj
= SWIG_Py_Void();
19070 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
= 0;
19072 wxDC
*arg1
= (wxDC
*) 0 ;
19077 wxDC
*arg6
= (wxDC
*) 0 ;
19080 int arg9
= (int) wxCOPY
;
19081 bool arg10
= (bool) false ;
19082 int arg11
= (int) -1 ;
19083 int arg12
= (int) -1 ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 PyObject
* obj2
= 0 ;
19112 PyObject
* obj3
= 0 ;
19113 PyObject
* obj4
= 0 ;
19114 PyObject
* obj5
= 0 ;
19115 PyObject
* obj6
= 0 ;
19116 PyObject
* obj7
= 0 ;
19117 PyObject
* obj8
= 0 ;
19118 PyObject
* obj9
= 0 ;
19119 PyObject
* obj10
= 0 ;
19120 PyObject
* obj11
= 0 ;
19121 char * kwnames
[] = {
19122 (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
19125 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
;
19126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19127 if (!SWIG_IsOK(res1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19132 if (!SWIG_IsOK(ecode2
)) {
19133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19135 arg2
= static_cast< int >(val2
);
19136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19137 if (!SWIG_IsOK(ecode3
)) {
19138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19140 arg3
= static_cast< int >(val3
);
19141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19142 if (!SWIG_IsOK(ecode4
)) {
19143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19145 arg4
= static_cast< int >(val4
);
19146 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19147 if (!SWIG_IsOK(ecode5
)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19150 arg5
= static_cast< int >(val5
);
19151 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19152 if (!SWIG_IsOK(res6
)) {
19153 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19155 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19156 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19157 if (!SWIG_IsOK(ecode7
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19160 arg7
= static_cast< int >(val7
);
19161 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19162 if (!SWIG_IsOK(ecode8
)) {
19163 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19165 arg8
= static_cast< int >(val8
);
19167 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19168 if (!SWIG_IsOK(ecode9
)) {
19169 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19171 arg9
= static_cast< int >(val9
);
19174 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19175 if (!SWIG_IsOK(ecode10
)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19178 arg10
= static_cast< bool >(val10
);
19181 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19182 if (!SWIG_IsOK(ecode11
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19185 arg11
= static_cast< int >(val11
);
19188 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19189 if (!SWIG_IsOK(ecode12
)) {
19190 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19192 arg12
= static_cast< int >(val12
);
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19209 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
= 0;
19211 wxDC
*arg1
= (wxDC
*) 0 ;
19212 wxPoint
*arg2
= 0 ;
19214 wxDC
*arg4
= (wxDC
*) 0 ;
19215 wxPoint
*arg5
= 0 ;
19216 int arg6
= (int) wxCOPY
;
19217 bool arg7
= (bool) false ;
19218 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19219 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 PyObject
* obj2
= 0 ;
19236 PyObject
* obj3
= 0 ;
19237 PyObject
* obj4
= 0 ;
19238 PyObject
* obj5
= 0 ;
19239 PyObject
* obj6
= 0 ;
19240 PyObject
* obj7
= 0 ;
19241 char * kwnames
[] = {
19242 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19247 if (!SWIG_IsOK(res1
)) {
19248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19257 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19259 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19260 if (!SWIG_IsOK(res4
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19263 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19266 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19269 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19270 if (!SWIG_IsOK(ecode6
)) {
19271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19273 arg6
= static_cast< int >(val6
);
19276 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19277 if (!SWIG_IsOK(ecode7
)) {
19278 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19280 arg7
= static_cast< bool >(val7
);
19285 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19303 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
= 0;
19305 wxDC
*arg1
= (wxDC
*) 0 ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 PyObject
* obj2
= 0 ;
19323 PyObject
* obj3
= 0 ;
19324 PyObject
* obj4
= 0 ;
19325 char * kwnames
[] = {
19326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19331 if (!SWIG_IsOK(res1
)) {
19332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19336 if (!SWIG_IsOK(ecode2
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19339 arg2
= static_cast< int >(val2
);
19340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19341 if (!SWIG_IsOK(ecode3
)) {
19342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19344 arg3
= static_cast< int >(val3
);
19345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19346 if (!SWIG_IsOK(ecode4
)) {
19347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19349 arg4
= static_cast< int >(val4
);
19350 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19351 if (!SWIG_IsOK(ecode5
)) {
19352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19354 arg5
= static_cast< int >(val5
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_Py_Void();
19368 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxDC
*arg1
= (wxDC
*) 0 ;
19371 wxPoint
*arg2
= 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 char * kwnames
[] = {
19381 (char *) "self",(char *) "pt",(char *) "sz", NULL
19384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19396 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_Py_Void();
19411 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
= 0;
19413 wxDC
*arg1
= (wxDC
*) 0 ;
19414 wxRegion
*arg2
= 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char * kwnames
[] = {
19422 (char *) "self",(char *) "region", NULL
19425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19427 if (!SWIG_IsOK(res1
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19432 if (!SWIG_IsOK(res2
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19438 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_Py_Void();
19452 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
= 0;
19454 wxDC
*arg1
= (wxDC
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char * kwnames
[] = {
19462 (char *) "self",(char *) "rect", NULL
19465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_Py_Void();
19488 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
= 0;
19490 wxDC
*arg1
= (wxDC
*) 0 ;
19492 wxPoint
*arg3
= (wxPoint
*) 0 ;
19493 int arg4
= (int) 0 ;
19494 int arg5
= (int) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 PyObject
* obj2
= 0 ;
19504 PyObject
* obj3
= 0 ;
19505 char * kwnames
[] = {
19506 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19511 if (!SWIG_IsOK(res1
)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19516 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19517 if (arg3
== NULL
) SWIG_fail
;
19520 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19521 if (!SWIG_IsOK(ecode4
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19524 arg4
= static_cast< int >(val4
);
19527 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19528 if (!SWIG_IsOK(ecode5
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19531 arg5
= static_cast< int >(val5
);
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= SWIG_Py_Void();
19541 if (arg3
) delete [] arg3
;
19546 if (arg3
) delete [] arg3
;
19552 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
= 0;
19554 wxDC
*arg1
= (wxDC
*) 0 ;
19556 wxPoint
*arg3
= (wxPoint
*) 0 ;
19557 int arg4
= (int) 0 ;
19558 int arg5
= (int) 0 ;
19559 int arg6
= (int) wxODDEVEN_RULE
;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 PyObject
* obj2
= 0 ;
19571 PyObject
* obj3
= 0 ;
19572 PyObject
* obj4
= 0 ;
19573 char * kwnames
[] = {
19574 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19579 if (!SWIG_IsOK(res1
)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19584 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19585 if (arg3
== NULL
) SWIG_fail
;
19588 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19589 if (!SWIG_IsOK(ecode4
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19592 arg4
= static_cast< int >(val4
);
19595 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19596 if (!SWIG_IsOK(ecode5
)) {
19597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19599 arg5
= static_cast< int >(val5
);
19602 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19603 if (!SWIG_IsOK(ecode6
)) {
19604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19606 arg6
= static_cast< int >(val6
);
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_Py_Void();
19616 if (arg3
) delete [] arg3
;
19621 if (arg3
) delete [] arg3
;
19627 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
= 0;
19629 wxDC
*arg1
= (wxDC
*) 0 ;
19630 wxString
*arg2
= 0 ;
19632 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19633 int arg5
= (int) -1 ;
19636 bool temp2
= false ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 PyObject
* obj2
= 0 ;
19645 PyObject
* obj3
= 0 ;
19646 PyObject
* obj4
= 0 ;
19647 char * kwnames
[] = {
19648 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19653 if (!SWIG_IsOK(res1
)) {
19654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19658 arg2
= wxString_in_helper(obj1
);
19659 if (arg2
== NULL
) SWIG_fail
;
19664 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19668 if (!SWIG_IsOK(ecode4
)) {
19669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19671 arg4
= static_cast< int >(val4
);
19674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19675 if (!SWIG_IsOK(ecode5
)) {
19676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19678 arg5
= static_cast< int >(val5
);
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_Py_Void();
19701 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
= 0;
19703 wxDC
*arg1
= (wxDC
*) 0 ;
19704 wxString
*arg2
= 0 ;
19705 wxBitmap
*arg3
= 0 ;
19707 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19708 int arg6
= (int) -1 ;
19712 bool temp2
= false ;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 PyObject
* obj2
= 0 ;
19723 PyObject
* obj3
= 0 ;
19724 PyObject
* obj4
= 0 ;
19725 PyObject
* obj5
= 0 ;
19726 char * kwnames
[] = {
19727 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19732 if (!SWIG_IsOK(res1
)) {
19733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19737 arg2
= wxString_in_helper(obj1
);
19738 if (arg2
== NULL
) SWIG_fail
;
19741 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19742 if (!SWIG_IsOK(res3
)) {
19743 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19748 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19751 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19754 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19755 if (!SWIG_IsOK(ecode5
)) {
19756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19758 arg5
= static_cast< int >(val5
);
19761 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19762 if (!SWIG_IsOK(ecode6
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19765 arg6
= static_cast< int >(val6
);
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19788 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
= 0;
19790 wxDC
*arg1
= (wxDC
*) 0 ;
19792 wxPoint
*arg3
= (wxPoint
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char * kwnames
[] = {
19798 (char *) "self",(char *) "points", NULL
19801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19803 if (!SWIG_IsOK(res1
)) {
19804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19808 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19809 if (arg3
== NULL
) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 (arg1
)->DrawSpline(arg2
,arg3
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= SWIG_Py_Void();
19819 if (arg3
) delete [] arg3
;
19824 if (arg3
) delete [] arg3
;
19830 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19831 PyObject
*resultobj
= 0;
19832 wxDC
*arg1
= (wxDC
*) 0 ;
19835 PyObject
*swig_obj
[1] ;
19837 if (!args
) SWIG_fail
;
19838 swig_obj
[0] = args
;
19839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_Py_Void();
19857 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
= 0;
19859 wxDC
*arg1
= (wxDC
*) 0 ;
19860 wxString
*arg2
= 0 ;
19864 bool temp2
= false ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char * kwnames
[] = {
19868 (char *) "self",(char *) "message", NULL
19871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19873 if (!SWIG_IsOK(res1
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19878 arg2
= wxString_in_helper(obj1
);
19879 if (arg2
== NULL
) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19905 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19906 PyObject
*resultobj
= 0;
19907 wxDC
*arg1
= (wxDC
*) 0 ;
19910 PyObject
*swig_obj
[1] ;
19912 if (!args
) SWIG_fail
;
19913 swig_obj
[0] = args
;
19914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= SWIG_Py_Void();
19932 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19933 PyObject
*resultobj
= 0;
19934 wxDC
*arg1
= (wxDC
*) 0 ;
19937 PyObject
*swig_obj
[1] ;
19939 if (!args
) SWIG_fail
;
19940 swig_obj
[0] = args
;
19941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19942 if (!SWIG_IsOK(res1
)) {
19943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->StartPage();
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_Py_Void();
19959 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19960 PyObject
*resultobj
= 0;
19961 wxDC
*arg1
= (wxDC
*) 0 ;
19964 PyObject
*swig_obj
[1] ;
19966 if (!args
) SWIG_fail
;
19967 swig_obj
[0] = args
;
19968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
19972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_Py_Void();
19986 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
= 0;
19988 wxDC
*arg1
= (wxDC
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char * kwnames
[] = {
19997 (char *) "self",(char *) "font", NULL
20000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20002 if (!SWIG_IsOK(res1
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20007 if (!SWIG_IsOK(res2
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20013 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetFont((wxFont
const &)*arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_Py_Void();
20027 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxDC
*arg1
= (wxDC
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char * kwnames
[] = {
20038 (char *) "self",(char *) "pen", NULL
20041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20048 if (!SWIG_IsOK(res2
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20054 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->SetPen((wxPen
const &)*arg2
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_Py_Void();
20068 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= 0;
20070 wxDC
*arg1
= (wxDC
*) 0 ;
20071 wxBrush
*arg2
= 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char * kwnames
[] = {
20079 (char *) "self",(char *) "brush", NULL
20082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20088 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20089 if (!SWIG_IsOK(res2
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20095 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= SWIG_Py_Void();
20109 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= 0;
20111 wxDC
*arg1
= (wxDC
*) 0 ;
20112 wxBrush
*arg2
= 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char * kwnames
[] = {
20120 (char *) "self",(char *) "brush", NULL
20123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20125 if (!SWIG_IsOK(res1
)) {
20126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20130 if (!SWIG_IsOK(res2
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20136 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= SWIG_Py_Void();
20150 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
= 0;
20152 wxDC
*arg1
= (wxDC
*) 0 ;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 char * kwnames
[] = {
20161 (char *) "self",(char *) "mode", NULL
20164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20166 if (!SWIG_IsOK(res1
)) {
20167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20171 if (!SWIG_IsOK(ecode2
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20174 arg2
= static_cast< int >(val2
);
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 (arg1
)->SetBackgroundMode(arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= SWIG_Py_Void();
20188 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
= 0;
20190 wxDC
*arg1
= (wxDC
*) 0 ;
20191 wxPalette
*arg2
= 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 char * kwnames
[] = {
20199 (char *) "self",(char *) "palette", NULL
20202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20204 if (!SWIG_IsOK(res1
)) {
20205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20209 if (!SWIG_IsOK(res2
)) {
20210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20215 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_Py_Void();
20229 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20230 PyObject
*resultobj
= 0;
20231 wxDC
*arg1
= (wxDC
*) 0 ;
20234 PyObject
*swig_obj
[1] ;
20236 if (!args
) SWIG_fail
;
20237 swig_obj
[0] = args
;
20238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20239 if (!SWIG_IsOK(res1
)) {
20240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 (arg1
)->DestroyClippingRegion();
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 resultobj
= SWIG_Py_Void();
20256 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20257 PyObject
*resultobj
= 0;
20258 wxDC
*arg1
= (wxDC
*) 0 ;
20259 int *arg2
= (int *) 0 ;
20260 int *arg3
= (int *) 0 ;
20261 int *arg4
= (int *) 0 ;
20262 int *arg5
= (int *) 0 ;
20266 int res2
= SWIG_TMPOBJ
;
20268 int res3
= SWIG_TMPOBJ
;
20270 int res4
= SWIG_TMPOBJ
;
20272 int res5
= SWIG_TMPOBJ
;
20273 PyObject
*swig_obj
[1] ;
20279 if (!args
) SWIG_fail
;
20280 swig_obj
[0] = args
;
20281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20282 if (!SWIG_IsOK(res1
)) {
20283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_Py_Void();
20293 if (SWIG_IsTmpObj(res2
)) {
20294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20296 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20299 if (SWIG_IsTmpObj(res3
)) {
20300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20302 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20305 if (SWIG_IsTmpObj(res4
)) {
20306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20308 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20311 if (SWIG_IsTmpObj(res5
)) {
20312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20314 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20323 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20324 PyObject
*resultobj
= 0;
20325 wxDC
*arg1
= (wxDC
*) 0 ;
20329 PyObject
*swig_obj
[1] ;
20331 if (!args
) SWIG_fail
;
20332 swig_obj
[0] = args
;
20333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= wxDC_GetClippingRect(arg1
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20351 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20352 PyObject
*resultobj
= 0;
20353 wxDC
*arg1
= (wxDC
*) 0 ;
20357 PyObject
*swig_obj
[1] ;
20359 if (!args
) SWIG_fail
;
20360 swig_obj
[0] = args
;
20361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20362 if (!SWIG_IsOK(res1
)) {
20363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_From_int(static_cast< int >(result
));
20379 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20380 PyObject
*resultobj
= 0;
20381 wxDC
*arg1
= (wxDC
*) 0 ;
20385 PyObject
*swig_obj
[1] ;
20387 if (!args
) SWIG_fail
;
20388 swig_obj
[0] = args
;
20389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= SWIG_From_int(static_cast< int >(result
));
20407 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
= 0;
20409 wxDC
*arg1
= (wxDC
*) 0 ;
20410 wxString
*arg2
= 0 ;
20411 int *arg3
= (int *) 0 ;
20412 int *arg4
= (int *) 0 ;
20415 bool temp2
= false ;
20417 int res3
= SWIG_TMPOBJ
;
20419 int res4
= SWIG_TMPOBJ
;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char * kwnames
[] = {
20423 (char *) "self",(char *) "string", NULL
20428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20430 if (!SWIG_IsOK(res1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20435 arg2
= wxString_in_helper(obj1
);
20436 if (arg2
== NULL
) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 resultobj
= SWIG_Py_Void();
20446 if (SWIG_IsTmpObj(res3
)) {
20447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20449 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20452 if (SWIG_IsTmpObj(res4
)) {
20453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20455 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20472 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
= 0;
20474 wxDC
*arg1
= (wxDC
*) 0 ;
20475 wxString
*arg2
= 0 ;
20476 int *arg3
= (int *) 0 ;
20477 int *arg4
= (int *) 0 ;
20478 int *arg5
= (int *) 0 ;
20479 int *arg6
= (int *) 0 ;
20480 wxFont
*arg7
= (wxFont
*) NULL
;
20483 bool temp2
= false ;
20485 int res3
= SWIG_TMPOBJ
;
20487 int res4
= SWIG_TMPOBJ
;
20489 int res5
= SWIG_TMPOBJ
;
20491 int res6
= SWIG_TMPOBJ
;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 PyObject
* obj2
= 0 ;
20497 char * kwnames
[] = {
20498 (char *) "self",(char *) "string",(char *) "font", NULL
20505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20512 arg2
= wxString_in_helper(obj1
);
20513 if (arg2
== NULL
) SWIG_fail
;
20517 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20518 if (!SWIG_IsOK(res7
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20521 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20530 if (SWIG_IsTmpObj(res3
)) {
20531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20533 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20536 if (SWIG_IsTmpObj(res4
)) {
20537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20539 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20542 if (SWIG_IsTmpObj(res5
)) {
20543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20545 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20548 if (SWIG_IsTmpObj(res6
)) {
20549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20551 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20568 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
= 0;
20570 wxDC
*arg1
= (wxDC
*) 0 ;
20571 wxString
*arg2
= 0 ;
20572 int *arg3
= (int *) 0 ;
20573 int *arg4
= (int *) 0 ;
20574 int *arg5
= (int *) 0 ;
20575 wxFont
*arg6
= (wxFont
*) NULL
;
20578 bool temp2
= false ;
20580 int res3
= SWIG_TMPOBJ
;
20582 int res4
= SWIG_TMPOBJ
;
20584 int res5
= SWIG_TMPOBJ
;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 PyObject
* obj2
= 0 ;
20590 char * kwnames
[] = {
20591 (char *) "self",(char *) "text",(char *) "font", NULL
20597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20599 if (!SWIG_IsOK(res1
)) {
20600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20604 arg2
= wxString_in_helper(obj1
);
20605 if (arg2
== NULL
) SWIG_fail
;
20609 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20610 if (!SWIG_IsOK(res6
)) {
20611 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20613 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_Py_Void();
20622 if (SWIG_IsTmpObj(res3
)) {
20623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20625 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20628 if (SWIG_IsTmpObj(res4
)) {
20629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20631 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20634 if (SWIG_IsTmpObj(res5
)) {
20635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20637 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20654 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
= 0;
20656 wxDC
*arg1
= (wxDC
*) 0 ;
20657 wxString
*arg2
= 0 ;
20661 bool temp2
= false ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "self",(char *) "text", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20675 arg2
= wxString_in_helper(obj1
);
20676 if (arg2
== NULL
) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= PyList_New(0);
20688 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20689 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20690 PyList_Append(resultobj
, val
);
20708 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20709 PyObject
*resultobj
= 0;
20710 wxDC
*arg1
= (wxDC
*) 0 ;
20714 PyObject
*swig_obj
[1] ;
20716 if (!args
) SWIG_fail
;
20717 swig_obj
[0] = args
;
20718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20719 if (!SWIG_IsOK(res1
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= (arg1
)->GetSize();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20736 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20737 PyObject
*resultobj
= 0;
20738 wxDC
*arg1
= (wxDC
*) 0 ;
20739 int *arg2
= (int *) 0 ;
20740 int *arg3
= (int *) 0 ;
20744 int res2
= SWIG_TMPOBJ
;
20746 int res3
= SWIG_TMPOBJ
;
20747 PyObject
*swig_obj
[1] ;
20751 if (!args
) SWIG_fail
;
20752 swig_obj
[0] = args
;
20753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20754 if (!SWIG_IsOK(res1
)) {
20755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 (arg1
)->GetSize(arg2
,arg3
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_Py_Void();
20765 if (SWIG_IsTmpObj(res2
)) {
20766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20768 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20771 if (SWIG_IsTmpObj(res3
)) {
20772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20774 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20783 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20784 PyObject
*resultobj
= 0;
20785 wxDC
*arg1
= (wxDC
*) 0 ;
20789 PyObject
*swig_obj
[1] ;
20791 if (!args
) SWIG_fail
;
20792 swig_obj
[0] = args
;
20793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20794 if (!SWIG_IsOK(res1
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20811 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20812 PyObject
*resultobj
= 0;
20813 wxDC
*arg1
= (wxDC
*) 0 ;
20814 int *arg2
= (int *) 0 ;
20815 int *arg3
= (int *) 0 ;
20819 int res2
= SWIG_TMPOBJ
;
20821 int res3
= SWIG_TMPOBJ
;
20822 PyObject
*swig_obj
[1] ;
20826 if (!args
) SWIG_fail
;
20827 swig_obj
[0] = args
;
20828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_Py_Void();
20840 if (SWIG_IsTmpObj(res2
)) {
20841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20843 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20846 if (SWIG_IsTmpObj(res3
)) {
20847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20849 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20858 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
= 0;
20860 wxDC
*arg1
= (wxDC
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20869 char * kwnames
[] = {
20870 (char *) "self",(char *) "x", NULL
20873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20875 if (!SWIG_IsOK(res1
)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20880 if (!SWIG_IsOK(ecode2
)) {
20881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20883 arg2
= static_cast< int >(val2
);
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_From_int(static_cast< int >(result
));
20897 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxDC
*arg1
= (wxDC
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 PyObject
* obj1
= 0 ;
20908 char * kwnames
[] = {
20909 (char *) "self",(char *) "y", NULL
20912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20914 if (!SWIG_IsOK(res1
)) {
20915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20919 if (!SWIG_IsOK(ecode2
)) {
20920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20922 arg2
= static_cast< int >(val2
);
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_From_int(static_cast< int >(result
));
20936 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
= 0;
20938 wxDC
*arg1
= (wxDC
*) 0 ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 char * kwnames
[] = {
20948 (char *) "self",(char *) "x", NULL
20951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20958 if (!SWIG_IsOK(ecode2
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20961 arg2
= static_cast< int >(val2
);
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_From_int(static_cast< int >(result
));
20975 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
= 0;
20977 wxDC
*arg1
= (wxDC
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 char * kwnames
[] = {
20987 (char *) "self",(char *) "y", NULL
20990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20992 if (!SWIG_IsOK(res1
)) {
20993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20997 if (!SWIG_IsOK(ecode2
)) {
20998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21000 arg2
= static_cast< int >(val2
);
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_From_int(static_cast< int >(result
));
21014 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
= 0;
21016 wxDC
*arg1
= (wxDC
*) 0 ;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 char * kwnames
[] = {
21026 (char *) "self",(char *) "x", NULL
21029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21031 if (!SWIG_IsOK(res1
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21036 if (!SWIG_IsOK(ecode2
)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21039 arg2
= static_cast< int >(val2
);
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_From_int(static_cast< int >(result
));
21053 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
= 0;
21055 wxDC
*arg1
= (wxDC
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char * kwnames
[] = {
21065 (char *) "self",(char *) "y", NULL
21068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21070 if (!SWIG_IsOK(res1
)) {
21071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21075 if (!SWIG_IsOK(ecode2
)) {
21076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21078 arg2
= static_cast< int >(val2
);
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_From_int(static_cast< int >(result
));
21092 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
= 0;
21094 wxDC
*arg1
= (wxDC
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "self",(char *) "x", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21109 if (!SWIG_IsOK(res1
)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21114 if (!SWIG_IsOK(ecode2
)) {
21115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21117 arg2
= static_cast< int >(val2
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_From_int(static_cast< int >(result
));
21131 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
= 0;
21133 wxDC
*arg1
= (wxDC
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 char * kwnames
[] = {
21143 (char *) "self",(char *) "y", NULL
21146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21153 if (!SWIG_IsOK(ecode2
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21156 arg2
= static_cast< int >(val2
);
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= SWIG_From_int(static_cast< int >(result
));
21170 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21171 PyObject
*resultobj
= 0;
21172 wxDC
*arg1
= (wxDC
*) 0 ;
21176 PyObject
*swig_obj
[1] ;
21178 if (!args
) SWIG_fail
;
21179 swig_obj
[0] = args
;
21180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21181 if (!SWIG_IsOK(res1
)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21200 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21201 PyObject
*resultobj
= 0;
21202 wxDC
*arg1
= (wxDC
*) 0 ;
21206 PyObject
*swig_obj
[1] ;
21208 if (!args
) SWIG_fail
;
21209 swig_obj
[0] = args
;
21210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21230 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21231 PyObject
*resultobj
= 0;
21232 wxDC
*arg1
= (wxDC
*) 0 ;
21236 PyObject
*swig_obj
[1] ;
21238 if (!args
) SWIG_fail
;
21239 swig_obj
[0] = args
;
21240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21241 if (!SWIG_IsOK(res1
)) {
21242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_From_int(static_cast< int >(result
));
21258 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21259 PyObject
*resultobj
= 0;
21260 wxDC
*arg1
= (wxDC
*) 0 ;
21264 PyObject
*swig_obj
[1] ;
21266 if (!args
) SWIG_fail
;
21267 swig_obj
[0] = args
;
21268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21269 if (!SWIG_IsOK(res1
)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= ((wxDC
const *)arg1
)->GetPPI();
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21286 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21287 PyObject
*resultobj
= 0;
21288 wxDC
*arg1
= (wxDC
*) 0 ;
21292 PyObject
*swig_obj
[1] ;
21294 if (!args
) SWIG_fail
;
21295 swig_obj
[0] = args
;
21296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21297 if (!SWIG_IsOK(res1
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= (bool)((wxDC
const *)arg1
)->Ok();
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21316 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21317 PyObject
*resultobj
= 0;
21318 wxDC
*arg1
= (wxDC
*) 0 ;
21322 PyObject
*swig_obj
[1] ;
21324 if (!args
) SWIG_fail
;
21325 swig_obj
[0] = args
;
21326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21327 if (!SWIG_IsOK(res1
)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= SWIG_From_int(static_cast< int >(result
));
21344 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21345 PyObject
*resultobj
= 0;
21346 wxDC
*arg1
= (wxDC
*) 0 ;
21347 wxBrush
*result
= 0 ;
21350 PyObject
*swig_obj
[1] ;
21352 if (!args
) SWIG_fail
;
21353 swig_obj
[0] = args
;
21354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21355 if (!SWIG_IsOK(res1
)) {
21356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21363 result
= (wxBrush
*) &_result_ref
;
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 wxBrush
* resultptr
= new wxBrush(*result
);
21370 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21378 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21379 PyObject
*resultobj
= 0;
21380 wxDC
*arg1
= (wxDC
*) 0 ;
21381 wxBrush
*result
= 0 ;
21384 PyObject
*swig_obj
[1] ;
21386 if (!args
) SWIG_fail
;
21387 swig_obj
[0] = args
;
21388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21389 if (!SWIG_IsOK(res1
)) {
21390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21397 result
= (wxBrush
*) &_result_ref
;
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 wxBrush
* resultptr
= new wxBrush(*result
);
21404 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21412 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21413 PyObject
*resultobj
= 0;
21414 wxDC
*arg1
= (wxDC
*) 0 ;
21415 wxFont
*result
= 0 ;
21418 PyObject
*swig_obj
[1] ;
21420 if (!args
) SWIG_fail
;
21421 swig_obj
[0] = args
;
21422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21423 if (!SWIG_IsOK(res1
)) {
21424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21431 result
= (wxFont
*) &_result_ref
;
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 wxFont
* resultptr
= new wxFont(*result
);
21438 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21446 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21447 PyObject
*resultobj
= 0;
21448 wxDC
*arg1
= (wxDC
*) 0 ;
21449 wxPen
*result
= 0 ;
21452 PyObject
*swig_obj
[1] ;
21454 if (!args
) SWIG_fail
;
21455 swig_obj
[0] = args
;
21456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21457 if (!SWIG_IsOK(res1
)) {
21458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21465 result
= (wxPen
*) &_result_ref
;
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21471 wxPen
* resultptr
= new wxPen(*result
);
21472 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21480 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 PyObject
*resultobj
= 0;
21482 wxDC
*arg1
= (wxDC
*) 0 ;
21483 wxColour
*result
= 0 ;
21486 PyObject
*swig_obj
[1] ;
21488 if (!args
) SWIG_fail
;
21489 swig_obj
[0] = args
;
21490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21491 if (!SWIG_IsOK(res1
)) {
21492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21499 result
= (wxColour
*) &_result_ref
;
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21511 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21512 PyObject
*resultobj
= 0;
21513 wxDC
*arg1
= (wxDC
*) 0 ;
21514 wxColour
*result
= 0 ;
21517 PyObject
*swig_obj
[1] ;
21519 if (!args
) SWIG_fail
;
21520 swig_obj
[0] = args
;
21521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21522 if (!SWIG_IsOK(res1
)) {
21523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21530 result
= (wxColour
*) &_result_ref
;
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21542 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
= 0;
21544 wxDC
*arg1
= (wxDC
*) 0 ;
21545 wxColour
*arg2
= 0 ;
21549 PyObject
* obj0
= 0 ;
21550 PyObject
* obj1
= 0 ;
21551 char * kwnames
[] = {
21552 (char *) "self",(char *) "colour", NULL
21555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21557 if (!SWIG_IsOK(res1
)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_Py_Void();
21578 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
= 0;
21580 wxDC
*arg1
= (wxDC
*) 0 ;
21581 wxColour
*arg2
= 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char * kwnames
[] = {
21588 (char *) "self",(char *) "colour", NULL
21591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_Py_Void();
21614 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21615 PyObject
*resultobj
= 0;
21616 wxDC
*arg1
= (wxDC
*) 0 ;
21620 PyObject
*swig_obj
[1] ;
21622 if (!args
) SWIG_fail
;
21623 swig_obj
[0] = args
;
21624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_From_int(static_cast< int >(result
));
21642 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
= 0;
21644 wxDC
*arg1
= (wxDC
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 char * kwnames
[] = {
21653 (char *) "self",(char *) "mode", NULL
21656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21658 if (!SWIG_IsOK(res1
)) {
21659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21663 if (!SWIG_IsOK(ecode2
)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21666 arg2
= static_cast< int >(val2
);
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 (arg1
)->SetMapMode(arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_Py_Void();
21680 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21681 PyObject
*resultobj
= 0;
21682 wxDC
*arg1
= (wxDC
*) 0 ;
21683 double *arg2
= (double *) 0 ;
21684 double *arg3
= (double *) 0 ;
21688 int res2
= SWIG_TMPOBJ
;
21690 int res3
= SWIG_TMPOBJ
;
21691 PyObject
*swig_obj
[1] ;
21695 if (!args
) SWIG_fail
;
21696 swig_obj
[0] = args
;
21697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21698 if (!SWIG_IsOK(res1
)) {
21699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_Py_Void();
21709 if (SWIG_IsTmpObj(res2
)) {
21710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21712 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21715 if (SWIG_IsTmpObj(res3
)) {
21716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21718 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21727 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
= 0;
21729 wxDC
*arg1
= (wxDC
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 PyObject
* obj2
= 0 ;
21741 char * kwnames
[] = {
21742 (char *) "self",(char *) "x",(char *) "y", NULL
21745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21747 if (!SWIG_IsOK(res1
)) {
21748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21751 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21752 if (!SWIG_IsOK(ecode2
)) {
21753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21755 arg2
= static_cast< double >(val2
);
21756 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21757 if (!SWIG_IsOK(ecode3
)) {
21758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21760 arg3
= static_cast< double >(val3
);
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->SetUserScale(arg2
,arg3
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= SWIG_Py_Void();
21774 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21775 PyObject
*resultobj
= 0;
21776 wxDC
*arg1
= (wxDC
*) 0 ;
21777 double *arg2
= (double *) 0 ;
21778 double *arg3
= (double *) 0 ;
21782 int res2
= SWIG_TMPOBJ
;
21784 int res3
= SWIG_TMPOBJ
;
21785 PyObject
*swig_obj
[1] ;
21789 if (!args
) SWIG_fail
;
21790 swig_obj
[0] = args
;
21791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21792 if (!SWIG_IsOK(res1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 (arg1
)->GetLogicalScale(arg2
,arg3
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_Py_Void();
21803 if (SWIG_IsTmpObj(res2
)) {
21804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21806 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21809 if (SWIG_IsTmpObj(res3
)) {
21810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21812 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21821 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
= 0;
21823 wxDC
*arg1
= (wxDC
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 PyObject
* obj2
= 0 ;
21835 char * kwnames
[] = {
21836 (char *) "self",(char *) "x",(char *) "y", NULL
21839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21841 if (!SWIG_IsOK(res1
)) {
21842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21845 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21846 if (!SWIG_IsOK(ecode2
)) {
21847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21849 arg2
= static_cast< double >(val2
);
21850 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21851 if (!SWIG_IsOK(ecode3
)) {
21852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21854 arg3
= static_cast< double >(val3
);
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 (arg1
)->SetLogicalScale(arg2
,arg3
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= SWIG_Py_Void();
21868 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21869 PyObject
*resultobj
= 0;
21870 wxDC
*arg1
= (wxDC
*) 0 ;
21874 PyObject
*swig_obj
[1] ;
21876 if (!args
) SWIG_fail
;
21877 swig_obj
[0] = args
;
21878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21879 if (!SWIG_IsOK(res1
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21896 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21897 PyObject
*resultobj
= 0;
21898 wxDC
*arg1
= (wxDC
*) 0 ;
21899 int *arg2
= (int *) 0 ;
21900 int *arg3
= (int *) 0 ;
21904 int res2
= SWIG_TMPOBJ
;
21906 int res3
= SWIG_TMPOBJ
;
21907 PyObject
*swig_obj
[1] ;
21911 if (!args
) SWIG_fail
;
21912 swig_obj
[0] = args
;
21913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21914 if (!SWIG_IsOK(res1
)) {
21915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= SWIG_Py_Void();
21925 if (SWIG_IsTmpObj(res2
)) {
21926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21928 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21931 if (SWIG_IsTmpObj(res3
)) {
21932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21934 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21943 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
= 0;
21945 wxDC
*arg1
= (wxDC
*) 0 ;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 PyObject
* obj2
= 0 ;
21957 char * kwnames
[] = {
21958 (char *) "self",(char *) "x",(char *) "y", NULL
21961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21963 if (!SWIG_IsOK(res1
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21968 if (!SWIG_IsOK(ecode2
)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
21971 arg2
= static_cast< int >(val2
);
21972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21973 if (!SWIG_IsOK(ecode3
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
21976 arg3
= static_cast< int >(val3
);
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_Py_Void();
21990 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
= 0;
21992 wxDC
*arg1
= (wxDC
*) 0 ;
21993 wxPoint
*arg2
= 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "self",(char *) "point", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_Py_Void();
22026 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22027 PyObject
*resultobj
= 0;
22028 wxDC
*arg1
= (wxDC
*) 0 ;
22032 PyObject
*swig_obj
[1] ;
22034 if (!args
) SWIG_fail
;
22035 swig_obj
[0] = args
;
22036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22054 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22055 PyObject
*resultobj
= 0;
22056 wxDC
*arg1
= (wxDC
*) 0 ;
22057 int *arg2
= (int *) 0 ;
22058 int *arg3
= (int *) 0 ;
22062 int res2
= SWIG_TMPOBJ
;
22064 int res3
= SWIG_TMPOBJ
;
22065 PyObject
*swig_obj
[1] ;
22069 if (!args
) SWIG_fail
;
22070 swig_obj
[0] = args
;
22071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22072 if (!SWIG_IsOK(res1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_Py_Void();
22083 if (SWIG_IsTmpObj(res2
)) {
22084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22086 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22089 if (SWIG_IsTmpObj(res3
)) {
22090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22092 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22101 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
= 0;
22103 wxDC
*arg1
= (wxDC
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 char * kwnames
[] = {
22116 (char *) "self",(char *) "x",(char *) "y", NULL
22119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22121 if (!SWIG_IsOK(res1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22126 if (!SWIG_IsOK(ecode2
)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22129 arg2
= static_cast< int >(val2
);
22130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22131 if (!SWIG_IsOK(ecode3
)) {
22132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22134 arg3
= static_cast< int >(val3
);
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= SWIG_Py_Void();
22148 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
= 0;
22150 wxDC
*arg1
= (wxDC
*) 0 ;
22151 wxPoint
*arg2
= 0 ;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 char * kwnames
[] = {
22158 (char *) "self",(char *) "point", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_Py_Void();
22184 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
= 0;
22186 wxDC
*arg1
= (wxDC
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 PyObject
* obj2
= 0 ;
22198 char * kwnames
[] = {
22199 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22204 if (!SWIG_IsOK(res1
)) {
22205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22208 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22209 if (!SWIG_IsOK(ecode2
)) {
22210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22212 arg2
= static_cast< bool >(val2
);
22213 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22214 if (!SWIG_IsOK(ecode3
)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22217 arg3
= static_cast< bool >(val3
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_Py_Void();
22231 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxDC
*arg1
= (wxDC
*) 0 ;
22237 PyObject
*swig_obj
[1] ;
22239 if (!args
) SWIG_fail
;
22240 swig_obj
[0] = args
;
22241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_From_int(static_cast< int >(result
));
22259 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
= 0;
22261 wxDC
*arg1
= (wxDC
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char * kwnames
[] = {
22270 (char *) "self",(char *) "function", NULL
22273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22280 if (!SWIG_IsOK(ecode2
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22283 arg2
= static_cast< int >(val2
);
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 (arg1
)->SetLogicalFunction(arg2
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_Py_Void();
22297 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22298 PyObject
*resultobj
= 0;
22299 wxDC
*arg1
= (wxDC
*) 0 ;
22302 PyObject
*swig_obj
[1] ;
22304 if (!args
) SWIG_fail
;
22305 swig_obj
[0] = args
;
22306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 (arg1
)->ComputeScaleAndOrigin();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_Py_Void();
22324 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
= 0;
22326 wxDC
*arg1
= (wxDC
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 PyObject
* obj2
= 0 ;
22338 char * kwnames
[] = {
22339 (char *) "self",(char *) "x",(char *) "y", NULL
22342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22349 if (!SWIG_IsOK(ecode2
)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22352 arg2
= static_cast< int >(val2
);
22353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22354 if (!SWIG_IsOK(ecode3
)) {
22355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22357 arg3
= static_cast< int >(val3
);
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= SWIG_Py_Void();
22371 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
= 0;
22373 wxDC
*arg1
= (wxDC
*) 0 ;
22374 wxPoint
*arg2
= 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 char * kwnames
[] = {
22381 (char *) "self",(char *) "point", NULL
22384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22386 if (!SWIG_IsOK(res1
)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_Py_Void();
22407 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22408 PyObject
*resultobj
= 0;
22409 wxDC
*arg1
= (wxDC
*) 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->ResetBoundingBox();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_Py_Void();
22434 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxDC
*arg1
= (wxDC
*) 0 ;
22440 PyObject
*swig_obj
[1] ;
22442 if (!args
) SWIG_fail
;
22443 swig_obj
[0] = args
;
22444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (int)((wxDC
const *)arg1
)->MinX();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_From_int(static_cast< int >(result
));
22462 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxDC
*arg1
= (wxDC
*) 0 ;
22468 PyObject
*swig_obj
[1] ;
22470 if (!args
) SWIG_fail
;
22471 swig_obj
[0] = args
;
22472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22473 if (!SWIG_IsOK(res1
)) {
22474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22476 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (int)((wxDC
const *)arg1
)->MaxX();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_From_int(static_cast< int >(result
));
22490 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 PyObject
*resultobj
= 0;
22492 wxDC
*arg1
= (wxDC
*) 0 ;
22496 PyObject
*swig_obj
[1] ;
22498 if (!args
) SWIG_fail
;
22499 swig_obj
[0] = args
;
22500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22501 if (!SWIG_IsOK(res1
)) {
22502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= (int)((wxDC
const *)arg1
)->MinY();
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_From_int(static_cast< int >(result
));
22518 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 PyObject
*resultobj
= 0;
22520 wxDC
*arg1
= (wxDC
*) 0 ;
22524 PyObject
*swig_obj
[1] ;
22526 if (!args
) SWIG_fail
;
22527 swig_obj
[0] = args
;
22528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (int)((wxDC
const *)arg1
)->MaxY();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_From_int(static_cast< int >(result
));
22546 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 PyObject
*resultobj
= 0;
22548 wxDC
*arg1
= (wxDC
*) 0 ;
22549 int *arg2
= (int *) 0 ;
22550 int *arg3
= (int *) 0 ;
22551 int *arg4
= (int *) 0 ;
22552 int *arg5
= (int *) 0 ;
22556 int res2
= SWIG_TMPOBJ
;
22558 int res3
= SWIG_TMPOBJ
;
22560 int res4
= SWIG_TMPOBJ
;
22562 int res5
= SWIG_TMPOBJ
;
22563 PyObject
*swig_obj
[1] ;
22569 if (!args
) SWIG_fail
;
22570 swig_obj
[0] = args
;
22571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_Py_Void();
22583 if (SWIG_IsTmpObj(res2
)) {
22584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22586 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22589 if (SWIG_IsTmpObj(res3
)) {
22590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22592 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22595 if (SWIG_IsTmpObj(res4
)) {
22596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22598 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22601 if (SWIG_IsTmpObj(res5
)) {
22602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22604 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22613 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
= 0;
22615 wxDC
*arg1
= (wxDC
*) 0 ;
22616 PyObject
*arg2
= (PyObject
*) 0 ;
22617 PyObject
*arg3
= (PyObject
*) 0 ;
22618 PyObject
*arg4
= (PyObject
*) 0 ;
22619 PyObject
*result
= 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 PyObject
* obj2
= 0 ;
22625 PyObject
* obj3
= 0 ;
22626 char * kwnames
[] = {
22627 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= result
;
22652 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
= 0;
22654 wxDC
*arg1
= (wxDC
*) 0 ;
22655 PyObject
*arg2
= (PyObject
*) 0 ;
22656 PyObject
*arg3
= (PyObject
*) 0 ;
22657 PyObject
*arg4
= (PyObject
*) 0 ;
22658 PyObject
*result
= 0 ;
22661 PyObject
* obj0
= 0 ;
22662 PyObject
* obj1
= 0 ;
22663 PyObject
* obj2
= 0 ;
22664 PyObject
* obj3
= 0 ;
22665 char * kwnames
[] = {
22666 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22671 if (!SWIG_IsOK(res1
)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= result
;
22691 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
= 0;
22693 wxDC
*arg1
= (wxDC
*) 0 ;
22694 PyObject
*arg2
= (PyObject
*) 0 ;
22695 PyObject
*arg3
= (PyObject
*) 0 ;
22696 PyObject
*arg4
= (PyObject
*) 0 ;
22697 PyObject
*result
= 0 ;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 PyObject
* obj2
= 0 ;
22703 PyObject
* obj3
= 0 ;
22704 char * kwnames
[] = {
22705 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= result
;
22730 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22731 PyObject
*resultobj
= 0;
22732 wxDC
*arg1
= (wxDC
*) 0 ;
22733 PyObject
*arg2
= (PyObject
*) 0 ;
22734 PyObject
*arg3
= (PyObject
*) 0 ;
22735 PyObject
*arg4
= (PyObject
*) 0 ;
22736 PyObject
*result
= 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 PyObject
* obj2
= 0 ;
22742 PyObject
* obj3
= 0 ;
22743 char * kwnames
[] = {
22744 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22749 if (!SWIG_IsOK(res1
)) {
22750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= result
;
22769 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
= 0;
22771 wxDC
*arg1
= (wxDC
*) 0 ;
22772 PyObject
*arg2
= (PyObject
*) 0 ;
22773 PyObject
*arg3
= (PyObject
*) 0 ;
22774 PyObject
*arg4
= (PyObject
*) 0 ;
22775 PyObject
*result
= 0 ;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22780 PyObject
* obj2
= 0 ;
22781 PyObject
* obj3
= 0 ;
22782 char * kwnames
[] = {
22783 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= result
;
22808 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
= 0;
22810 wxDC
*arg1
= (wxDC
*) 0 ;
22811 PyObject
*arg2
= (PyObject
*) 0 ;
22812 PyObject
*arg3
= (PyObject
*) 0 ;
22813 PyObject
*arg4
= (PyObject
*) 0 ;
22814 PyObject
*arg5
= (PyObject
*) 0 ;
22815 PyObject
*result
= 0 ;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 PyObject
* obj2
= 0 ;
22821 PyObject
* obj3
= 0 ;
22822 PyObject
* obj4
= 0 ;
22823 char * kwnames
[] = {
22824 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= result
;
22850 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22853 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22854 return SWIG_Py_Void();
22857 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22858 PyObject
*resultobj
= 0;
22859 wxMemoryDC
*result
= 0 ;
22861 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22863 if (!wxPyCheckForApp()) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 result
= (wxMemoryDC
*)new wxMemoryDC();
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22876 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
= 0;
22878 wxDC
*arg1
= (wxDC
*) 0 ;
22879 wxMemoryDC
*result
= 0 ;
22882 PyObject
* obj0
= 0 ;
22883 char * kwnames
[] = {
22884 (char *) "oldDC", NULL
22887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22889 if (!SWIG_IsOK(res1
)) {
22890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22894 if (!wxPyCheckForApp()) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22907 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
= 0;
22909 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22910 wxBitmap
*arg2
= 0 ;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 char * kwnames
[] = {
22918 (char *) "self",(char *) "bitmap", NULL
22921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22923 if (!SWIG_IsOK(res1
)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22926 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22928 if (!SWIG_IsOK(res2
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22934 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_Py_Void();
22948 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22951 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22952 return SWIG_Py_Void();
22955 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22956 return SWIG_Python_InitShadowInstance(args
);
22959 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22960 PyObject
*resultobj
= 0;
22961 wxDC
*arg1
= (wxDC
*) 0 ;
22962 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22963 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22964 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22965 wxBufferedDC
*result
= 0 ;
22973 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
22974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22975 if (!SWIG_IsOK(res1
)) {
22976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22980 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22981 if (!SWIG_IsOK(res2
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22987 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22990 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22991 if (!SWIG_IsOK(ecode3
)) {
22992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22994 arg3
= static_cast< int >(val3
);
22997 if (!wxPyCheckForApp()) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23010 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23011 PyObject
*resultobj
= 0;
23012 wxDC
*arg1
= (wxDC
*) 0 ;
23014 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23015 wxBufferedDC
*result
= 0 ;
23022 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23024 if (!SWIG_IsOK(res1
)) {
23025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23030 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23033 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23034 if (!SWIG_IsOK(ecode3
)) {
23035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23037 arg3
= static_cast< int >(val3
);
23040 if (!wxPyCheckForApp()) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23053 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23057 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23059 if ((argc
>= 1) && (argc
<= 3)) {
23063 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23064 _v
= SWIG_CheckState(res
);
23066 if (!_v
) goto check_1
;
23068 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23072 if ((argc
>= 2) && (argc
<= 3)) {
23073 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23077 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23082 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 PyObject
*resultobj
= 0;
23084 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23087 PyObject
*swig_obj
[1] ;
23089 if (!args
) SWIG_fail
;
23090 swig_obj
[0] = args
;
23091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23092 if (!SWIG_IsOK(res1
)) {
23093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23095 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_Py_Void();
23110 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23111 PyObject
*resultobj
= 0;
23112 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23115 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23123 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_Py_Void();
23137 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23140 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23141 return SWIG_Py_Void();
23144 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23145 return SWIG_Python_InitShadowInstance(args
);
23148 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
= 0;
23150 wxWindow
*arg1
= (wxWindow
*) 0 ;
23151 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23152 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23153 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23154 wxBufferedPaintDC
*result
= 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 PyObject
* obj2
= 0 ;
23164 char * kwnames
[] = {
23165 (char *) "window",(char *) "buffer",(char *) "style", NULL
23168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23170 if (!SWIG_IsOK(res1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23173 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23176 if (!SWIG_IsOK(res2
)) {
23177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23182 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23186 if (!SWIG_IsOK(ecode3
)) {
23187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23189 arg3
= static_cast< int >(val3
);
23192 if (!wxPyCheckForApp()) SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23205 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23208 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23209 return SWIG_Py_Void();
23212 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23213 return SWIG_Python_InitShadowInstance(args
);
23216 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23217 PyObject
*resultobj
= 0;
23218 wxScreenDC
*result
= 0 ;
23220 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23222 if (!wxPyCheckForApp()) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= (wxScreenDC
*)new wxScreenDC();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23235 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
= 0;
23237 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23238 wxWindow
*arg2
= (wxWindow
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 char * kwnames
[] = {
23247 (char *) "self",(char *) "window", NULL
23250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23252 if (!SWIG_IsOK(res1
)) {
23253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23255 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23257 if (!SWIG_IsOK(res2
)) {
23258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23276 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
= 0;
23278 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23279 wxRect
*arg2
= (wxRect
*) NULL
;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 char * kwnames
[] = {
23288 (char *) "self",(char *) "rect", NULL
23291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23293 if (!SWIG_IsOK(res1
)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23296 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23299 if (!SWIG_IsOK(res2
)) {
23300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23302 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23319 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23320 PyObject
*resultobj
= 0;
23321 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23325 PyObject
*swig_obj
[1] ;
23327 if (!args
) SWIG_fail
;
23328 swig_obj
[0] = args
;
23329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23330 if (!SWIG_IsOK(res1
)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23333 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (bool)(arg1
)->EndDrawingOnTop();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23349 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23352 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23353 return SWIG_Py_Void();
23356 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23357 return SWIG_Python_InitShadowInstance(args
);
23360 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
= 0;
23362 wxWindow
*arg1
= (wxWindow
*) 0 ;
23363 wxClientDC
*result
= 0 ;
23366 PyObject
* obj0
= 0 ;
23367 char * kwnames
[] = {
23368 (char *) "win", NULL
23371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23373 if (!SWIG_IsOK(res1
)) {
23374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23378 if (!wxPyCheckForApp()) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (wxClientDC
*)new wxClientDC(arg1
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23391 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23394 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23395 return SWIG_Py_Void();
23398 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23399 return SWIG_Python_InitShadowInstance(args
);
23402 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
= 0;
23404 wxWindow
*arg1
= (wxWindow
*) 0 ;
23405 wxPaintDC
*result
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 char * kwnames
[] = {
23410 (char *) "win", NULL
23413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23415 if (!SWIG_IsOK(res1
)) {
23416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23420 if (!wxPyCheckForApp()) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23433 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23436 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23437 return SWIG_Py_Void();
23440 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23441 return SWIG_Python_InitShadowInstance(args
);
23444 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
= 0;
23446 wxWindow
*arg1
= (wxWindow
*) 0 ;
23447 wxWindowDC
*result
= 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char * kwnames
[] = {
23452 (char *) "win", NULL
23455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23457 if (!SWIG_IsOK(res1
)) {
23458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23462 if (!wxPyCheckForApp()) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23475 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23478 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23479 return SWIG_Py_Void();
23482 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23483 return SWIG_Python_InitShadowInstance(args
);
23486 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
= 0;
23490 wxMirrorDC
*result
= 0 ;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char * kwnames
[] = {
23498 (char *) "dc",(char *) "mirror", NULL
23501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23502 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23511 if (!SWIG_IsOK(ecode2
)) {
23512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23514 arg2
= static_cast< bool >(val2
);
23516 if (!wxPyCheckForApp()) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23529 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23532 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23533 return SWIG_Py_Void();
23536 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23537 return SWIG_Python_InitShadowInstance(args
);
23540 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
= 0;
23542 wxPrintData
*arg1
= 0 ;
23543 wxPostScriptDC
*result
= 0 ;
23546 PyObject
* obj0
= 0 ;
23547 char * kwnames
[] = {
23548 (char *) "printData", NULL
23551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23552 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23553 if (!SWIG_IsOK(res1
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23559 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23561 if (!wxPyCheckForApp()) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23574 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23575 PyObject
*resultobj
= 0;
23576 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23577 wxPrintData
*result
= 0 ;
23580 PyObject
*swig_obj
[1] ;
23582 if (!args
) SWIG_fail
;
23583 swig_obj
[0] = args
;
23584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23588 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23593 result
= (wxPrintData
*) &_result_ref
;
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23605 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
= 0;
23607 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23608 wxPrintData
*arg2
= 0 ;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char * kwnames
[] = {
23616 (char *) "self",(char *) "data", NULL
23619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23624 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23626 if (!SWIG_IsOK(res2
)) {
23627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23632 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_Py_Void();
23646 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
= 0;
23651 PyObject
* obj0
= 0 ;
23652 char * kwnames
[] = {
23653 (char *) "ppi", NULL
23656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23658 if (!SWIG_IsOK(ecode1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23661 arg1
= static_cast< int >(val1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 wxPostScriptDC::SetResolution(arg1
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_Py_Void();
23675 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23676 PyObject
*resultobj
= 0;
23679 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (int)wxPostScriptDC::GetResolution();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_From_int(static_cast< int >(result
));
23693 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23696 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23697 return SWIG_Py_Void();
23700 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23701 return SWIG_Python_InitShadowInstance(args
);
23704 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
= 0;
23706 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23707 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23708 wxMetaFile
*result
= 0 ;
23709 bool temp1
= false ;
23710 PyObject
* obj0
= 0 ;
23711 char * kwnames
[] = {
23712 (char *) "filename", NULL
23715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23718 arg1
= wxString_in_helper(obj0
);
23719 if (arg1
== NULL
) SWIG_fail
;
23724 if (!wxPyCheckForApp()) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23745 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23748 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23749 return SWIG_Py_Void();
23752 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23753 return SWIG_Python_InitShadowInstance(args
);
23756 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
= 0;
23758 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23759 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23760 int arg2
= (int) 0 ;
23761 int arg3
= (int) 0 ;
23762 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23763 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23764 wxMetaFileDC
*result
= 0 ;
23765 bool temp1
= false ;
23770 bool temp4
= false ;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 PyObject
* obj2
= 0 ;
23774 PyObject
* obj3
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23782 arg1
= wxString_in_helper(obj0
);
23783 if (arg1
== NULL
) SWIG_fail
;
23788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23789 if (!SWIG_IsOK(ecode2
)) {
23790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23792 arg2
= static_cast< int >(val2
);
23795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23796 if (!SWIG_IsOK(ecode3
)) {
23797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23799 arg3
= static_cast< int >(val3
);
23803 arg4
= wxString_in_helper(obj3
);
23804 if (arg4
== NULL
) SWIG_fail
;
23809 if (!wxPyCheckForApp()) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
23838 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23841 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
23842 return SWIG_Py_Void();
23845 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23846 return SWIG_Python_InitShadowInstance(args
);
23849 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
= 0;
23851 wxPrintData
*arg1
= 0 ;
23852 wxPrinterDC
*result
= 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char * kwnames
[] = {
23857 (char *) "printData", NULL
23860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
23861 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23862 if (!SWIG_IsOK(res1
)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23868 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23870 if (!wxPyCheckForApp()) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
23883 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
23887 return SWIG_Py_Void();
23890 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23891 return SWIG_Python_InitShadowInstance(args
);
23894 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
= 0;
23898 int arg3
= (int) true ;
23899 int arg4
= (int) 1 ;
23900 wxImageList
*result
= 0 ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 PyObject
* obj2
= 0 ;
23912 PyObject
* obj3
= 0 ;
23913 char * kwnames
[] = {
23914 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
23917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23918 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23919 if (!SWIG_IsOK(ecode1
)) {
23920 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
23922 arg1
= static_cast< int >(val1
);
23923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23924 if (!SWIG_IsOK(ecode2
)) {
23925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
23927 arg2
= static_cast< int >(val2
);
23929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23930 if (!SWIG_IsOK(ecode3
)) {
23931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
23933 arg3
= static_cast< int >(val3
);
23936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23937 if (!SWIG_IsOK(ecode4
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
23940 arg4
= static_cast< int >(val4
);
23943 if (!wxPyCheckForApp()) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23950 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
23958 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23959 PyObject
*resultobj
= 0;
23960 wxImageList
*arg1
= (wxImageList
*) 0 ;
23963 PyObject
*swig_obj
[1] ;
23965 if (!args
) SWIG_fail
;
23966 swig_obj
[0] = args
;
23967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
23968 if (!SWIG_IsOK(res1
)) {
23969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
23971 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= SWIG_Py_Void();
23986 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
= 0;
23988 wxImageList
*arg1
= (wxImageList
*) 0 ;
23989 wxBitmap
*arg2
= 0 ;
23990 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
23991 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 PyObject
* obj2
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24011 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24013 if (!SWIG_IsOK(res2
)) {
24014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24019 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24021 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24022 if (!SWIG_IsOK(res3
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24028 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_From_int(static_cast< int >(result
));
24043 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
= 0;
24045 wxImageList
*arg1
= (wxImageList
*) 0 ;
24046 wxBitmap
*arg2
= 0 ;
24047 wxColour
*arg3
= 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 PyObject
* obj2
= 0 ;
24057 char * kwnames
[] = {
24058 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24063 if (!SWIG_IsOK(res1
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24066 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24068 if (!SWIG_IsOK(res2
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24074 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24077 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_From_int(static_cast< int >(result
));
24092 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
= 0;
24094 wxImageList
*arg1
= (wxImageList
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char * kwnames
[] = {
24104 (char *) "self",(char *) "icon", NULL
24107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24109 if (!SWIG_IsOK(res1
)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24112 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24114 if (!SWIG_IsOK(res2
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24120 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_From_int(static_cast< int >(result
));
24134 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
= 0;
24136 wxImageList
*arg1
= (wxImageList
*) 0 ;
24138 SwigValueWrapper
<wxBitmap
> result
;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char * kwnames
[] = {
24146 (char *) "self",(char *) "index", NULL
24149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24151 if (!SWIG_IsOK(res1
)) {
24152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24154 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24156 if (!SWIG_IsOK(ecode2
)) {
24157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24159 arg2
= static_cast< int >(val2
);
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24173 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
= 0;
24175 wxImageList
*arg1
= (wxImageList
*) 0 ;
24182 PyObject
* obj0
= 0 ;
24183 PyObject
* obj1
= 0 ;
24184 char * kwnames
[] = {
24185 (char *) "self",(char *) "index", NULL
24188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24190 if (!SWIG_IsOK(res1
)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24193 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24195 if (!SWIG_IsOK(ecode2
)) {
24196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24198 arg2
= static_cast< int >(val2
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24212 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
= 0;
24214 wxImageList
*arg1
= (wxImageList
*) 0 ;
24216 wxBitmap
*arg3
= 0 ;
24217 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24218 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 PyObject
* obj2
= 0 ;
24231 PyObject
* obj3
= 0 ;
24232 char * kwnames
[] = {
24233 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24238 if (!SWIG_IsOK(res1
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24241 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24243 if (!SWIG_IsOK(ecode2
)) {
24244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24246 arg2
= static_cast< int >(val2
);
24247 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24248 if (!SWIG_IsOK(res3
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24254 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24256 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24257 if (!SWIG_IsOK(res4
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24263 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24280 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
= 0;
24282 wxImageList
*arg1
= (wxImageList
*) 0 ;
24287 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24288 bool arg7
= (bool) (bool)false ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 PyObject
* obj2
= 0 ;
24307 PyObject
* obj3
= 0 ;
24308 PyObject
* obj4
= 0 ;
24309 PyObject
* obj5
= 0 ;
24310 PyObject
* obj6
= 0 ;
24311 char * kwnames
[] = {
24312 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24320 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24322 if (!SWIG_IsOK(ecode2
)) {
24323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24325 arg2
= static_cast< int >(val2
);
24326 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24327 if (!SWIG_IsOK(res3
)) {
24328 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24333 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24335 if (!SWIG_IsOK(ecode4
)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24338 arg4
= static_cast< int >(val4
);
24339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24340 if (!SWIG_IsOK(ecode5
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24343 arg5
= static_cast< int >(val5
);
24345 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24346 if (!SWIG_IsOK(ecode6
)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24349 arg6
= static_cast< int >(val6
);
24352 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24353 if (!SWIG_IsOK(ecode7
)) {
24354 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24356 arg7
= static_cast< bool >(val7
);
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24373 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24374 PyObject
*resultobj
= 0;
24375 wxImageList
*arg1
= (wxImageList
*) 0 ;
24379 PyObject
*swig_obj
[1] ;
24381 if (!args
) SWIG_fail
;
24382 swig_obj
[0] = args
;
24383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24384 if (!SWIG_IsOK(res1
)) {
24385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24387 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (int)(arg1
)->GetImageCount();
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 resultobj
= SWIG_From_int(static_cast< int >(result
));
24401 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
= 0;
24403 wxImageList
*arg1
= (wxImageList
*) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char * kwnames
[] = {
24413 (char *) "self",(char *) "index", NULL
24416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24418 if (!SWIG_IsOK(res1
)) {
24419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24421 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24423 if (!SWIG_IsOK(ecode2
)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24426 arg2
= static_cast< int >(val2
);
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (bool)(arg1
)->Remove(arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24442 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24443 PyObject
*resultobj
= 0;
24444 wxImageList
*arg1
= (wxImageList
*) 0 ;
24448 PyObject
*swig_obj
[1] ;
24450 if (!args
) SWIG_fail
;
24451 swig_obj
[0] = args
;
24452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24453 if (!SWIG_IsOK(res1
)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24456 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)(arg1
)->RemoveAll();
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24472 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
= 0;
24474 wxImageList
*arg1
= (wxImageList
*) 0 ;
24483 int res3
= SWIG_TMPOBJ
;
24485 int res4
= SWIG_TMPOBJ
;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "self",(char *) "index", NULL
24494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24499 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24501 if (!SWIG_IsOK(ecode2
)) {
24502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24504 arg2
= static_cast< int >(val2
);
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24511 resultobj
= SWIG_Py_Void();
24512 if (SWIG_IsTmpObj(res3
)) {
24513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24515 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24518 if (SWIG_IsTmpObj(res4
)) {
24519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24521 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24530 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24533 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24534 return SWIG_Py_Void();
24537 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24538 return SWIG_Python_InitShadowInstance(args
);
24541 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24542 PyObject
*resultobj
= 0;
24543 wxStockGDI
*result
= 0 ;
24545 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (wxStockGDI
*)new wxStockGDI();
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24559 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24560 PyObject
*resultobj
= 0;
24561 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24564 PyObject
*swig_obj
[1] ;
24566 if (!args
) SWIG_fail
;
24567 swig_obj
[0] = args
;
24568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24569 if (!SWIG_IsOK(res1
)) {
24570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24572 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_Py_Void();
24587 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24588 PyObject
*resultobj
= 0;
24590 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 wxStockGDI::DeleteAll();
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= SWIG_Py_Void();
24604 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24605 PyObject
*resultobj
= 0;
24606 wxStockGDI
*result
= 0 ;
24608 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24613 result
= (wxStockGDI
*) &_result_ref
;
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24625 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
= 0;
24627 wxStockGDI::Item arg1
;
24628 wxBrush
*result
= 0 ;
24631 PyObject
* obj0
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "item", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24637 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24638 if (!SWIG_IsOK(ecode1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24641 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24655 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
= 0;
24657 wxStockGDI::Item arg1
;
24658 wxColour
*result
= 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "item", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24667 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24668 if (!SWIG_IsOK(ecode1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24671 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24685 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
= 0;
24687 wxStockGDI::Item arg1
;
24688 wxCursor
*result
= 0 ;
24691 PyObject
* obj0
= 0 ;
24692 char * kwnames
[] = {
24693 (char *) "item", NULL
24696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24698 if (!SWIG_IsOK(ecode1
)) {
24699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24701 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24715 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
= 0;
24717 wxStockGDI::Item arg1
;
24718 wxPen
*result
= 0 ;
24721 PyObject
* obj0
= 0 ;
24722 char * kwnames
[] = {
24723 (char *) "item", NULL
24726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24728 if (!SWIG_IsOK(ecode1
)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24731 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24745 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
= 0;
24747 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24748 wxStockGDI::Item arg2
;
24749 wxFont
*result
= 0 ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 char * kwnames
[] = {
24757 (char *) "self",(char *) "item", NULL
24760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24762 if (!SWIG_IsOK(res1
)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24765 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24767 if (!SWIG_IsOK(ecode2
)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24770 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24784 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24787 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24788 return SWIG_Py_Void();
24791 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24792 return SWIG_Python_InitShadowInstance(args
);
24795 SWIGINTERN
int NullBitmap_set(PyObject
*) {
24796 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
24801 SWIGINTERN PyObject
*NullBitmap_get(void) {
24802 PyObject
*pyobj
= 0;
24804 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
24809 SWIGINTERN
int NullIcon_set(PyObject
*) {
24810 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
24815 SWIGINTERN PyObject
*NullIcon_get(void) {
24816 PyObject
*pyobj
= 0;
24818 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
24823 SWIGINTERN
int NullCursor_set(PyObject
*) {
24824 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
24829 SWIGINTERN PyObject
*NullCursor_get(void) {
24830 PyObject
*pyobj
= 0;
24832 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
24837 SWIGINTERN
int NullPen_set(PyObject
*) {
24838 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
24843 SWIGINTERN PyObject
*NullPen_get(void) {
24844 PyObject
*pyobj
= 0;
24846 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
24851 SWIGINTERN
int NullBrush_set(PyObject
*) {
24852 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
24857 SWIGINTERN PyObject
*NullBrush_get(void) {
24858 PyObject
*pyobj
= 0;
24860 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
24865 SWIGINTERN
int NullPalette_set(PyObject
*) {
24866 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
24871 SWIGINTERN PyObject
*NullPalette_get(void) {
24872 PyObject
*pyobj
= 0;
24874 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
24879 SWIGINTERN
int NullFont_set(PyObject
*) {
24880 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
24885 SWIGINTERN PyObject
*NullFont_get(void) {
24886 PyObject
*pyobj
= 0;
24888 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
24893 SWIGINTERN
int NullColour_set(PyObject
*) {
24894 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
24899 SWIGINTERN PyObject
*NullColour_get(void) {
24900 PyObject
*pyobj
= 0;
24902 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
24907 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24908 PyObject
*resultobj
= 0;
24909 wxGDIObjListBase
*result
= 0 ;
24911 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
24925 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24926 PyObject
*resultobj
= 0;
24927 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
24930 PyObject
*swig_obj
[1] ;
24932 if (!args
) SWIG_fail
;
24933 swig_obj
[0] = args
;
24934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
24935 if (!SWIG_IsOK(res1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
24938 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_Py_Void();
24953 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24956 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
24957 return SWIG_Py_Void();
24960 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 return SWIG_Python_InitShadowInstance(args
);
24964 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxPenList
*arg1
= (wxPenList
*) 0 ;
24967 wxColour
*arg2
= 0 ;
24970 wxPen
*result
= 0 ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 PyObject
* obj2
= 0 ;
24981 PyObject
* obj3
= 0 ;
24982 char * kwnames
[] = {
24983 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
24986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
24988 if (!SWIG_IsOK(res1
)) {
24989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
24991 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
24994 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24997 if (!SWIG_IsOK(ecode3
)) {
24998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25000 arg3
= static_cast< int >(val3
);
25001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25002 if (!SWIG_IsOK(ecode4
)) {
25003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25005 arg4
= static_cast< int >(val4
);
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25019 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
= 0;
25021 wxPenList
*arg1
= (wxPenList
*) 0 ;
25022 wxPen
*arg2
= (wxPen
*) 0 ;
25027 PyObject
* obj0
= 0 ;
25028 PyObject
* obj1
= 0 ;
25029 char * kwnames
[] = {
25030 (char *) "self",(char *) "pen", NULL
25033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25038 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25040 if (!SWIG_IsOK(res2
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25043 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 (arg1
)->AddPen(arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_Py_Void();
25057 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
= 0;
25059 wxPenList
*arg1
= (wxPenList
*) 0 ;
25060 wxPen
*arg2
= (wxPen
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 char * kwnames
[] = {
25068 (char *) "self",(char *) "pen", NULL
25071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25076 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25078 if (!SWIG_IsOK(res2
)) {
25079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25081 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 (arg1
)->RemovePen(arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_Py_Void();
25095 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25098 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25099 return SWIG_Py_Void();
25102 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
= 0;
25104 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25105 wxColour
*arg2
= 0 ;
25106 int arg3
= (int) wxSOLID
;
25107 wxBrush
*result
= 0 ;
25113 PyObject
* obj0
= 0 ;
25114 PyObject
* obj1
= 0 ;
25115 PyObject
* obj2
= 0 ;
25116 char * kwnames
[] = {
25117 (char *) "self",(char *) "colour",(char *) "style", NULL
25120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25122 if (!SWIG_IsOK(res1
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25125 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25128 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25132 if (!SWIG_IsOK(ecode3
)) {
25133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25135 arg3
= static_cast< int >(val3
);
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25150 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
= 0;
25152 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25153 wxBrush
*arg2
= (wxBrush
*) 0 ;
25158 PyObject
* obj0
= 0 ;
25159 PyObject
* obj1
= 0 ;
25160 char * kwnames
[] = {
25161 (char *) "self",(char *) "brush", NULL
25164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25166 if (!SWIG_IsOK(res1
)) {
25167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25169 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25171 if (!SWIG_IsOK(res2
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25174 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 (arg1
)->AddBrush(arg2
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_Py_Void();
25188 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
= 0;
25190 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25191 wxBrush
*arg2
= (wxBrush
*) 0 ;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 char * kwnames
[] = {
25199 (char *) "self",(char *) "brush", NULL
25202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25204 if (!SWIG_IsOK(res1
)) {
25205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25207 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25209 if (!SWIG_IsOK(res2
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25212 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->RemoveBrush(arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_Py_Void();
25226 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25229 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25230 return SWIG_Py_Void();
25233 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxFontList
*arg1
= (wxFontList
*) 0 ;
25240 bool arg6
= (bool) false ;
25241 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25243 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25244 wxFont
*result
= 0 ;
25257 bool temp7
= false ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 PyObject
* obj2
= 0 ;
25263 PyObject
* obj3
= 0 ;
25264 PyObject
* obj4
= 0 ;
25265 PyObject
* obj5
= 0 ;
25266 PyObject
* obj6
= 0 ;
25267 PyObject
* obj7
= 0 ;
25268 char * kwnames
[] = {
25269 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25277 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25279 if (!SWIG_IsOK(ecode2
)) {
25280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25282 arg2
= static_cast< int >(val2
);
25283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25284 if (!SWIG_IsOK(ecode3
)) {
25285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25287 arg3
= static_cast< int >(val3
);
25288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25289 if (!SWIG_IsOK(ecode4
)) {
25290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25292 arg4
= static_cast< int >(val4
);
25293 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25294 if (!SWIG_IsOK(ecode5
)) {
25295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25297 arg5
= static_cast< int >(val5
);
25299 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25300 if (!SWIG_IsOK(ecode6
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25303 arg6
= static_cast< bool >(val6
);
25307 arg7
= wxString_in_helper(obj6
);
25308 if (arg7
== NULL
) SWIG_fail
;
25313 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25314 if (!SWIG_IsOK(ecode8
)) {
25315 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25317 arg8
= static_cast< wxFontEncoding
>(val8
);
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25340 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
= 0;
25342 wxFontList
*arg1
= (wxFontList
*) 0 ;
25343 wxFont
*arg2
= (wxFont
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "self",(char *) "font", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25359 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25361 if (!SWIG_IsOK(res2
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25364 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 (arg1
)->AddFont(arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_Py_Void();
25378 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
= 0;
25380 wxFontList
*arg1
= (wxFontList
*) 0 ;
25381 wxFont
*arg2
= (wxFont
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char * kwnames
[] = {
25389 (char *) "self",(char *) "font", NULL
25392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25397 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25399 if (!SWIG_IsOK(res2
)) {
25400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25402 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->RemoveFont(arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_Py_Void();
25416 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25419 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25420 return SWIG_Py_Void();
25423 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25424 PyObject
*resultobj
= 0;
25425 wxColourDatabase
*result
= 0 ;
25427 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25429 if (!wxPyCheckForApp()) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 result
= (wxColourDatabase
*)new wxColourDatabase();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25442 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25443 PyObject
*resultobj
= 0;
25444 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25447 PyObject
*swig_obj
[1] ;
25449 if (!args
) SWIG_fail
;
25450 swig_obj
[0] = args
;
25451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25452 if (!SWIG_IsOK(res1
)) {
25453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25455 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= SWIG_Py_Void();
25470 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
= 0;
25472 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25473 wxString
*arg2
= 0 ;
25477 bool temp2
= false ;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 char * kwnames
[] = {
25481 (char *) "self",(char *) "name", NULL
25484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25486 if (!SWIG_IsOK(res1
)) {
25487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25489 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25491 arg2
= wxString_in_helper(obj1
);
25492 if (arg2
== NULL
) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25516 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
= 0;
25518 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25519 wxColour
*arg2
= 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 char * kwnames
[] = {
25527 (char *) "self",(char *) "colour", NULL
25530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25535 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25559 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
= 0;
25561 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25562 wxString
*arg2
= 0 ;
25563 wxColour
*arg3
= 0 ;
25566 bool temp2
= false ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 PyObject
* obj2
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "self",(char *) "name",(char *) "colour", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25580 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25582 arg2
= wxString_in_helper(obj1
);
25583 if (arg2
== NULL
) SWIG_fail
;
25588 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 resultobj
= SWIG_Py_Void();
25611 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
= 0;
25613 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25614 wxString
*arg2
= 0 ;
25620 bool temp2
= false ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 PyObject
* obj2
= 0 ;
25630 PyObject
* obj3
= 0 ;
25631 PyObject
* obj4
= 0 ;
25632 char * kwnames
[] = {
25633 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25641 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25643 arg2
= wxString_in_helper(obj1
);
25644 if (arg2
== NULL
) SWIG_fail
;
25647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25648 if (!SWIG_IsOK(ecode3
)) {
25649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25651 arg3
= static_cast< int >(val3
);
25652 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25653 if (!SWIG_IsOK(ecode4
)) {
25654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25656 arg4
= static_cast< int >(val4
);
25657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25658 if (!SWIG_IsOK(ecode5
)) {
25659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25661 arg5
= static_cast< int >(val5
);
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 resultobj
= SWIG_Py_Void();
25683 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25686 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25687 return SWIG_Py_Void();
25690 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25691 return SWIG_Python_InitShadowInstance(args
);
25694 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25695 PyObject
*resultobj
= 0;
25696 wxFontList
*result
= 0 ;
25698 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= (wxFontList
*)_wxPyInitTheFontList();
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25712 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25713 PyObject
*resultobj
= 0;
25714 wxPenList
*result
= 0 ;
25716 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (wxPenList
*)_wxPyInitThePenList();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25730 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 PyObject
*resultobj
= 0;
25732 wxBrushList
*result
= 0 ;
25734 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25748 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25749 PyObject
*resultobj
= 0;
25750 wxColourDatabase
*result
= 0 ;
25752 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25766 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25767 PyObject
*resultobj
= 0;
25768 wxEffects
*result
= 0 ;
25770 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 result
= (wxEffects
*)new wxEffects();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25784 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25785 PyObject
*resultobj
= 0;
25786 wxEffects
*arg1
= (wxEffects
*) 0 ;
25790 PyObject
*swig_obj
[1] ;
25792 if (!args
) SWIG_fail
;
25793 swig_obj
[0] = args
;
25794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25795 if (!SWIG_IsOK(res1
)) {
25796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25798 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25812 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25813 PyObject
*resultobj
= 0;
25814 wxEffects
*arg1
= (wxEffects
*) 0 ;
25818 PyObject
*swig_obj
[1] ;
25820 if (!args
) SWIG_fail
;
25821 swig_obj
[0] = args
;
25822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25826 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25829 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25840 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25841 PyObject
*resultobj
= 0;
25842 wxEffects
*arg1
= (wxEffects
*) 0 ;
25846 PyObject
*swig_obj
[1] ;
25848 if (!args
) SWIG_fail
;
25849 swig_obj
[0] = args
;
25850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25851 if (!SWIG_IsOK(res1
)) {
25852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25854 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25868 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25869 PyObject
*resultobj
= 0;
25870 wxEffects
*arg1
= (wxEffects
*) 0 ;
25874 PyObject
*swig_obj
[1] ;
25876 if (!args
) SWIG_fail
;
25877 swig_obj
[0] = args
;
25878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25879 if (!SWIG_IsOK(res1
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25882 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25896 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25897 PyObject
*resultobj
= 0;
25898 wxEffects
*arg1
= (wxEffects
*) 0 ;
25902 PyObject
*swig_obj
[1] ;
25904 if (!args
) SWIG_fail
;
25905 swig_obj
[0] = args
;
25906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25907 if (!SWIG_IsOK(res1
)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25910 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25924 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
= 0;
25926 wxEffects
*arg1
= (wxEffects
*) 0 ;
25927 wxColour
*arg2
= 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char * kwnames
[] = {
25934 (char *) "self",(char *) "c", NULL
25937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
25942 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_Py_Void();
25960 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
= 0;
25962 wxEffects
*arg1
= (wxEffects
*) 0 ;
25963 wxColour
*arg2
= 0 ;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char * kwnames
[] = {
25970 (char *) "self",(char *) "c", NULL
25973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
25978 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25981 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_Py_Void();
25996 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
= 0;
25998 wxEffects
*arg1
= (wxEffects
*) 0 ;
25999 wxColour
*arg2
= 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 char * kwnames
[] = {
26006 (char *) "self",(char *) "c", NULL
26009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26011 if (!SWIG_IsOK(res1
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26014 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26017 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_Py_Void();
26032 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
= 0;
26034 wxEffects
*arg1
= (wxEffects
*) 0 ;
26035 wxColour
*arg2
= 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 char * kwnames
[] = {
26042 (char *) "self",(char *) "c", NULL
26045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26047 if (!SWIG_IsOK(res1
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26050 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_Py_Void();
26068 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
= 0;
26070 wxEffects
*arg1
= (wxEffects
*) 0 ;
26071 wxColour
*arg2
= 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 char * kwnames
[] = {
26078 (char *) "self",(char *) "c", NULL
26081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26083 if (!SWIG_IsOK(res1
)) {
26084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26086 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_Py_Void();
26104 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
= 0;
26106 wxEffects
*arg1
= (wxEffects
*) 0 ;
26107 wxColour
*arg2
= 0 ;
26108 wxColour
*arg3
= 0 ;
26109 wxColour
*arg4
= 0 ;
26110 wxColour
*arg5
= 0 ;
26111 wxColour
*arg6
= 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 PyObject
* obj2
= 0 ;
26122 PyObject
* obj3
= 0 ;
26123 PyObject
* obj4
= 0 ;
26124 PyObject
* obj5
= 0 ;
26125 char * kwnames
[] = {
26126 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26131 if (!SWIG_IsOK(res1
)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26134 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26137 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26141 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26145 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26149 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26153 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_Py_Void();
26168 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
= 0;
26170 wxEffects
*arg1
= (wxEffects
*) 0 ;
26173 int arg4
= (int) 1 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 PyObject
* obj2
= 0 ;
26184 PyObject
* obj3
= 0 ;
26185 char * kwnames
[] = {
26186 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26191 if (!SWIG_IsOK(res1
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26194 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26196 if (!SWIG_IsOK(res2
)) {
26197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26202 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26205 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26208 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26209 if (!SWIG_IsOK(ecode4
)) {
26210 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26212 arg4
= static_cast< int >(val4
);
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= SWIG_Py_Void();
26227 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
= 0;
26229 wxEffects
*arg1
= (wxEffects
*) 0 ;
26232 wxBitmap
*arg4
= 0 ;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 PyObject
* obj2
= 0 ;
26244 PyObject
* obj3
= 0 ;
26245 char * kwnames
[] = {
26246 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26254 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26259 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26260 if (!SWIG_IsOK(res3
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26266 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26267 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26268 if (!SWIG_IsOK(res4
)) {
26269 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26274 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26290 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26293 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26294 return SWIG_Py_Void();
26297 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 return SWIG_Python_InitShadowInstance(args
);
26301 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
= 0;
26306 wxSplitterRenderParams
*result
= 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 PyObject
* obj2
= 0 ;
26316 char * kwnames
[] = {
26317 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26322 if (!SWIG_IsOK(ecode1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26325 arg1
= static_cast< int >(val1
);
26326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26327 if (!SWIG_IsOK(ecode2
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26330 arg2
= static_cast< int >(val2
);
26331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26332 if (!SWIG_IsOK(ecode3
)) {
26333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26335 arg3
= static_cast< bool >(val3
);
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26349 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26350 PyObject
*resultobj
= 0;
26351 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26354 PyObject
*swig_obj
[1] ;
26356 if (!args
) SWIG_fail
;
26357 swig_obj
[0] = args
;
26358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26362 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_Py_Void();
26377 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26378 PyObject
*resultobj
= 0;
26379 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26383 PyObject
*swig_obj
[1] ;
26385 if (!args
) SWIG_fail
;
26386 swig_obj
[0] = args
;
26387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26388 if (!SWIG_IsOK(res1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26391 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26392 result
= (int)(int) ((arg1
)->widthSash
);
26393 resultobj
= SWIG_From_int(static_cast< int >(result
));
26400 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26401 PyObject
*resultobj
= 0;
26402 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26406 PyObject
*swig_obj
[1] ;
26408 if (!args
) SWIG_fail
;
26409 swig_obj
[0] = args
;
26410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26414 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26415 result
= (int)(int) ((arg1
)->border
);
26416 resultobj
= SWIG_From_int(static_cast< int >(result
));
26423 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26424 PyObject
*resultobj
= 0;
26425 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26429 PyObject
*swig_obj
[1] ;
26431 if (!args
) SWIG_fail
;
26432 swig_obj
[0] = args
;
26433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26437 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26438 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26439 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26446 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26449 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26450 return SWIG_Py_Void();
26453 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26454 return SWIG_Python_InitShadowInstance(args
);
26457 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxHeaderButtonParams
*result
= 0 ;
26461 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
26475 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26476 PyObject
*resultobj
= 0;
26477 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26480 PyObject
*swig_obj
[1] ;
26482 if (!args
) SWIG_fail
;
26483 swig_obj
[0] = args
;
26484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
26485 if (!SWIG_IsOK(res1
)) {
26486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26488 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_Py_Void();
26503 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26504 PyObject
*resultobj
= 0;
26505 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26506 wxColour
*arg2
= (wxColour
*) 0 ;
26510 PyObject
*swig_obj
[2] ;
26512 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26517 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26520 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26522 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
26524 resultobj
= SWIG_Py_Void();
26531 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26532 PyObject
*resultobj
= 0;
26533 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26534 wxColour
*result
= 0 ;
26537 PyObject
*swig_obj
[1] ;
26539 if (!args
) SWIG_fail
;
26540 swig_obj
[0] = args
;
26541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26545 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26546 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
26547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26554 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26555 PyObject
*resultobj
= 0;
26556 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26557 wxColour
*arg2
= (wxColour
*) 0 ;
26561 PyObject
*swig_obj
[2] ;
26563 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
26564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26565 if (!SWIG_IsOK(res1
)) {
26566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26568 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26571 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26573 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
26575 resultobj
= SWIG_Py_Void();
26582 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26583 PyObject
*resultobj
= 0;
26584 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26585 wxColour
*result
= 0 ;
26588 PyObject
*swig_obj
[1] ;
26590 if (!args
) SWIG_fail
;
26591 swig_obj
[0] = args
;
26592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26593 if (!SWIG_IsOK(res1
)) {
26594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26596 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26597 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
26598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26605 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26606 PyObject
*resultobj
= 0;
26607 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26608 wxString
*arg2
= (wxString
*) 0 ;
26611 bool temp2
= false ;
26612 PyObject
*swig_obj
[2] ;
26614 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
26615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26616 if (!SWIG_IsOK(res1
)) {
26617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26619 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26621 arg2
= wxString_in_helper(swig_obj
[1]);
26622 if (arg2
== NULL
) SWIG_fail
;
26625 if (arg1
) (arg1
)->m_labelText
= *arg2
;
26627 resultobj
= SWIG_Py_Void();
26642 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26643 PyObject
*resultobj
= 0;
26644 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26645 wxString
*result
= 0 ;
26648 PyObject
*swig_obj
[1] ;
26650 if (!args
) SWIG_fail
;
26651 swig_obj
[0] = args
;
26652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26653 if (!SWIG_IsOK(res1
)) {
26654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26656 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26657 result
= (wxString
*)& ((arg1
)->m_labelText
);
26660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26671 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26672 PyObject
*resultobj
= 0;
26673 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26674 wxFont
*arg2
= (wxFont
*) 0 ;
26679 PyObject
*swig_obj
[2] ;
26681 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
26682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26683 if (!SWIG_IsOK(res1
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26686 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26687 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26688 if (!SWIG_IsOK(res2
)) {
26689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
26691 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26692 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
26694 resultobj
= SWIG_Py_Void();
26701 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26702 PyObject
*resultobj
= 0;
26703 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26704 wxFont
*result
= 0 ;
26707 PyObject
*swig_obj
[1] ;
26709 if (!args
) SWIG_fail
;
26710 swig_obj
[0] = args
;
26711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26715 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26716 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
26717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26724 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26725 PyObject
*resultobj
= 0;
26726 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26727 wxColour
*arg2
= (wxColour
*) 0 ;
26731 PyObject
*swig_obj
[2] ;
26733 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
26734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26738 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26741 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26743 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
26745 resultobj
= SWIG_Py_Void();
26752 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26753 PyObject
*resultobj
= 0;
26754 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26755 wxColour
*result
= 0 ;
26758 PyObject
*swig_obj
[1] ;
26760 if (!args
) SWIG_fail
;
26761 swig_obj
[0] = args
;
26762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26766 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26767 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
26768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26775 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26776 PyObject
*resultobj
= 0;
26777 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26778 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26783 PyObject
*swig_obj
[2] ;
26785 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
26786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26787 if (!SWIG_IsOK(res1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26790 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26791 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
26792 if (!SWIG_IsOK(res2
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
26795 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26796 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
26798 resultobj
= SWIG_Py_Void();
26805 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26806 PyObject
*resultobj
= 0;
26807 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26808 wxBitmap
*result
= 0 ;
26811 PyObject
*swig_obj
[1] ;
26813 if (!args
) SWIG_fail
;
26814 swig_obj
[0] = args
;
26815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26816 if (!SWIG_IsOK(res1
)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26819 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26820 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
26821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
26828 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26829 PyObject
*resultobj
= 0;
26830 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26836 PyObject
*swig_obj
[2] ;
26838 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
26839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26840 if (!SWIG_IsOK(res1
)) {
26841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26843 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26844 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
26845 if (!SWIG_IsOK(ecode2
)) {
26846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
26848 arg2
= static_cast< int >(val2
);
26849 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
26851 resultobj
= SWIG_Py_Void();
26858 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26859 PyObject
*resultobj
= 0;
26860 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26864 PyObject
*swig_obj
[1] ;
26866 if (!args
) SWIG_fail
;
26867 swig_obj
[0] = args
;
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_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26872 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26873 result
= (int) ((arg1
)->m_labelAlignment
);
26874 resultobj
= SWIG_From_int(static_cast< int >(result
));
26881 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26884 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
26885 return SWIG_Py_Void();
26888 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26889 return SWIG_Python_InitShadowInstance(args
);
26892 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
= 0;
26896 wxRendererVersion
*result
= 0 ;
26901 PyObject
* obj0
= 0 ;
26902 PyObject
* obj1
= 0 ;
26903 char * kwnames
[] = {
26904 (char *) "version_",(char *) "age_", NULL
26907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26909 if (!SWIG_IsOK(ecode1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
26912 arg1
= static_cast< int >(val1
);
26913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26914 if (!SWIG_IsOK(ecode2
)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
26917 arg2
= static_cast< int >(val2
);
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
26931 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26932 PyObject
*resultobj
= 0;
26933 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26936 PyObject
*swig_obj
[1] ;
26938 if (!args
) SWIG_fail
;
26939 swig_obj
[0] = args
;
26940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
26941 if (!SWIG_IsOK(res1
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26944 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_Py_Void();
26959 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
= 0;
26961 wxRendererVersion
*arg1
= 0 ;
26965 PyObject
* obj0
= 0 ;
26966 char * kwnames
[] = {
26967 (char *) "ver", NULL
26970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
26971 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26978 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26994 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27000 PyObject
*swig_obj
[1] ;
27002 if (!args
) SWIG_fail
;
27003 swig_obj
[0] = args
;
27004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27008 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27009 result
= (int)(int) ((arg1
)->version
);
27010 resultobj
= SWIG_From_int(static_cast< int >(result
));
27017 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27018 PyObject
*resultobj
= 0;
27019 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27023 PyObject
*swig_obj
[1] ;
27025 if (!args
) SWIG_fail
;
27026 swig_obj
[0] = args
;
27027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27028 if (!SWIG_IsOK(res1
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27031 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27032 result
= (int)(int) ((arg1
)->age
);
27033 resultobj
= SWIG_From_int(static_cast< int >(result
));
27040 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27043 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27044 return SWIG_Py_Void();
27047 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27048 return SWIG_Python_InitShadowInstance(args
);
27051 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
= 0;
27053 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27054 wxWindow
*arg2
= (wxWindow
*) 0 ;
27057 int arg5
= (int) 0 ;
27058 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27059 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 PyObject
* obj2
= 0 ;
27076 PyObject
* obj3
= 0 ;
27077 PyObject
* obj4
= 0 ;
27078 PyObject
* obj5
= 0 ;
27079 PyObject
* obj6
= 0 ;
27080 char * kwnames
[] = {
27081 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27086 if (!SWIG_IsOK(res1
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27089 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27091 if (!SWIG_IsOK(res2
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27095 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27096 if (!SWIG_IsOK(res3
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27102 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27105 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27108 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27109 if (!SWIG_IsOK(ecode5
)) {
27110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
27112 arg5
= static_cast< int >(val5
);
27115 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27116 if (!SWIG_IsOK(ecode6
)) {
27117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27119 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27122 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27123 if (!SWIG_IsOK(res7
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27126 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= SWIG_Py_Void();
27141 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
= 0;
27143 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27144 wxWindow
*arg2
= (wxWindow
*) 0 ;
27147 int arg5
= (int) 0 ;
27148 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27149 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 PyObject
* obj2
= 0 ;
27166 PyObject
* obj3
= 0 ;
27167 PyObject
* obj4
= 0 ;
27168 PyObject
* obj5
= 0 ;
27169 PyObject
* obj6
= 0 ;
27170 char * kwnames
[] = {
27171 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27179 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27181 if (!SWIG_IsOK(res2
)) {
27182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
27184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27185 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27186 if (!SWIG_IsOK(res3
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27192 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27195 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27198 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27199 if (!SWIG_IsOK(ecode5
)) {
27200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
27202 arg5
= static_cast< int >(val5
);
27205 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27206 if (!SWIG_IsOK(ecode6
)) {
27207 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27209 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27212 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27213 if (!SWIG_IsOK(res7
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27216 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= SWIG_Py_Void();
27231 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
= 0;
27233 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27234 wxWindow
*arg2
= (wxWindow
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char * kwnames
[] = {
27243 (char *) "self",(char *) "win", NULL
27246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27251 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27253 if (!SWIG_IsOK(res2
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
27256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= SWIG_From_int(static_cast< int >(result
));
27270 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
= 0;
27272 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27273 wxWindow
*arg2
= (wxWindow
*) 0 ;
27276 int arg5
= (int) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 PyObject
* obj2
= 0 ;
27289 PyObject
* obj3
= 0 ;
27290 PyObject
* obj4
= 0 ;
27291 char * kwnames
[] = {
27292 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27297 if (!SWIG_IsOK(res1
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27300 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27302 if (!SWIG_IsOK(res2
)) {
27303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27305 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27306 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27307 if (!SWIG_IsOK(res3
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27313 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27316 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27319 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27320 if (!SWIG_IsOK(ecode5
)) {
27321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
27323 arg5
= static_cast< int >(val5
);
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= SWIG_Py_Void();
27338 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
= 0;
27340 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27341 wxWindow
*arg2
= (wxWindow
*) 0 ;
27344 int arg5
= (int) 0 ;
27354 PyObject
* obj0
= 0 ;
27355 PyObject
* obj1
= 0 ;
27356 PyObject
* obj2
= 0 ;
27357 PyObject
* obj3
= 0 ;
27358 PyObject
* obj4
= 0 ;
27359 char * kwnames
[] = {
27360 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27368 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27370 if (!SWIG_IsOK(res2
)) {
27371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
27373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27374 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27375 if (!SWIG_IsOK(res3
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27381 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27384 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27388 if (!SWIG_IsOK(ecode5
)) {
27389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
27391 arg5
= static_cast< int >(val5
);
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27396 wxPyEndAllowThreads(__tstate
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= SWIG_Py_Void();
27406 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
= 0;
27408 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27409 wxWindow
*arg2
= (wxWindow
*) 0 ;
27413 wxOrientation arg6
;
27414 int arg7
= (int) 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 PyObject
* obj2
= 0 ;
27431 PyObject
* obj3
= 0 ;
27432 PyObject
* obj4
= 0 ;
27433 PyObject
* obj5
= 0 ;
27434 PyObject
* obj6
= 0 ;
27435 char * kwnames
[] = {
27436 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27444 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27446 if (!SWIG_IsOK(res2
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27449 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27450 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27451 if (!SWIG_IsOK(res3
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27457 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27460 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27462 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27463 if (!SWIG_IsOK(ecode5
)) {
27464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27466 arg5
= static_cast< int >(val5
);
27467 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27468 if (!SWIG_IsOK(ecode6
)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27471 arg6
= static_cast< wxOrientation
>(val6
);
27473 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27474 if (!SWIG_IsOK(ecode7
)) {
27475 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27477 arg7
= static_cast< int >(val7
);
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= SWIG_Py_Void();
27492 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
= 0;
27494 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27495 wxWindow
*arg2
= (wxWindow
*) 0 ;
27498 int arg5
= (int) 0 ;
27508 PyObject
* obj0
= 0 ;
27509 PyObject
* obj1
= 0 ;
27510 PyObject
* obj2
= 0 ;
27511 PyObject
* obj3
= 0 ;
27512 PyObject
* obj4
= 0 ;
27513 char * kwnames
[] = {
27514 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27519 if (!SWIG_IsOK(res1
)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27522 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27524 if (!SWIG_IsOK(res2
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27528 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27529 if (!SWIG_IsOK(res3
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27535 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27538 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27542 if (!SWIG_IsOK(ecode5
)) {
27543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27545 arg5
= static_cast< int >(val5
);
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 resultobj
= SWIG_Py_Void();
27560 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
= 0;
27562 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27563 wxWindow
*arg2
= (wxWindow
*) 0 ;
27566 int arg5
= (int) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 PyObject
* obj2
= 0 ;
27579 PyObject
* obj3
= 0 ;
27580 PyObject
* obj4
= 0 ;
27581 char * kwnames
[] = {
27582 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27587 if (!SWIG_IsOK(res1
)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27590 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27592 if (!SWIG_IsOK(res2
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27597 if (!SWIG_IsOK(res3
)) {
27598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27603 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27606 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27610 if (!SWIG_IsOK(ecode5
)) {
27611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27613 arg5
= static_cast< int >(val5
);
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= SWIG_Py_Void();
27628 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
= 0;
27630 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27631 wxWindow
*arg2
= (wxWindow
*) 0 ;
27634 int arg5
= (int) 0 ;
27644 PyObject
* obj0
= 0 ;
27645 PyObject
* obj1
= 0 ;
27646 PyObject
* obj2
= 0 ;
27647 PyObject
* obj3
= 0 ;
27648 PyObject
* obj4
= 0 ;
27649 char * kwnames
[] = {
27650 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27655 if (!SWIG_IsOK(res1
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27658 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27660 if (!SWIG_IsOK(res2
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27664 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27665 if (!SWIG_IsOK(res3
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27671 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27674 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27678 if (!SWIG_IsOK(ecode5
)) {
27679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27681 arg5
= static_cast< int >(val5
);
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= SWIG_Py_Void();
27696 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
= 0;
27698 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27699 wxWindow
*arg2
= (wxWindow
*) 0 ;
27702 int arg5
= (int) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 PyObject
* obj2
= 0 ;
27715 PyObject
* obj3
= 0 ;
27716 PyObject
* obj4
= 0 ;
27717 char * kwnames
[] = {
27718 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27726 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27728 if (!SWIG_IsOK(res2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27732 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27733 if (!SWIG_IsOK(res3
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27739 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27742 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27745 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27746 if (!SWIG_IsOK(ecode5
)) {
27747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27749 arg5
= static_cast< int >(val5
);
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 resultobj
= SWIG_Py_Void();
27764 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27765 PyObject
*resultobj
= 0;
27766 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27767 wxWindow
*arg2
= (wxWindow
*) 0 ;
27770 int arg5
= (int) 0 ;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 PyObject
* obj2
= 0 ;
27783 PyObject
* obj3
= 0 ;
27784 PyObject
* obj4
= 0 ;
27785 char * kwnames
[] = {
27786 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27794 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27796 if (!SWIG_IsOK(res2
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
27799 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27800 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27801 if (!SWIG_IsOK(res3
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27807 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27810 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27813 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27814 if (!SWIG_IsOK(ecode5
)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
27817 arg5
= static_cast< int >(val5
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_Py_Void();
27832 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
= 0;
27834 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27835 wxWindow
*arg2
= (wxWindow
*) 0 ;
27836 SwigValueWrapper
<wxSplitterRenderParams
> result
;
27841 PyObject
* obj0
= 0 ;
27842 PyObject
* obj1
= 0 ;
27843 char * kwnames
[] = {
27844 (char *) "self",(char *) "win", NULL
27847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27849 if (!SWIG_IsOK(res1
)) {
27850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27852 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27854 if (!SWIG_IsOK(res2
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
27857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
27871 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27872 PyObject
*resultobj
= 0;
27873 wxRendererNative
*result
= 0 ;
27875 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
27877 if (!wxPyCheckForApp()) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 wxRendererNative
&_result_ref
= wxRendererNative::Get();
27881 result
= (wxRendererNative
*) &_result_ref
;
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27893 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27894 PyObject
*resultobj
= 0;
27895 wxRendererNative
*result
= 0 ;
27897 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
27899 if (!wxPyCheckForApp()) SWIG_fail
;
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
27903 result
= (wxRendererNative
*) &_result_ref
;
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27915 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxRendererNative
*result
= 0 ;
27919 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
27921 if (!wxPyCheckForApp()) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
27925 result
= (wxRendererNative
*) &_result_ref
;
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27937 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
= 0;
27939 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27940 wxRendererNative
*result
= 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char * kwnames
[] = {
27945 (char *) "renderer", NULL
27948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
27949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27953 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27955 if (!wxPyCheckForApp()) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27968 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27971 SwigValueWrapper
<wxRendererVersion
> result
;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
27982 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
27996 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27999 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28000 return SWIG_Py_Void();
28003 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28004 PyObject
*resultobj
= 0;
28005 wxPseudoDC
*result
= 0 ;
28007 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= (wxPseudoDC
*)new wxPseudoDC();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28021 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28026 PyObject
*swig_obj
[1] ;
28028 if (!args
) SWIG_fail
;
28029 swig_obj
[0] = args
;
28030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28031 if (!SWIG_IsOK(res1
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28034 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 (arg1
)->BeginDrawing();
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_Py_Void();
28048 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 PyObject
*resultobj
= 0;
28050 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28053 PyObject
*swig_obj
[1] ;
28055 if (!args
) SWIG_fail
;
28056 swig_obj
[0] = args
;
28057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28058 if (!SWIG_IsOK(res1
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28061 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 (arg1
)->EndDrawing();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_Py_Void();
28075 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 PyObject
*resultobj
= 0;
28077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_Py_Void();
28103 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28104 PyObject
*resultobj
= 0;
28105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28108 PyObject
*swig_obj
[1] ;
28110 if (!args
) SWIG_fail
;
28111 swig_obj
[0] = args
;
28112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 (arg1
)->RemoveAll();
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= SWIG_Py_Void();
28130 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28131 PyObject
*resultobj
= 0;
28132 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28136 PyObject
*swig_obj
[1] ;
28138 if (!args
) SWIG_fail
;
28139 swig_obj
[0] = args
;
28140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28144 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (int)(arg1
)->GetLen();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_From_int(static_cast< int >(result
));
28158 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
= 0;
28160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 char * kwnames
[] = {
28169 (char *) "self",(char *) "id", NULL
28172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28174 if (!SWIG_IsOK(res1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28177 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28179 if (!SWIG_IsOK(ecode2
)) {
28180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
28182 arg2
= static_cast< int >(val2
);
28184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28185 (arg1
)->SetId(arg2
);
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= SWIG_Py_Void();
28196 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
= 0;
28198 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 char * kwnames
[] = {
28207 (char *) "self",(char *) "id", NULL
28210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28215 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28217 if (!SWIG_IsOK(ecode2
)) {
28218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
28220 arg2
= static_cast< int >(val2
);
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 (arg1
)->ClearId(arg2
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_Py_Void();
28234 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
= 0;
28236 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 PyObject
* obj1
= 0 ;
28244 char * kwnames
[] = {
28245 (char *) "self",(char *) "id", NULL
28248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28253 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28255 if (!SWIG_IsOK(ecode2
)) {
28256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
28258 arg2
= static_cast< int >(val2
);
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 (arg1
)->RemoveId(arg2
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= SWIG_Py_Void();
28272 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
= 0;
28274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 PyObject
* obj2
= 0 ;
28289 PyObject
* obj3
= 0 ;
28290 char * kwnames
[] = {
28291 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
28294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28301 if (!SWIG_IsOK(ecode2
)) {
28302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
28304 arg2
= static_cast< int >(val2
);
28305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28306 if (!SWIG_IsOK(ecode3
)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
28309 arg3
= static_cast< int >(val3
);
28310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28311 if (!SWIG_IsOK(ecode4
)) {
28312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
28314 arg4
= static_cast< int >(val4
);
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= SWIG_Py_Void();
28328 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
= 0;
28330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28332 wxDC
*arg3
= (wxDC
*) 0 ;
28339 PyObject
* obj0
= 0 ;
28340 PyObject
* obj1
= 0 ;
28341 PyObject
* obj2
= 0 ;
28342 char * kwnames
[] = {
28343 (char *) "self",(char *) "id",(char *) "dc", NULL
28346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28348 if (!SWIG_IsOK(res1
)) {
28349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28351 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28353 if (!SWIG_IsOK(ecode2
)) {
28354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
28356 arg2
= static_cast< int >(val2
);
28357 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
28358 if (!SWIG_IsOK(res3
)) {
28359 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
28361 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->DrawIdToDC(arg2
,arg3
);
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= SWIG_Py_Void();
28375 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
= 0;
28377 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 PyObject
* obj1
= 0 ;
28387 PyObject
* obj2
= 0 ;
28388 char * kwnames
[] = {
28389 (char *) "self",(char *) "id",(char *) "rect", NULL
28392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28394 if (!SWIG_IsOK(res1
)) {
28395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28397 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28399 if (!SWIG_IsOK(ecode2
)) {
28400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
28402 arg2
= static_cast< int >(val2
);
28405 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 (arg1
)->SetIdBounds(arg2
,*arg3
);
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= SWIG_Py_Void();
28420 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
= 0;
28422 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 char * kwnames
[] = {
28432 (char *) "self",(char *) "id", NULL
28435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28442 if (!SWIG_IsOK(ecode2
)) {
28443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28445 arg2
= static_cast< int >(val2
);
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28459 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
= 0;
28461 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28462 wxDC
*arg2
= (wxDC
*) 0 ;
28469 PyObject
* obj0
= 0 ;
28470 PyObject
* obj1
= 0 ;
28471 PyObject
* obj2
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "self",(char *) "dc",(char *) "rect", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28483 if (!SWIG_IsOK(res2
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28486 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28489 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= SWIG_Py_Void();
28504 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
= 0;
28506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28507 wxDC
*arg2
= (wxDC
*) 0 ;
28508 wxRegion
*arg3
= 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 PyObject
* obj2
= 0 ;
28518 char * kwnames
[] = {
28519 (char *) "self",(char *) "dc",(char *) "region", NULL
28522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28524 if (!SWIG_IsOK(res1
)) {
28525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28527 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28529 if (!SWIG_IsOK(res2
)) {
28530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28532 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28533 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28534 if (!SWIG_IsOK(res3
)) {
28535 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28540 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= SWIG_Py_Void();
28554 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
= 0;
28556 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28557 wxDC
*arg2
= (wxDC
*) 0 ;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 char * kwnames
[] = {
28565 (char *) "self",(char *) "dc", NULL
28568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28570 if (!SWIG_IsOK(res1
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28573 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28575 if (!SWIG_IsOK(res2
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28578 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 (arg1
)->DrawToDC(arg2
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_Py_Void();
28592 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
= 0;
28594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28597 wxColour
*arg4
= 0 ;
28598 int arg5
= (int) wxFLOOD_SURFACE
;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 PyObject
* obj2
= 0 ;
28611 PyObject
* obj3
= 0 ;
28612 PyObject
* obj4
= 0 ;
28613 char * kwnames
[] = {
28614 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28619 if (!SWIG_IsOK(res1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28622 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28624 if (!SWIG_IsOK(ecode2
)) {
28625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28627 arg2
= static_cast< int >(val2
);
28628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28629 if (!SWIG_IsOK(ecode3
)) {
28630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28632 arg3
= static_cast< int >(val3
);
28635 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28638 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28639 if (!SWIG_IsOK(ecode5
)) {
28640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28642 arg5
= static_cast< int >(val5
);
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_Py_Void();
28657 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
= 0;
28659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28660 wxPoint
*arg2
= 0 ;
28661 wxColour
*arg3
= 0 ;
28662 int arg4
= (int) wxFLOOD_SURFACE
;
28669 PyObject
* obj0
= 0 ;
28670 PyObject
* obj1
= 0 ;
28671 PyObject
* obj2
= 0 ;
28672 PyObject
* obj3
= 0 ;
28673 char * kwnames
[] = {
28674 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28679 if (!SWIG_IsOK(res1
)) {
28680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28682 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28689 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28693 if (!SWIG_IsOK(ecode4
)) {
28694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28696 arg4
= static_cast< int >(val4
);
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= SWIG_Py_Void();
28711 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28712 PyObject
*resultobj
= 0;
28713 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 PyObject
* obj2
= 0 ;
28731 PyObject
* obj3
= 0 ;
28732 PyObject
* obj4
= 0 ;
28733 char * kwnames
[] = {
28734 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28739 if (!SWIG_IsOK(res1
)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28742 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28744 if (!SWIG_IsOK(ecode2
)) {
28745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28747 arg2
= static_cast< int >(val2
);
28748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28749 if (!SWIG_IsOK(ecode3
)) {
28750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28752 arg3
= static_cast< int >(val3
);
28753 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28754 if (!SWIG_IsOK(ecode4
)) {
28755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28757 arg4
= static_cast< int >(val4
);
28758 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28759 if (!SWIG_IsOK(ecode5
)) {
28760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28762 arg5
= static_cast< int >(val5
);
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= SWIG_Py_Void();
28776 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
= 0;
28778 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28779 wxPoint
*arg2
= 0 ;
28780 wxPoint
*arg3
= 0 ;
28785 PyObject
* obj0
= 0 ;
28786 PyObject
* obj1
= 0 ;
28787 PyObject
* obj2
= 0 ;
28788 char * kwnames
[] = {
28789 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
28792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28797 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_Py_Void();
28819 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
= 0;
28821 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 PyObject
* obj2
= 0 ;
28833 char * kwnames
[] = {
28834 (char *) "self",(char *) "x",(char *) "y", NULL
28837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28839 if (!SWIG_IsOK(res1
)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28844 if (!SWIG_IsOK(ecode2
)) {
28845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
28847 arg2
= static_cast< int >(val2
);
28848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28849 if (!SWIG_IsOK(ecode3
)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
28852 arg3
= static_cast< int >(val3
);
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 (arg1
)->CrossHair(arg2
,arg3
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= SWIG_Py_Void();
28866 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
= 0;
28868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28869 wxPoint
*arg2
= 0 ;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 char * kwnames
[] = {
28876 (char *) "self",(char *) "pt", NULL
28879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= SWIG_Py_Void();
28902 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
= 0;
28904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28925 PyObject
* obj0
= 0 ;
28926 PyObject
* obj1
= 0 ;
28927 PyObject
* obj2
= 0 ;
28928 PyObject
* obj3
= 0 ;
28929 PyObject
* obj4
= 0 ;
28930 PyObject
* obj5
= 0 ;
28931 PyObject
* obj6
= 0 ;
28932 char * kwnames
[] = {
28933 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
28936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28938 if (!SWIG_IsOK(res1
)) {
28939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28941 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28943 if (!SWIG_IsOK(ecode2
)) {
28944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
28946 arg2
= static_cast< int >(val2
);
28947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28948 if (!SWIG_IsOK(ecode3
)) {
28949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
28951 arg3
= static_cast< int >(val3
);
28952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28953 if (!SWIG_IsOK(ecode4
)) {
28954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
28956 arg4
= static_cast< int >(val4
);
28957 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28958 if (!SWIG_IsOK(ecode5
)) {
28959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
28961 arg5
= static_cast< int >(val5
);
28962 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28963 if (!SWIG_IsOK(ecode6
)) {
28964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
28966 arg6
= static_cast< int >(val6
);
28967 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28968 if (!SWIG_IsOK(ecode7
)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
28971 arg7
= static_cast< int >(val7
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_Py_Void();
28985 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28988 wxPoint
*arg2
= 0 ;
28989 wxPoint
*arg3
= 0 ;
28990 wxPoint
*arg4
= 0 ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 PyObject
* obj2
= 0 ;
28999 PyObject
* obj3
= 0 ;
29000 char * kwnames
[] = {
29001 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29006 if (!SWIG_IsOK(res1
)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= SWIG_Py_Void();
29035 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
= 0;
29037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 PyObject
* obj2
= 0 ;
29055 PyObject
* obj3
= 0 ;
29056 PyObject
* obj4
= 0 ;
29057 char * kwnames
[] = {
29058 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29063 if (!SWIG_IsOK(res1
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29066 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29068 if (!SWIG_IsOK(ecode2
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
29071 arg2
= static_cast< int >(val2
);
29072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29073 if (!SWIG_IsOK(ecode3
)) {
29074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
29076 arg3
= static_cast< int >(val3
);
29077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29078 if (!SWIG_IsOK(ecode4
)) {
29079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
29081 arg4
= static_cast< int >(val4
);
29082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29083 if (!SWIG_IsOK(ecode5
)) {
29084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
29086 arg5
= static_cast< int >(val5
);
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 resultobj
= SWIG_Py_Void();
29100 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
= 0;
29102 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "rect", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29118 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= SWIG_Py_Void();
29136 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
= 0;
29138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 PyObject
* obj2
= 0 ;
29162 PyObject
* obj3
= 0 ;
29163 PyObject
* obj4
= 0 ;
29164 PyObject
* obj5
= 0 ;
29165 PyObject
* obj6
= 0 ;
29166 char * kwnames
[] = {
29167 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
29170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29177 if (!SWIG_IsOK(ecode2
)) {
29178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
29180 arg2
= static_cast< int >(val2
);
29181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29182 if (!SWIG_IsOK(ecode3
)) {
29183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
29185 arg3
= static_cast< int >(val3
);
29186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29187 if (!SWIG_IsOK(ecode4
)) {
29188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
29190 arg4
= static_cast< int >(val4
);
29191 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29192 if (!SWIG_IsOK(ecode5
)) {
29193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
29195 arg5
= static_cast< int >(val5
);
29196 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29197 if (!SWIG_IsOK(ecode6
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
29200 arg6
= static_cast< double >(val6
);
29201 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29202 if (!SWIG_IsOK(ecode7
)) {
29203 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
29205 arg7
= static_cast< double >(val7
);
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_Py_Void();
29219 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29221 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29222 wxPoint
*arg2
= 0 ;
29234 PyObject
* obj0
= 0 ;
29235 PyObject
* obj1
= 0 ;
29236 PyObject
* obj2
= 0 ;
29237 PyObject
* obj3
= 0 ;
29238 PyObject
* obj4
= 0 ;
29239 char * kwnames
[] = {
29240 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
29243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29255 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29257 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29258 if (!SWIG_IsOK(ecode4
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
29261 arg4
= static_cast< double >(val4
);
29262 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29263 if (!SWIG_IsOK(ecode5
)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
29266 arg5
= static_cast< double >(val5
);
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= SWIG_Py_Void();
29280 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29281 PyObject
*resultobj
= 0;
29282 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 char * kwnames
[] = {
29295 (char *) "self",(char *) "x",(char *) "y", NULL
29298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29300 if (!SWIG_IsOK(res1
)) {
29301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29303 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29305 if (!SWIG_IsOK(ecode2
)) {
29306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
29308 arg2
= static_cast< int >(val2
);
29309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29310 if (!SWIG_IsOK(ecode3
)) {
29311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
29313 arg3
= static_cast< int >(val3
);
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 (arg1
)->DrawPoint(arg2
,arg3
);
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_Py_Void();
29327 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
= 0;
29329 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29330 wxPoint
*arg2
= 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 char * kwnames
[] = {
29337 (char *) "self",(char *) "pt", NULL
29340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29342 if (!SWIG_IsOK(res1
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_Py_Void();
29363 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
= 0;
29365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 PyObject
* obj2
= 0 ;
29383 PyObject
* obj3
= 0 ;
29384 PyObject
* obj4
= 0 ;
29385 char * kwnames
[] = {
29386 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29396 if (!SWIG_IsOK(ecode2
)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
29399 arg2
= static_cast< int >(val2
);
29400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29401 if (!SWIG_IsOK(ecode3
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
29404 arg3
= static_cast< int >(val3
);
29405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29406 if (!SWIG_IsOK(ecode4
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
29409 arg4
= static_cast< int >(val4
);
29410 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29411 if (!SWIG_IsOK(ecode5
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29414 arg5
= static_cast< int >(val5
);
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_Py_Void();
29428 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
= 0;
29430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29435 PyObject
* obj0
= 0 ;
29436 PyObject
* obj1
= 0 ;
29437 char * kwnames
[] = {
29438 (char *) "self",(char *) "rect", NULL
29441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29449 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= SWIG_Py_Void();
29464 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
= 0;
29466 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29467 wxPoint
*arg2
= 0 ;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 PyObject
* obj2
= 0 ;
29476 char * kwnames
[] = {
29477 (char *) "self",(char *) "pt",(char *) "sz", NULL
29480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29482 if (!SWIG_IsOK(res1
)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29485 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29492 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= SWIG_Py_Void();
29507 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
= 0;
29509 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29527 PyObject
* obj0
= 0 ;
29528 PyObject
* obj1
= 0 ;
29529 PyObject
* obj2
= 0 ;
29530 PyObject
* obj3
= 0 ;
29531 PyObject
* obj4
= 0 ;
29532 PyObject
* obj5
= 0 ;
29533 char * kwnames
[] = {
29534 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29539 if (!SWIG_IsOK(res1
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29542 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29544 if (!SWIG_IsOK(ecode2
)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29547 arg2
= static_cast< int >(val2
);
29548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29549 if (!SWIG_IsOK(ecode3
)) {
29550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29552 arg3
= static_cast< int >(val3
);
29553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29554 if (!SWIG_IsOK(ecode4
)) {
29555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29557 arg4
= static_cast< int >(val4
);
29558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29559 if (!SWIG_IsOK(ecode5
)) {
29560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29562 arg5
= static_cast< int >(val5
);
29563 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29564 if (!SWIG_IsOK(ecode6
)) {
29565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29567 arg6
= static_cast< double >(val6
);
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= SWIG_Py_Void();
29581 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
= 0;
29583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 PyObject
* obj2
= 0 ;
29594 char * kwnames
[] = {
29595 (char *) "self",(char *) "r",(char *) "radius", NULL
29598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29600 if (!SWIG_IsOK(res1
)) {
29601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29603 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29606 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29608 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29609 if (!SWIG_IsOK(ecode3
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29612 arg3
= static_cast< double >(val3
);
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= SWIG_Py_Void();
29626 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
= 0;
29628 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29629 wxPoint
*arg2
= 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 PyObject
* obj2
= 0 ;
29641 PyObject
* obj3
= 0 ;
29642 char * kwnames
[] = {
29643 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29658 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29660 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29661 if (!SWIG_IsOK(ecode4
)) {
29662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29664 arg4
= static_cast< double >(val4
);
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= SWIG_Py_Void();
29678 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
= 0;
29680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 PyObject
* obj2
= 0 ;
29695 PyObject
* obj3
= 0 ;
29696 char * kwnames
[] = {
29697 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29702 if (!SWIG_IsOK(res1
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29705 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29707 if (!SWIG_IsOK(ecode2
)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29710 arg2
= static_cast< int >(val2
);
29711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29712 if (!SWIG_IsOK(ecode3
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29715 arg3
= static_cast< int >(val3
);
29716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29717 if (!SWIG_IsOK(ecode4
)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29720 arg4
= static_cast< int >(val4
);
29722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29723 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= SWIG_Py_Void();
29734 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
= 0;
29736 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29737 wxPoint
*arg2
= 0 ;
29744 PyObject
* obj0
= 0 ;
29745 PyObject
* obj1
= 0 ;
29746 PyObject
* obj2
= 0 ;
29747 char * kwnames
[] = {
29748 (char *) "self",(char *) "pt",(char *) "radius", NULL
29751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29753 if (!SWIG_IsOK(res1
)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29756 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29762 if (!SWIG_IsOK(ecode3
)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29765 arg3
= static_cast< int >(val3
);
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= SWIG_Py_Void();
29779 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= 0;
29781 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 PyObject
* obj2
= 0 ;
29799 PyObject
* obj3
= 0 ;
29800 PyObject
* obj4
= 0 ;
29801 char * kwnames
[] = {
29802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29807 if (!SWIG_IsOK(res1
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29810 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29812 if (!SWIG_IsOK(ecode2
)) {
29813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
29815 arg2
= static_cast< int >(val2
);
29816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29817 if (!SWIG_IsOK(ecode3
)) {
29818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
29820 arg3
= static_cast< int >(val3
);
29821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29822 if (!SWIG_IsOK(ecode4
)) {
29823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
29825 arg4
= static_cast< int >(val4
);
29826 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29827 if (!SWIG_IsOK(ecode5
)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
29830 arg5
= static_cast< int >(val5
);
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= SWIG_Py_Void();
29844 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= 0;
29846 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29851 PyObject
* obj0
= 0 ;
29852 PyObject
* obj1
= 0 ;
29853 char * kwnames
[] = {
29854 (char *) "self",(char *) "rect", NULL
29857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29859 if (!SWIG_IsOK(res1
)) {
29860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29865 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29873 resultobj
= SWIG_Py_Void();
29880 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
= 0;
29882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29883 wxPoint
*arg2
= 0 ;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 PyObject
* obj2
= 0 ;
29892 char * kwnames
[] = {
29893 (char *) "self",(char *) "pt",(char *) "sz", NULL
29896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29898 if (!SWIG_IsOK(res1
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29901 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29904 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29908 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= SWIG_Py_Void();
29923 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
= 0;
29925 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 PyObject
* obj2
= 0 ;
29940 PyObject
* obj3
= 0 ;
29941 char * kwnames
[] = {
29942 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
29945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29950 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29952 if (!SWIG_IsOK(res2
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29958 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29960 if (!SWIG_IsOK(ecode3
)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
29963 arg3
= static_cast< int >(val3
);
29964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29965 if (!SWIG_IsOK(ecode4
)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
29968 arg4
= static_cast< int >(val4
);
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_Py_Void();
29982 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
= 0;
29984 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29986 wxPoint
*arg3
= 0 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 char * kwnames
[] = {
29996 (char *) "self",(char *) "icon",(char *) "pt", NULL
29999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30001 if (!SWIG_IsOK(res1
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30004 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30006 if (!SWIG_IsOK(res2
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30012 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= SWIG_Py_Void();
30030 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
= 0;
30032 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30033 wxBitmap
*arg2
= 0 ;
30036 bool arg5
= (bool) false ;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 PyObject
* obj2
= 0 ;
30050 PyObject
* obj3
= 0 ;
30051 PyObject
* obj4
= 0 ;
30052 char * kwnames
[] = {
30053 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
30056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30058 if (!SWIG_IsOK(res1
)) {
30059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30061 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30063 if (!SWIG_IsOK(res2
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30069 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30071 if (!SWIG_IsOK(ecode3
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
30074 arg3
= static_cast< int >(val3
);
30075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30076 if (!SWIG_IsOK(ecode4
)) {
30077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
30079 arg4
= static_cast< int >(val4
);
30081 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
30082 if (!SWIG_IsOK(ecode5
)) {
30083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
30085 arg5
= static_cast< bool >(val5
);
30088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30089 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
30090 wxPyEndAllowThreads(__tstate
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30093 resultobj
= SWIG_Py_Void();
30100 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
= 0;
30102 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30103 wxBitmap
*arg2
= 0 ;
30104 wxPoint
*arg3
= 0 ;
30105 bool arg4
= (bool) false ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 PyObject
* obj2
= 0 ;
30116 PyObject
* obj3
= 0 ;
30117 char * kwnames
[] = {
30118 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
30121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30123 if (!SWIG_IsOK(res1
)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30126 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30128 if (!SWIG_IsOK(res2
)) {
30129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30134 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30140 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30141 if (!SWIG_IsOK(ecode4
)) {
30142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
30144 arg4
= static_cast< bool >(val4
);
30147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30149 wxPyEndAllowThreads(__tstate
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30152 resultobj
= SWIG_Py_Void();
30159 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30160 PyObject
*resultobj
= 0;
30161 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30162 wxString
*arg2
= 0 ;
30167 bool temp2
= false ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 PyObject
* obj2
= 0 ;
30175 PyObject
* obj3
= 0 ;
30176 char * kwnames
[] = {
30177 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
30180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30182 if (!SWIG_IsOK(res1
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30185 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30187 arg2
= wxString_in_helper(obj1
);
30188 if (arg2
== NULL
) SWIG_fail
;
30191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30192 if (!SWIG_IsOK(ecode3
)) {
30193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
30195 arg3
= static_cast< int >(val3
);
30196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30197 if (!SWIG_IsOK(ecode4
)) {
30198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
30200 arg4
= static_cast< int >(val4
);
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= SWIG_Py_Void();
30222 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
= 0;
30224 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30225 wxString
*arg2
= 0 ;
30226 wxPoint
*arg3
= 0 ;
30229 bool temp2
= false ;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 PyObject
* obj2
= 0 ;
30234 char * kwnames
[] = {
30235 (char *) "self",(char *) "text",(char *) "pt", NULL
30238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30240 if (!SWIG_IsOK(res1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30245 arg2
= wxString_in_helper(obj1
);
30246 if (arg2
== NULL
) SWIG_fail
;
30251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_Py_Void();
30274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
= 0;
30276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30277 wxString
*arg2
= 0 ;
30283 bool temp2
= false ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 PyObject
* obj2
= 0 ;
30293 PyObject
* obj3
= 0 ;
30294 PyObject
* obj4
= 0 ;
30295 char * kwnames
[] = {
30296 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
30299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30301 if (!SWIG_IsOK(res1
)) {
30302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30306 arg2
= wxString_in_helper(obj1
);
30307 if (arg2
== NULL
) SWIG_fail
;
30310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30311 if (!SWIG_IsOK(ecode3
)) {
30312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
30314 arg3
= static_cast< int >(val3
);
30315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30316 if (!SWIG_IsOK(ecode4
)) {
30317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
30319 arg4
= static_cast< int >(val4
);
30320 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30321 if (!SWIG_IsOK(ecode5
)) {
30322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
30324 arg5
= static_cast< double >(val5
);
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_Py_Void();
30346 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
= 0;
30348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30349 wxString
*arg2
= 0 ;
30350 wxPoint
*arg3
= 0 ;
30354 bool temp2
= false ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 PyObject
* obj2
= 0 ;
30361 PyObject
* obj3
= 0 ;
30362 char * kwnames
[] = {
30363 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
30366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30368 if (!SWIG_IsOK(res1
)) {
30369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30371 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30373 arg2
= wxString_in_helper(obj1
);
30374 if (arg2
== NULL
) SWIG_fail
;
30379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30381 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30382 if (!SWIG_IsOK(ecode4
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
30385 arg4
= static_cast< double >(val4
);
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= SWIG_Py_Void();
30407 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
= 0;
30409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30411 wxPoint
*arg3
= (wxPoint
*) 0 ;
30412 int arg4
= (int) 0 ;
30413 int arg5
= (int) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 PyObject
* obj2
= 0 ;
30423 PyObject
* obj3
= 0 ;
30424 char * kwnames
[] = {
30425 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30430 if (!SWIG_IsOK(res1
)) {
30431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30433 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30435 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30436 if (arg3
== NULL
) SWIG_fail
;
30439 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30440 if (!SWIG_IsOK(ecode4
)) {
30441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30443 arg4
= static_cast< int >(val4
);
30446 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30447 if (!SWIG_IsOK(ecode5
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30450 arg5
= static_cast< int >(val5
);
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= SWIG_Py_Void();
30460 if (arg3
) delete [] arg3
;
30465 if (arg3
) delete [] arg3
;
30471 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
= 0;
30473 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30475 wxPoint
*arg3
= (wxPoint
*) 0 ;
30476 int arg4
= (int) 0 ;
30477 int arg5
= (int) 0 ;
30478 int arg6
= (int) wxODDEVEN_RULE
;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 PyObject
* obj2
= 0 ;
30490 PyObject
* obj3
= 0 ;
30491 PyObject
* obj4
= 0 ;
30492 char * kwnames
[] = {
30493 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30498 if (!SWIG_IsOK(res1
)) {
30499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30503 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30504 if (arg3
== NULL
) SWIG_fail
;
30507 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30508 if (!SWIG_IsOK(ecode4
)) {
30509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30511 arg4
= static_cast< int >(val4
);
30514 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30515 if (!SWIG_IsOK(ecode5
)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30518 arg5
= static_cast< int >(val5
);
30521 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30522 if (!SWIG_IsOK(ecode6
)) {
30523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30525 arg6
= static_cast< int >(val6
);
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_Py_Void();
30535 if (arg3
) delete [] arg3
;
30540 if (arg3
) delete [] arg3
;
30546 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
= 0;
30548 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30549 wxString
*arg2
= 0 ;
30551 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30552 int arg5
= (int) -1 ;
30555 bool temp2
= false ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 PyObject
* obj2
= 0 ;
30564 PyObject
* obj3
= 0 ;
30565 PyObject
* obj4
= 0 ;
30566 char * kwnames
[] = {
30567 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30572 if (!SWIG_IsOK(res1
)) {
30573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30575 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30577 arg2
= wxString_in_helper(obj1
);
30578 if (arg2
== NULL
) SWIG_fail
;
30583 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30587 if (!SWIG_IsOK(ecode4
)) {
30588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30590 arg4
= static_cast< int >(val4
);
30593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30594 if (!SWIG_IsOK(ecode5
)) {
30595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30597 arg5
= static_cast< int >(val5
);
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_Py_Void();
30620 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
= 0;
30622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30623 wxString
*arg2
= 0 ;
30624 wxBitmap
*arg3
= 0 ;
30626 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30627 int arg6
= (int) -1 ;
30630 bool temp2
= false ;
30638 PyObject
* obj0
= 0 ;
30639 PyObject
* obj1
= 0 ;
30640 PyObject
* obj2
= 0 ;
30641 PyObject
* obj3
= 0 ;
30642 PyObject
* obj4
= 0 ;
30643 PyObject
* obj5
= 0 ;
30644 char * kwnames
[] = {
30645 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30650 if (!SWIG_IsOK(res1
)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30655 arg2
= wxString_in_helper(obj1
);
30656 if (arg2
== NULL
) SWIG_fail
;
30659 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30660 if (!SWIG_IsOK(res3
)) {
30661 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30666 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30669 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30673 if (!SWIG_IsOK(ecode5
)) {
30674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30676 arg5
= static_cast< int >(val5
);
30679 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30680 if (!SWIG_IsOK(ecode6
)) {
30681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30683 arg6
= static_cast< int >(val6
);
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_Py_Void();
30706 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30707 PyObject
*resultobj
= 0;
30708 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30710 wxPoint
*arg3
= (wxPoint
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char * kwnames
[] = {
30716 (char *) "self",(char *) "points", NULL
30719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30724 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30726 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30727 if (arg3
== NULL
) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 (arg1
)->DrawSpline(arg2
,arg3
);
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_Py_Void();
30737 if (arg3
) delete [] arg3
;
30742 if (arg3
) delete [] arg3
;
30748 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30749 PyObject
*resultobj
= 0;
30750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30753 PyObject
*swig_obj
[1] ;
30755 if (!args
) SWIG_fail
;
30756 swig_obj
[0] = args
;
30757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30761 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= SWIG_Py_Void();
30775 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
= 0;
30777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30783 PyObject
* obj0
= 0 ;
30784 PyObject
* obj1
= 0 ;
30785 char * kwnames
[] = {
30786 (char *) "self",(char *) "font", NULL
30789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30791 if (!SWIG_IsOK(res1
)) {
30792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30794 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30796 if (!SWIG_IsOK(res2
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30802 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 (arg1
)->SetFont((wxFont
const &)*arg2
);
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30809 resultobj
= SWIG_Py_Void();
30816 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30817 PyObject
*resultobj
= 0;
30818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30824 PyObject
* obj0
= 0 ;
30825 PyObject
* obj1
= 0 ;
30826 char * kwnames
[] = {
30827 (char *) "self",(char *) "pen", NULL
30830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30832 if (!SWIG_IsOK(res1
)) {
30833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30835 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30837 if (!SWIG_IsOK(res2
)) {
30838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30843 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 (arg1
)->SetPen((wxPen
const &)*arg2
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_Py_Void();
30857 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
= 0;
30859 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30860 wxBrush
*arg2
= 0 ;
30865 PyObject
* obj0
= 0 ;
30866 PyObject
* obj1
= 0 ;
30867 char * kwnames
[] = {
30868 (char *) "self",(char *) "brush", NULL
30871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30873 if (!SWIG_IsOK(res1
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30876 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30878 if (!SWIG_IsOK(res2
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30884 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_Py_Void();
30898 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= 0;
30900 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30901 wxBrush
*arg2
= 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 char * kwnames
[] = {
30909 (char *) "self",(char *) "brush", NULL
30912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30914 if (!SWIG_IsOK(res1
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30917 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30919 if (!SWIG_IsOK(res2
)) {
30920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30925 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= SWIG_Py_Void();
30939 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
= 0;
30941 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30947 PyObject
* obj0
= 0 ;
30948 PyObject
* obj1
= 0 ;
30949 char * kwnames
[] = {
30950 (char *) "self",(char *) "mode", NULL
30953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30955 if (!SWIG_IsOK(res1
)) {
30956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30960 if (!SWIG_IsOK(ecode2
)) {
30961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
30963 arg2
= static_cast< int >(val2
);
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 (arg1
)->SetBackgroundMode(arg2
);
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= SWIG_Py_Void();
30977 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30978 PyObject
*resultobj
= 0;
30979 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30980 wxPalette
*arg2
= 0 ;
30985 PyObject
* obj0
= 0 ;
30986 PyObject
* obj1
= 0 ;
30987 char * kwnames
[] = {
30988 (char *) "self",(char *) "palette", NULL
30991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30993 if (!SWIG_IsOK(res1
)) {
30994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30996 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
30998 if (!SWIG_IsOK(res2
)) {
30999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31004 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= SWIG_Py_Void();
31018 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
= 0;
31020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31021 wxColour
*arg2
= 0 ;
31025 PyObject
* obj0
= 0 ;
31026 PyObject
* obj1
= 0 ;
31027 char * kwnames
[] = {
31028 (char *) "self",(char *) "colour", NULL
31031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31036 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31039 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= SWIG_Py_Void();
31054 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
= 0;
31056 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31057 wxColour
*arg2
= 0 ;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 char * kwnames
[] = {
31064 (char *) "self",(char *) "colour", NULL
31067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31069 if (!SWIG_IsOK(res1
)) {
31070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31072 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31079 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
31080 wxPyEndAllowThreads(__tstate
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31083 resultobj
= SWIG_Py_Void();
31090 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
= 0;
31092 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 char * kwnames
[] = {
31101 (char *) "self",(char *) "function", NULL
31104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31106 if (!SWIG_IsOK(res1
)) {
31107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31111 if (!SWIG_IsOK(ecode2
)) {
31112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
31114 arg2
= static_cast< int >(val2
);
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->SetLogicalFunction(arg2
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= SWIG_Py_Void();
31128 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
31132 return SWIG_Py_Void();
31135 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31136 return SWIG_Python_InitShadowInstance(args
);
31139 static PyMethodDef SwigMethods
[] = {
31140 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
31141 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
31142 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
31143 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
31144 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
31145 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
31149 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
31150 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
31151 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
31152 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
31153 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
31154 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
31159 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
31163 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
31164 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
31165 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
31167 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
31170 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
31171 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
31172 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
31173 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
31175 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
31176 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
31177 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
31178 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
31179 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
31180 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
31181 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
31188 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
31190 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
31194 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
31197 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
31201 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
31202 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
31203 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
31204 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
31205 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
31206 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
31207 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
31209 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
31215 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
31216 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
31217 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
31218 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
31219 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
31220 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
31221 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
31227 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
31235 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
31236 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
31240 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
31241 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
31242 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
31243 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
31244 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
31245 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
31246 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
31247 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
31248 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
31249 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
31250 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
31251 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
31252 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
31253 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
31254 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
31256 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
31257 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
31263 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31264 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31265 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
31266 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
31267 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
31268 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
31269 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
31270 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
31271 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
31272 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
31273 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
31274 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
31276 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
31277 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
31283 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31284 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31285 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
31287 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
31288 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
31289 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
31291 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
31292 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
31297 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
31298 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
31299 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
31300 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
31305 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
31306 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
31308 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
31309 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
31311 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
31313 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
31314 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
31315 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
31316 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
31319 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
31323 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
31324 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
31326 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
31329 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
31330 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
31331 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
31336 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
31337 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
31343 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
31347 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
31357 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
31360 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
31361 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
31363 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
31364 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
31365 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
31366 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
31367 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
31368 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
31369 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
31370 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
31371 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
31372 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
31373 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
31374 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
31375 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
31376 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
31377 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
31378 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
31379 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
31381 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
31382 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
31383 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
31384 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
31385 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
31386 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
31387 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
31396 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
31397 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
31399 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
31400 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
31401 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
31402 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
31403 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
31404 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
31405 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
31406 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
31407 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
31409 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31410 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31411 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31414 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31415 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31416 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31419 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31425 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31430 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31431 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31433 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31439 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31442 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31443 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31444 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31445 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31446 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31447 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31448 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31449 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31450 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31451 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31452 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31453 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31454 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31466 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31467 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31468 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31470 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31471 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31473 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31474 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31475 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31476 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31480 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31481 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31483 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31484 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31485 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31486 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31487 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31488 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31489 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31490 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31491 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31493 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31496 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31497 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31498 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31499 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31500 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31501 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31502 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31503 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31513 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31514 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31515 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31517 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31521 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31522 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31523 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31524 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31525 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31526 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31532 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31533 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31534 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31583 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31585 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31586 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31587 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31594 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31595 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31596 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31597 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31598 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31603 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31604 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31605 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31606 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31615 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31616 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31617 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31618 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31619 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31620 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31621 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31622 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31623 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31624 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31625 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31626 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31629 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31631 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31633 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31635 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31636 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31639 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31640 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31644 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31646 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31649 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31650 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31651 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31652 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31653 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31654 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31661 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31662 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31665 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31666 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31667 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31668 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31669 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31670 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31671 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31674 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31675 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31678 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31679 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31680 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31683 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31685 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31686 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31688 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31689 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31691 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31692 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31694 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31697 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31699 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31701 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31702 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31704 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31705 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31707 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31708 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31710 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31718 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31720 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31722 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31723 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31724 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31725 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31726 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31727 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31733 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31734 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31735 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31736 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31737 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31738 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31746 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31750 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31751 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31752 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31757 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31758 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31759 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31760 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31761 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31762 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31763 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31764 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31765 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31766 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31767 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31768 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31777 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31778 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31780 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31781 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31782 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31783 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
31784 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
31785 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
31786 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
31787 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
31788 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
31789 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
31790 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
31791 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
31792 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
31793 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
31794 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
31795 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
31796 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
31797 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
31798 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
31799 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
31800 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
31801 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
31802 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
31803 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
31805 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
31807 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
31808 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
31809 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
31810 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
31823 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
31824 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
31825 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
31827 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
31828 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
31829 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
31830 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
31831 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
31832 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
31833 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
31834 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
31883 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
31893 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
31894 { NULL
, NULL
, 0, NULL
}
31898 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31900 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
31901 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
31903 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
31904 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31906 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
31907 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
31909 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
31910 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
31912 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
31913 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
31915 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
31916 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
31918 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
31919 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
31921 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
31922 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
31924 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
31925 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
31927 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
31928 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
31930 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
31931 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
31933 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
31934 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
31936 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
31937 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
31939 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
31940 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
31942 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
31943 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
31945 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
31946 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
31948 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
31949 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
31951 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
31952 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31954 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
31955 return (void *)((wxDC
*) ((wxClientDC
*) x
));
31957 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
31958 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
31960 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
31961 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
31963 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
31964 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
31966 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
31967 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
31969 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
31970 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
31972 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
31973 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
31975 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
31976 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31978 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31981 static void *_p_wxPenTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
31984 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
31987 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31990 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31993 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31996 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31999 static void *_p_wxIconTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32002 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32005 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32008 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) ((wxSizer
*) x
));
32011 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32014 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32017 static void *_p_wxEventTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) ((wxEvent
*) x
));
32020 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32023 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32026 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32029 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
32032 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32035 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32038 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32041 static void *_p_wxDCTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) ((wxDC
*) x
));
32044 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32047 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32050 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32053 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32056 static void *_p_wxControlTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32059 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32062 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
32065 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32068 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
32071 static void *_p_wxRegionTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
32074 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32077 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
32080 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
32083 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) ((wxEffects
*) x
));
32086 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32089 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32092 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
32095 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32098 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32101 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32104 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32107 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32110 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32113 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32116 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32119 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32122 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32125 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32128 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32131 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32134 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32137 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32140 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32143 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32146 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32149 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32152 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32155 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32158 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32161 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32164 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32167 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32170 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32173 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32176 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
32179 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
32182 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
32183 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
32185 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32186 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32188 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32191 static void *_p_wxImageTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) ((wxImage
*) x
));
32194 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32197 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
32200 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
32203 static void *_p_wxImageListTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) ((wxImageList
*) x
));
32206 static void *_p_wxCursorTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
32209 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
32212 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
32215 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32218 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32221 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32224 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32227 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32230 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32233 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
32236 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32239 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
32242 static void *_p_wxMaskTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) ((wxMask
*) x
));
32245 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32248 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32251 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32254 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32257 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32260 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32263 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32266 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32269 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32272 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32275 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32278 static void *_p_wxFontTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
32281 static void *_p_wxBrushTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
32284 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
32287 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32290 static void *_p_wxColourTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) ((wxColour
*) x
));
32293 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32296 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32299 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32300 return (void *)((wxWindow
*) ((wxControl
*) x
));
32302 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32303 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32305 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32306 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32308 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
32309 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
32311 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
32312 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
32314 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
32317 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};
32318 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
32359 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32382 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32384 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32385 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32388 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32389 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
32390 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32391 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32392 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32393 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32394 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32395 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32396 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32397 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32398 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32399 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32400 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32401 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32402 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32404 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32405 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32406 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32435 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32436 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32437 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32438 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32464 static swig_type_info
*swig_type_initial
[] = {
32468 &_swigt__p_form_ops_t
,
32470 &_swigt__p_unsigned_char
,
32471 &_swigt__p_unsigned_int
,
32472 &_swigt__p_unsigned_long
,
32473 &_swigt__p_wxANIHandler
,
32474 &_swigt__p_wxAcceleratorTable
,
32475 &_swigt__p_wxActivateEvent
,
32476 &_swigt__p_wxAlphaPixelData
,
32477 &_swigt__p_wxAlphaPixelData_Accessor
,
32478 &_swigt__p_wxBMPHandler
,
32479 &_swigt__p_wxBitmap
,
32480 &_swigt__p_wxBoxSizer
,
32481 &_swigt__p_wxBrush
,
32482 &_swigt__p_wxBrushList
,
32483 &_swigt__p_wxBufferedDC
,
32484 &_swigt__p_wxBufferedPaintDC
,
32485 &_swigt__p_wxCURHandler
,
32487 &_swigt__p_wxChildFocusEvent
,
32488 &_swigt__p_wxClientDC
,
32489 &_swigt__p_wxClipboardTextEvent
,
32490 &_swigt__p_wxCloseEvent
,
32491 &_swigt__p_wxColour
,
32492 &_swigt__p_wxColourDatabase
,
32493 &_swigt__p_wxCommandEvent
,
32494 &_swigt__p_wxContextMenuEvent
,
32495 &_swigt__p_wxControl
,
32496 &_swigt__p_wxControlWithItems
,
32497 &_swigt__p_wxCursor
,
32500 &_swigt__p_wxDateEvent
,
32501 &_swigt__p_wxDisplayChangedEvent
,
32502 &_swigt__p_wxDropFilesEvent
,
32503 &_swigt__p_wxDuplexMode
,
32504 &_swigt__p_wxEffects
,
32505 &_swigt__p_wxEncodingConverter
,
32506 &_swigt__p_wxEraseEvent
,
32507 &_swigt__p_wxEvent
,
32508 &_swigt__p_wxEvtHandler
,
32509 &_swigt__p_wxFSFile
,
32510 &_swigt__p_wxFileSystem
,
32511 &_swigt__p_wxFlexGridSizer
,
32512 &_swigt__p_wxFocusEvent
,
32514 &_swigt__p_wxFontList
,
32515 &_swigt__p_wxFontMapper
,
32516 &_swigt__p_wxGBSizerItem
,
32517 &_swigt__p_wxGDIObjListBase
,
32518 &_swigt__p_wxGDIObject
,
32519 &_swigt__p_wxGIFHandler
,
32520 &_swigt__p_wxGridBagSizer
,
32521 &_swigt__p_wxGridSizer
,
32522 &_swigt__p_wxHeaderButtonParams
,
32523 &_swigt__p_wxICOHandler
,
32525 &_swigt__p_wxIconBundle
,
32526 &_swigt__p_wxIconLocation
,
32527 &_swigt__p_wxIconizeEvent
,
32528 &_swigt__p_wxIdleEvent
,
32529 &_swigt__p_wxImage
,
32530 &_swigt__p_wxImageHandler
,
32531 &_swigt__p_wxImageList
,
32532 &_swigt__p_wxIndividualLayoutConstraint
,
32533 &_swigt__p_wxInitDialogEvent
,
32534 &_swigt__p_wxJPEGHandler
,
32535 &_swigt__p_wxKeyEvent
,
32536 &_swigt__p_wxLanguageInfo
,
32537 &_swigt__p_wxLayoutConstraints
,
32538 &_swigt__p_wxLocale
,
32540 &_swigt__p_wxMaximizeEvent
,
32541 &_swigt__p_wxMemoryDC
,
32543 &_swigt__p_wxMenuBar
,
32544 &_swigt__p_wxMenuEvent
,
32545 &_swigt__p_wxMenuItem
,
32546 &_swigt__p_wxMetaFile
,
32547 &_swigt__p_wxMetaFileDC
,
32548 &_swigt__p_wxMirrorDC
,
32549 &_swigt__p_wxMouseCaptureChangedEvent
,
32550 &_swigt__p_wxMouseCaptureLostEvent
,
32551 &_swigt__p_wxMouseEvent
,
32552 &_swigt__p_wxMoveEvent
,
32553 &_swigt__p_wxNativeEncodingInfo
,
32554 &_swigt__p_wxNativeFontInfo
,
32555 &_swigt__p_wxNativePixelData
,
32556 &_swigt__p_wxNativePixelData_Accessor
,
32557 &_swigt__p_wxNavigationKeyEvent
,
32558 &_swigt__p_wxNcPaintEvent
,
32559 &_swigt__p_wxNotifyEvent
,
32560 &_swigt__p_wxObject
,
32561 &_swigt__p_wxPCXHandler
,
32562 &_swigt__p_wxPNGHandler
,
32563 &_swigt__p_wxPNMHandler
,
32564 &_swigt__p_wxPaintDC
,
32565 &_swigt__p_wxPaintEvent
,
32566 &_swigt__p_wxPalette
,
32567 &_swigt__p_wxPaletteChangedEvent
,
32568 &_swigt__p_wxPaperSize
,
32570 &_swigt__p_wxPenList
,
32571 &_swigt__p_wxPixelDataBase
,
32572 &_swigt__p_wxPoint
,
32573 &_swigt__p_wxPostScriptDC
,
32574 &_swigt__p_wxPrintData
,
32575 &_swigt__p_wxPrinterDC
,
32576 &_swigt__p_wxPseudoDC
,
32577 &_swigt__p_wxPyApp
,
32578 &_swigt__p_wxPyCommandEvent
,
32579 &_swigt__p_wxPyEvent
,
32580 &_swigt__p_wxPyFontEnumerator
,
32581 &_swigt__p_wxPyImageHandler
,
32582 &_swigt__p_wxPyLocale
,
32583 &_swigt__p_wxPySizer
,
32584 &_swigt__p_wxPyValidator
,
32585 &_swigt__p_wxQueryNewPaletteEvent
,
32587 &_swigt__p_wxRegion
,
32588 &_swigt__p_wxRegionIterator
,
32589 &_swigt__p_wxRendererNative
,
32590 &_swigt__p_wxRendererVersion
,
32591 &_swigt__p_wxScreenDC
,
32592 &_swigt__p_wxScrollEvent
,
32593 &_swigt__p_wxScrollWinEvent
,
32594 &_swigt__p_wxSetCursorEvent
,
32595 &_swigt__p_wxShowEvent
,
32597 &_swigt__p_wxSizeEvent
,
32598 &_swigt__p_wxSizer
,
32599 &_swigt__p_wxSizerItem
,
32600 &_swigt__p_wxSplitterRenderParams
,
32601 &_swigt__p_wxStaticBoxSizer
,
32602 &_swigt__p_wxStdDialogButtonSizer
,
32603 &_swigt__p_wxStockGDI
,
32604 &_swigt__p_wxString
,
32605 &_swigt__p_wxSysColourChangedEvent
,
32606 &_swigt__p_wxTIFFHandler
,
32607 &_swigt__p_wxUpdateUIEvent
,
32608 &_swigt__p_wxValidator
,
32609 &_swigt__p_wxWindow
,
32610 &_swigt__p_wxWindowCreateEvent
,
32611 &_swigt__p_wxWindowDC
,
32612 &_swigt__p_wxWindowDestroyEvent
,
32613 &_swigt__p_wxXPMHandler
,
32616 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32629 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}};
32630 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32636 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}};
32637 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32644 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}};
32645 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}};
32646 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32653 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}};
32654 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32655 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}};
32656 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32739 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}};
32740 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32745 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}};
32746 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32763 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}};
32764 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info
*swig_cast_initial
[] = {
32770 _swigc__p_form_ops_t
,
32772 _swigc__p_unsigned_char
,
32773 _swigc__p_unsigned_int
,
32774 _swigc__p_unsigned_long
,
32775 _swigc__p_wxANIHandler
,
32776 _swigc__p_wxAcceleratorTable
,
32777 _swigc__p_wxActivateEvent
,
32778 _swigc__p_wxAlphaPixelData
,
32779 _swigc__p_wxAlphaPixelData_Accessor
,
32780 _swigc__p_wxBMPHandler
,
32781 _swigc__p_wxBitmap
,
32782 _swigc__p_wxBoxSizer
,
32784 _swigc__p_wxBrushList
,
32785 _swigc__p_wxBufferedDC
,
32786 _swigc__p_wxBufferedPaintDC
,
32787 _swigc__p_wxCURHandler
,
32789 _swigc__p_wxChildFocusEvent
,
32790 _swigc__p_wxClientDC
,
32791 _swigc__p_wxClipboardTextEvent
,
32792 _swigc__p_wxCloseEvent
,
32793 _swigc__p_wxColour
,
32794 _swigc__p_wxColourDatabase
,
32795 _swigc__p_wxCommandEvent
,
32796 _swigc__p_wxContextMenuEvent
,
32797 _swigc__p_wxControl
,
32798 _swigc__p_wxControlWithItems
,
32799 _swigc__p_wxCursor
,
32802 _swigc__p_wxDateEvent
,
32803 _swigc__p_wxDisplayChangedEvent
,
32804 _swigc__p_wxDropFilesEvent
,
32805 _swigc__p_wxDuplexMode
,
32806 _swigc__p_wxEffects
,
32807 _swigc__p_wxEncodingConverter
,
32808 _swigc__p_wxEraseEvent
,
32810 _swigc__p_wxEvtHandler
,
32811 _swigc__p_wxFSFile
,
32812 _swigc__p_wxFileSystem
,
32813 _swigc__p_wxFlexGridSizer
,
32814 _swigc__p_wxFocusEvent
,
32816 _swigc__p_wxFontList
,
32817 _swigc__p_wxFontMapper
,
32818 _swigc__p_wxGBSizerItem
,
32819 _swigc__p_wxGDIObjListBase
,
32820 _swigc__p_wxGDIObject
,
32821 _swigc__p_wxGIFHandler
,
32822 _swigc__p_wxGridBagSizer
,
32823 _swigc__p_wxGridSizer
,
32824 _swigc__p_wxHeaderButtonParams
,
32825 _swigc__p_wxICOHandler
,
32827 _swigc__p_wxIconBundle
,
32828 _swigc__p_wxIconLocation
,
32829 _swigc__p_wxIconizeEvent
,
32830 _swigc__p_wxIdleEvent
,
32832 _swigc__p_wxImageHandler
,
32833 _swigc__p_wxImageList
,
32834 _swigc__p_wxIndividualLayoutConstraint
,
32835 _swigc__p_wxInitDialogEvent
,
32836 _swigc__p_wxJPEGHandler
,
32837 _swigc__p_wxKeyEvent
,
32838 _swigc__p_wxLanguageInfo
,
32839 _swigc__p_wxLayoutConstraints
,
32840 _swigc__p_wxLocale
,
32842 _swigc__p_wxMaximizeEvent
,
32843 _swigc__p_wxMemoryDC
,
32845 _swigc__p_wxMenuBar
,
32846 _swigc__p_wxMenuEvent
,
32847 _swigc__p_wxMenuItem
,
32848 _swigc__p_wxMetaFile
,
32849 _swigc__p_wxMetaFileDC
,
32850 _swigc__p_wxMirrorDC
,
32851 _swigc__p_wxMouseCaptureChangedEvent
,
32852 _swigc__p_wxMouseCaptureLostEvent
,
32853 _swigc__p_wxMouseEvent
,
32854 _swigc__p_wxMoveEvent
,
32855 _swigc__p_wxNativeEncodingInfo
,
32856 _swigc__p_wxNativeFontInfo
,
32857 _swigc__p_wxNativePixelData
,
32858 _swigc__p_wxNativePixelData_Accessor
,
32859 _swigc__p_wxNavigationKeyEvent
,
32860 _swigc__p_wxNcPaintEvent
,
32861 _swigc__p_wxNotifyEvent
,
32862 _swigc__p_wxObject
,
32863 _swigc__p_wxPCXHandler
,
32864 _swigc__p_wxPNGHandler
,
32865 _swigc__p_wxPNMHandler
,
32866 _swigc__p_wxPaintDC
,
32867 _swigc__p_wxPaintEvent
,
32868 _swigc__p_wxPalette
,
32869 _swigc__p_wxPaletteChangedEvent
,
32870 _swigc__p_wxPaperSize
,
32872 _swigc__p_wxPenList
,
32873 _swigc__p_wxPixelDataBase
,
32875 _swigc__p_wxPostScriptDC
,
32876 _swigc__p_wxPrintData
,
32877 _swigc__p_wxPrinterDC
,
32878 _swigc__p_wxPseudoDC
,
32880 _swigc__p_wxPyCommandEvent
,
32881 _swigc__p_wxPyEvent
,
32882 _swigc__p_wxPyFontEnumerator
,
32883 _swigc__p_wxPyImageHandler
,
32884 _swigc__p_wxPyLocale
,
32885 _swigc__p_wxPySizer
,
32886 _swigc__p_wxPyValidator
,
32887 _swigc__p_wxQueryNewPaletteEvent
,
32889 _swigc__p_wxRegion
,
32890 _swigc__p_wxRegionIterator
,
32891 _swigc__p_wxRendererNative
,
32892 _swigc__p_wxRendererVersion
,
32893 _swigc__p_wxScreenDC
,
32894 _swigc__p_wxScrollEvent
,
32895 _swigc__p_wxScrollWinEvent
,
32896 _swigc__p_wxSetCursorEvent
,
32897 _swigc__p_wxShowEvent
,
32899 _swigc__p_wxSizeEvent
,
32901 _swigc__p_wxSizerItem
,
32902 _swigc__p_wxSplitterRenderParams
,
32903 _swigc__p_wxStaticBoxSizer
,
32904 _swigc__p_wxStdDialogButtonSizer
,
32905 _swigc__p_wxStockGDI
,
32906 _swigc__p_wxString
,
32907 _swigc__p_wxSysColourChangedEvent
,
32908 _swigc__p_wxTIFFHandler
,
32909 _swigc__p_wxUpdateUIEvent
,
32910 _swigc__p_wxValidator
,
32911 _swigc__p_wxWindow
,
32912 _swigc__p_wxWindowCreateEvent
,
32913 _swigc__p_wxWindowDC
,
32914 _swigc__p_wxWindowDestroyEvent
,
32915 _swigc__p_wxXPMHandler
,
32919 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32921 static swig_const_info swig_const_table
[] = {
32922 {0, 0, 0, 0.0, 0, 0}};
32927 /* -----------------------------------------------------------------------------
32928 * Type initialization:
32929 * This problem is tough by the requirement that no dynamic
32930 * memory is used. Also, since swig_type_info structures store pointers to
32931 * swig_cast_info structures and swig_cast_info structures store pointers back
32932 * to swig_type_info structures, we need some lookup code at initialization.
32933 * The idea is that swig generates all the structures that are needed.
32934 * The runtime then collects these partially filled structures.
32935 * The SWIG_InitializeModule function takes these initial arrays out of
32936 * swig_module, and does all the lookup, filling in the swig_module.types
32937 * array with the correct data and linking the correct swig_cast_info
32938 * structures together.
32940 * The generated swig_type_info structures are assigned staticly to an initial
32941 * array. We just loop though that array, and handle each type individually.
32942 * First we lookup if this type has been already loaded, and if so, use the
32943 * loaded structure instead of the generated one. Then we have to fill in the
32944 * cast linked list. The cast data is initially stored in something like a
32945 * two-dimensional array. Each row corresponds to a type (there are the same
32946 * number of rows as there are in the swig_type_initial array). Each entry in
32947 * a column is one of the swig_cast_info structures for that type.
32948 * The cast_initial array is actually an array of arrays, because each row has
32949 * a variable number of columns. So to actually build the cast linked list,
32950 * we find the array of casts associated with the type, and loop through it
32951 * adding the casts to the list. The one last trick we need to do is making
32952 * sure the type pointer in the swig_cast_info struct is correct.
32954 * First off, we lookup the cast->type name to see if it is already loaded.
32955 * There are three cases to handle:
32956 * 1) If the cast->type has already been loaded AND the type we are adding
32957 * casting info to has not been loaded (it is in this module), THEN we
32958 * replace the cast->type pointer with the type pointer that has already
32960 * 2) If BOTH types (the one we are adding casting info to, and the
32961 * cast->type) are loaded, THEN the cast info has already been loaded by
32962 * the previous module so we just ignore it.
32963 * 3) Finally, if cast->type has not already been loaded, then we add that
32964 * swig_cast_info to the linked list (because the cast->type) pointer will
32966 * ----------------------------------------------------------------------------- */
32976 #define SWIGRUNTIME_DEBUG
32980 SWIG_InitializeModule(void *clientdata
) {
32982 swig_module_info
*module_head
;
32983 static int init_run
= 0;
32985 clientdata
= clientdata
;
32987 if (init_run
) return;
32990 /* Initialize the swig_module */
32991 swig_module
.type_initial
= swig_type_initial
;
32992 swig_module
.cast_initial
= swig_cast_initial
;
32994 /* Try and load any already created modules */
32995 module_head
= SWIG_GetModule(clientdata
);
32997 swig_module
.next
= module_head
->next
;
32998 module_head
->next
= &swig_module
;
33000 /* This is the first module loaded */
33001 swig_module
.next
= &swig_module
;
33002 SWIG_SetModule(clientdata
, &swig_module
);
33005 /* Now work on filling in swig_module.types */
33006 #ifdef SWIGRUNTIME_DEBUG
33007 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33009 for (i
= 0; i
< swig_module
.size
; ++i
) {
33010 swig_type_info
*type
= 0;
33011 swig_type_info
*ret
;
33012 swig_cast_info
*cast
;
33014 #ifdef SWIGRUNTIME_DEBUG
33015 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33018 /* if there is another module already loaded */
33019 if (swig_module
.next
!= &swig_module
) {
33020 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33023 /* Overwrite clientdata field */
33024 #ifdef SWIGRUNTIME_DEBUG
33025 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33027 if (swig_module
.type_initial
[i
]->clientdata
) {
33028 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33029 #ifdef SWIGRUNTIME_DEBUG
33030 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33034 type
= swig_module
.type_initial
[i
];
33037 /* Insert casting types */
33038 cast
= swig_module
.cast_initial
[i
];
33039 while (cast
->type
) {
33040 /* Don't need to add information already in the list */
33042 #ifdef SWIGRUNTIME_DEBUG
33043 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33045 if (swig_module
.next
!= &swig_module
) {
33046 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33047 #ifdef SWIGRUNTIME_DEBUG
33048 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33052 if (type
== swig_module
.type_initial
[i
]) {
33053 #ifdef SWIGRUNTIME_DEBUG
33054 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33059 /* Check for casting already in the list */
33060 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33061 #ifdef SWIGRUNTIME_DEBUG
33062 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33064 if (!ocast
) ret
= 0;
33069 #ifdef SWIGRUNTIME_DEBUG
33070 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33073 type
->cast
->prev
= cast
;
33074 cast
->next
= type
->cast
;
33080 /* Set entry in modules->types array equal to the type */
33081 swig_module
.types
[i
] = type
;
33083 swig_module
.types
[i
] = 0;
33085 #ifdef SWIGRUNTIME_DEBUG
33086 printf("**** SWIG_InitializeModule: Cast List ******\n");
33087 for (i
= 0; i
< swig_module
.size
; ++i
) {
33089 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33090 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33091 while (cast
->type
) {
33092 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33096 printf("---- Total casts: %d\n",j
);
33098 printf("**** SWIG_InitializeModule: Cast List ******\n");
33102 /* This function will propagate the clientdata field of type to
33103 * any new swig_type_info structures that have been added into the list
33104 * of equivalent types. It is like calling
33105 * SWIG_TypeClientData(type, clientdata) a second time.
33108 SWIG_PropagateClientData(void) {
33110 swig_cast_info
*equiv
;
33111 static int init_run
= 0;
33113 if (init_run
) return;
33116 for (i
= 0; i
< swig_module
.size
; i
++) {
33117 if (swig_module
.types
[i
]->clientdata
) {
33118 equiv
= swig_module
.types
[i
]->cast
;
33120 if (!equiv
->converter
) {
33121 if (equiv
->type
&& !equiv
->type
->clientdata
)
33122 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33124 equiv
= equiv
->next
;
33144 /* Python-specific SWIG API */
33145 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33146 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33147 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33149 /* -----------------------------------------------------------------------------
33150 * global variable support code.
33151 * ----------------------------------------------------------------------------- */
33153 typedef struct swig_globalvar
{
33154 char *name
; /* Name of global variable */
33155 PyObject
*(*get_attr
)(void); /* Return the current value */
33156 int (*set_attr
)(PyObject
*); /* Set the value */
33157 struct swig_globalvar
*next
;
33160 typedef struct swig_varlinkobject
{
33162 swig_globalvar
*vars
;
33163 } swig_varlinkobject
;
33165 SWIGINTERN PyObject
*
33166 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33167 return PyString_FromString("<Swig global variables>");
33170 SWIGINTERN PyObject
*
33171 swig_varlink_str(swig_varlinkobject
*v
) {
33172 PyObject
*str
= PyString_FromString("(");
33173 swig_globalvar
*var
;
33174 for (var
= v
->vars
; var
; var
=var
->next
) {
33175 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33176 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33178 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33183 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33184 PyObject
*str
= swig_varlink_str(v
);
33185 fprintf(fp
,"Swig global variables ");
33186 fprintf(fp
,"%s\n", PyString_AsString(str
));
33192 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33193 swig_globalvar
*var
= v
->vars
;
33195 swig_globalvar
*n
= var
->next
;
33202 SWIGINTERN PyObject
*
33203 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33204 PyObject
*res
= NULL
;
33205 swig_globalvar
*var
= v
->vars
;
33207 if (strcmp(var
->name
,n
) == 0) {
33208 res
= (*var
->get_attr
)();
33213 if (res
== NULL
&& !PyErr_Occurred()) {
33214 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33220 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33222 swig_globalvar
*var
= v
->vars
;
33224 if (strcmp(var
->name
,n
) == 0) {
33225 res
= (*var
->set_attr
)(p
);
33230 if (res
== 1 && !PyErr_Occurred()) {
33231 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33236 SWIGINTERN PyTypeObject
*
33237 swig_varlink_type(void) {
33238 static char varlink__doc__
[] = "Swig var link object";
33239 static PyTypeObject varlink_type
;
33240 static int type_init
= 0;
33242 const PyTypeObject tmp
33244 PyObject_HEAD_INIT(NULL
)
33245 0, /* Number of items in variable part (ob_size) */
33246 (char *)"swigvarlink", /* Type name (tp_name) */
33247 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33248 0, /* Itemsize (tp_itemsize) */
33249 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33250 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33251 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33252 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33253 0, /* tp_compare */
33254 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33255 0, /* tp_as_number */
33256 0, /* tp_as_sequence */
33257 0, /* tp_as_mapping */
33260 (reprfunc
)swig_varlink_str
, /* tp_str */
33261 0, /* tp_getattro */
33262 0, /* tp_setattro */
33263 0, /* tp_as_buffer */
33265 varlink__doc__
, /* tp_doc */
33266 0, /* tp_traverse */
33268 0, /* tp_richcompare */
33269 0, /* tp_weaklistoffset */
33270 #if PY_VERSION_HEX >= 0x02020000
33271 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33273 #if PY_VERSION_HEX >= 0x02030000
33276 #ifdef COUNT_ALLOCS
33277 0,0,0,0 /* tp_alloc -> tp_next */
33280 varlink_type
= tmp
;
33281 varlink_type
.ob_type
= &PyType_Type
;
33284 return &varlink_type
;
33287 /* Create a variable linking object for use later */
33288 SWIGINTERN PyObject
*
33289 SWIG_Python_newvarlink(void) {
33290 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33294 return ((PyObject
*) result
);
33298 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33299 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33300 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33302 size_t size
= strlen(name
)+1;
33303 gv
->name
= (char *)malloc(size
);
33305 strncpy(gv
->name
,name
,size
);
33306 gv
->get_attr
= get_attr
;
33307 gv
->set_attr
= set_attr
;
33308 gv
->next
= v
->vars
;
33314 SWIGINTERN PyObject
*
33316 static PyObject
*_SWIG_globals
= 0;
33317 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33318 return _SWIG_globals
;
33321 /* -----------------------------------------------------------------------------
33322 * constants/methods manipulation
33323 * ----------------------------------------------------------------------------- */
33325 /* Install Constants */
33327 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33330 for (i
= 0; constants
[i
].type
; ++i
) {
33331 switch(constants
[i
].type
) {
33332 case SWIG_PY_POINTER
:
33333 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33335 case SWIG_PY_BINARY
:
33336 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33343 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33349 /* -----------------------------------------------------------------------------*/
33350 /* Fix SwigMethods to carry the callback ptrs when needed */
33351 /* -----------------------------------------------------------------------------*/
33354 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33355 swig_const_info
*const_table
,
33356 swig_type_info
**types
,
33357 swig_type_info
**types_initial
) {
33359 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33360 const char *c
= methods
[i
].ml_doc
;
33361 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33363 swig_const_info
*ci
= 0;
33364 const char *name
= c
+ 10;
33365 for (j
= 0; const_table
[j
].type
; ++j
) {
33366 if (strncmp(const_table
[j
].name
, name
,
33367 strlen(const_table
[j
].name
)) == 0) {
33368 ci
= &(const_table
[j
]);
33373 size_t shift
= (ci
->ptype
) - types
;
33374 swig_type_info
*ty
= types_initial
[shift
];
33375 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33376 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33377 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33380 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33382 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33384 strncpy(buff
, "swig_ptr: ", 10);
33386 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33387 methods
[i
].ml_doc
= ndoc
;
33399 /* -----------------------------------------------------------------------------*
33400 * Partial Init method
33401 * -----------------------------------------------------------------------------*/
33406 SWIGEXPORT
void SWIG_init(void) {
33409 /* Fix SwigMethods to carry the callback ptrs when needed */
33410 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33412 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33413 d
= PyModule_GetDict(m
);
33415 SWIG_InitializeModule(0);
33416 SWIG_InstallConstants(d
,swig_const_table
);
33419 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
33420 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
33421 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
33422 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
33423 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
33424 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
33425 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
33426 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
33427 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33428 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33429 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33430 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33431 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33432 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33433 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33434 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33435 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33436 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33437 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33438 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33439 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33440 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33441 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33442 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33443 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33444 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33445 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33446 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33447 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33448 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33449 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33450 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33451 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33452 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33453 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33454 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33455 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33456 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33457 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33458 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33459 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33460 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33461 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33462 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33463 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33464 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33465 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33466 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33467 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33468 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33469 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33470 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33471 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33472 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33473 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33474 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33475 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33476 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33477 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33478 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33479 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33480 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33481 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33482 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33483 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33484 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33485 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33486 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33487 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33488 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33489 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33490 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33491 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33492 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33493 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33494 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33495 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33496 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33497 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33498 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33499 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33500 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33501 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33502 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33503 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33504 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33505 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33506 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33507 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33508 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33509 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33510 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33511 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33512 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33513 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33514 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33515 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33516 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33517 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33518 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33519 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33520 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33521 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33522 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33523 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33524 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33525 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33526 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33527 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33528 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33529 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33530 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33531 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33532 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33533 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33534 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33535 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33536 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33537 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33538 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33539 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33540 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33541 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33542 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33543 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33544 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33545 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33546 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33547 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33548 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33549 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33550 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33552 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33554 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33555 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33556 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33557 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33558 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33559 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33560 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33561 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33562 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33563 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33564 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33565 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33566 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33567 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33568 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33569 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33570 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33571 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33572 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33573 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33574 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33575 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33576 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33577 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33578 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33579 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33580 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33581 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33582 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33583 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33584 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33585 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33586 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33587 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33588 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33589 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33590 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33591 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33592 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33593 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33594 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33595 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33596 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33597 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33598 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33599 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33600 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33601 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33602 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33603 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33604 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33605 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33606 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33607 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33608 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33609 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33610 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33611 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33612 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33613 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33614 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33615 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33616 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33617 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33618 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33619 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33620 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33621 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33622 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33623 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33624 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33625 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33626 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33627 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33628 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33629 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33630 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33631 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33632 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33633 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33634 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33635 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33636 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33637 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33638 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33639 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33640 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33641 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33642 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33643 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33644 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33645 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33646 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33647 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33648 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33649 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33650 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33651 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33652 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33653 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33654 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33655 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33656 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33657 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33658 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33659 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33660 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33661 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33662 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33663 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33664 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33665 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33666 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33667 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33668 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33669 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33670 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33671 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33672 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33673 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33674 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33675 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33676 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33677 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33678 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33679 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33680 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33681 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33682 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33683 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33684 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33685 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33686 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33687 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33688 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33689 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33690 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33691 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33692 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33693 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33694 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33695 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33696 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33697 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33698 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33699 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33700 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33701 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33702 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33703 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33704 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33705 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33706 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33707 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33708 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33709 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33710 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33711 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33712 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33713 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33714 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33715 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33716 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33717 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33718 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33719 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33720 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33721 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33722 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33723 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33724 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33725 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33726 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33727 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33728 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33729 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33730 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33731 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33732 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33733 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33734 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33735 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33736 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33737 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33738 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33739 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33740 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33741 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33742 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33743 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33744 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33745 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33746 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33747 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33748 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33749 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33750 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33751 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33752 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33753 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33754 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33755 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33756 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33757 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33758 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33759 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33760 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33761 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33762 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33763 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33764 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33765 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33766 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33767 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33768 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33769 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33770 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33771 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33772 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33773 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33774 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33775 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33776 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33777 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33778 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33779 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33780 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33781 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33782 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33783 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
33784 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
33785 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
33786 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
33787 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
33788 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
33789 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
33790 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
33791 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
33792 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
33793 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
33794 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
33795 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
33796 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
33797 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
33798 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
33799 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
33800 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
33801 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
33802 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
33803 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
33804 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
33805 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
33806 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
33807 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
33808 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
33809 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
33810 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
33811 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
33812 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
33813 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
33814 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
33815 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
33816 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
33817 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
33818 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
33819 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
33820 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
33821 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
33822 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
33823 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
33824 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
33825 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
33826 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
33827 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
33828 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
33829 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
33830 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
33831 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
33832 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
33833 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
33834 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
33835 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
33836 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
33837 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
33838 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
33839 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
33840 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
33841 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
33842 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
33843 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
33844 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33845 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
33846 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
33847 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
33848 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
33849 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
33850 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
33851 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
33852 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
33853 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
33854 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
33855 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
33856 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
33857 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
33858 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
33859 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
33860 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
33861 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
33862 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
33863 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
33864 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
33865 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
33866 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
33867 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
33868 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
33869 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
33870 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
33871 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
33872 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
33874 // Work around a chicken/egg problem in drawlist.cpp
33875 wxPyDrawList_SetAPIPtr();